API Reference¶
Independence¶
|
Maximal Margin test statistic and p-value. |
|
Kernel Mean Embedding Random Forest (KMERF) test statistic and p-value. |
|
Multiscale Graph Correlation (MGC) test statistic and p-value. |
|
Distance Correlation (Dcorr) test statistic and p-value. |
|
Hilbert Schmidt Independence Criterion (Hsic) test statistic and p-value. |
|
Heller Heller Gorfine (HHG) test statistic and p-value. |
|
Cannonical Correlation Analysis (CCA) test statistic and p-value. |
|
Rank Value (RV) test statistic and p-value. |
D-Variate¶
|
\(d\)-variate Hilbert Schmidt Independence Criterion (dHsic) test statistic and p-value. |
K-Sample¶
|
Nonparametric K-Sample Testing test statistic and p-value. |
|
Energy test statistic and p-value. |
|
Maximum Mean Discrepency (MMD) test statistic and p-value. |
|
Distance Components (DISCO) test statistic and p-value. |
|
Multivariate analysis of variance (MANOVA) test statistic and p-value. |
Hotelling \(T^2\) test statistic and p-value. |
|
|
Smooth Characteristic Function test statistic and p-value |
|
Mean Embedding test statistic and p-value. |
|
Friedman-Rafksy (FR) test statistic and p-value. |
|
HHG 2-Sample test statistic. |
Time-Series¶
|
Cross Multiscale Graph Correlation (MGCX) test statistic and p-value. |
|
Cross Distance Correlation (DcorrX) test statistic and p-value. |
|
Ljung-Box for Cross Correlation (CorrX) test statistic and p-value. |
Discriminability¶
|
One Sample Discriminability test statistic and p-value. |
|
Two Sample Discriminability test statistic and p-value. |
Conditional Independence¶
|
Conditional Distance Covariance/Correlation (CDcov/CDcorr) test statistic and p-value. |
|
Partial Distance Covariance/Correlation (PDcov/PDcorr) test statistic and p-value. |
|
Conditional Pearson's correlation test. |
|
Fast Conditional Independence test statistic and p-value |
|
Kernel Conditional Independence Test Statistic and P-Value. |
Kernel Goodness-of-Fit¶
|
Goodness-of-fit test using The Finite Set Stein Discrepancy statistic. |
Simulations¶
Independence Simulations¶
|
Linear simulation. |
|
Exponential simulation. |
|
Cubic simulation. |
|
Joint Normal simulation. |
|
Step simulation. |
|
Quadratic simulation. |
|
W-Shaped simulation. |
|
Spiral simulation. |
|
Uncorrelated Bernoulli simulation. |
|
Logarithmic simulation. |
|
Fourth Root simulation. |
|
Sine 4\(\pi\) simulation. |
|
Sine 16\(\pi\) simulation. |
|
Square simulation. |
|
Two Parabolas simulation. |
|
Circle simulation. |
|
Ellipse simulation. |
|
Diamond simulation. |
|
Multiplicative Noise simulation. |
|
Multimodal Independence data. |
|
Independence simulation generator. |
K-Sample Simulations¶
|
Rotates input simulations to produce a k-sample simulation. |
|
Generates 3 sample of gaussians corresponding to 5 cases. |
Conditional Independence Simulations¶
|
Independent standard normal distributions. |
|
Independent lognormal and normal distributions. |
|
Independent binomial distributions. |
|
Conditionally independent normal distributions. |
|
Conditionally independent lognormal and normal distributions. |
|
Conditionally independent normal distributions. |
|
Conditionally independent binomial distributions. |
|
Conditionally dependent binomial distributions. |
|
Conditionally dependent normal distributions. |
|
Conditionally dependent normal distributions with nonlinear dependence. |
|
Example 5 from [#szekelyPartialDistanceCorrelation2014a]_ \((X, Y, Z) \in \mathbb{R} \times \mathbb{R} \times \mathbb{R}\): |
|
Conditionally dependent t-distributed data with linear dependence. |
|
Conditionally dependent t-distributed data with quadratic dependence. |
|
Conditionally dependent t-distributed data with nonlinear dependence. |
|
Conditional independence simulation generator. |
Time-Series Simulations¶
|
2 independent, stationary, autoregressive time series simulation. |
|
2 linearly dependent time series simulation. |
|
2 nonlinearly dependent time series simulation. |
|
Time-series simulation generator. |
Miscellaneous¶
|
Computes the similarity matrix from a random forest. |
|
Computes a k-sample transform of the inputs. |
|
Kernel similarity matrices for the inputs. |
|
Kernel similarity matrices for the input matrices. |
|
Distance matrices for the inputs. |
|
Permutation test for the p-value of a nonparametric test. |
|
Permutation test for the p-value of a nonparametric test with multiple variables. |
|
Fast chi-squared approximation for the p-value. |
|
Computes empircal power for hypothesis tests |
|
Calculates the Smooth CF test statistic using the vector of differences. |
Calculates the Mean Embedding test statistic using the vector of differences. |
Base Classes¶
A base class for an independence test. |
|
|
A base class for a \(d\)-variate independence test. |
|
A base class for a k-sample test. |
A base class for a time-series test. |
|
A base class for a discriminability test. |
|
|
A base class for a discriminability test. |