Functions#
ANOVA and T-test#
|
One-way and N-way ANOVA. |
|
ANCOVA with one or more covariate(s). |
|
One-way and two-way repeated measures ANOVA. |
|
Epsilon adjustement factor for repeated measures. |
|
Mixed-design (split-plot) ANOVA. |
|
One-way Welch ANOVA. |
|
Two One-Sided Test (TOST) for equivalence. |
|
T-test. |
|
Pairwise T-test between columns of a dataframe. |
Bayesian#
|
Bayes factor of a binomial test with \(k\) successes, \(n\) trials and base probability \(p\). |
|
Bayes Factor of a T-test. |
|
Bayes Factor of a Pearson correlation. |
Circular#
|
Element-wise conversion of arbitrary-unit circular quantities to radians. |
|
Transforms n-axial data to a common scale. |
|
Correlation coefficient between two circular variables. |
|
Correlation coefficient between one circular and one linear variable random variables. |
|
Mean direction for (binned) circular data. |
|
Mean resultant vector length for circular data. |
|
Rayleigh test for non-uniformity of circular data. |
|
V test for non-uniformity of circular data with a specified mean direction. |
Contingency#
|
Chi-squared independence tests between two categorical variables. |
|
Performs the exact and approximated versions of McNemar's test. |
|
Generates a 2x2 contingency table from a |
Correlation and regression#
|
(Robust) correlation between two variables. |
|
Pairwise (partial) correlations between columns of a pandas dataframe. |
|
Partial and semi-partial correlation. |
|
Partial correlation matrix ( |
|
Correlation matrix of a dataframe with p-values and/or sample size on the upper triangle ( |
|
Distance correlation between two arrays. |
|
Repeated measures correlation. |
|
(Multiple) Linear regression. |
|
(Multiple) Binary logistic regression. |
|
Mediation analysis using a bias-correct non-parametric bootstrap method. |
Distribution#
|
Anderson-Darling test of distribution. |
|
Geometric standard (Z) score. |
|
Test equality of variance. |
|
Univariate normality test. |
|
Mauchly and JNS test for sphericity. |
Effect sizes#
|
Calculate effect size between two set of observations. |
|
Compute effect size from a T-value. |
|
Conversion between effect sizes. |
|
Parametric confidence intervals around a Cohen d or a correlation coefficient. |
|
Bootstrapped confidence intervals of univariate and bivariate functions. |
Multiple comparisons and post-hoc tests#
|
Pairwise (partial) correlations between columns of a pandas dataframe. |
|
Pairwise tests. |
|
Pairwise Tukey-HSD post-hoc test. |
|
Pairwise Games-Howell post-hoc test. |
|
Pairwise T-test between columns of a dataframe. |
|
P-values correction for multiple comparisons. |
Multivariate tests#
|
Test equality of covariance matrices using the Box's M test. |
|
Henze-Zirkler multivariate normality test. |
|
Hotelling T-squared test (= multivariate T-test) |
Non-parametric#
|
Cochran Q test. |
|
Friedman test for repeated measurements. |
|
Kruskal-Wallis H-test for independent samples. |
|
Median Absolute Deviation (MAD) along given axis of an array. |
Robust outlier detection based on the MAD-median rule. |
|
|
Mann-Whitney U Test (= Wilcoxon rank-sum test). |
|
Wilcoxon signed-rank test. |
|
Harrell-Davis robust estimate of the \(q^{th}\) quantile(s) of the data. |
Others#
|
Pretty display of table. |
|
Remove missing values along a given axis in one or more (paired) numpy arrays. |
|
Read example datasets. |
List available example datasets. |
|
Reset Pingouin's default global options (e.g. rounding). |
Plotting#
|
Generate a Bland-Altman plot to compare two sets of measurements. |
|
Plot the circular mean and vector length of a set of angles on the unit circle. |
|
Paired plot. |
|
Shift plot. |
|
Plot a repeated measures correlation. |
|
Quantile-Quantile plot. |
Power analysis#
|
Evaluate power, sample size, effect size or significance level of a one-way balanced ANOVA. |
|
Evaluate power, sample size, effect size or significance level of a balanced one-way repeated measures ANOVA. |
|
Evaluate power, sample size, effect size or significance level of chi-squared tests. |
|
Evaluate power, sample size, correlation coefficient or significance level of a correlation test. |
|
Evaluate power, sample size, effect size or significance level of a one-sample T-test, a paired T-test or an independent two-samples T-test with equal sample sizes. |
|
Evaluate power, effect size or significance level of an independent two-samples T-test with unequal sample sizes. |
Reliability and consistency#
|
Cronbach's alpha reliability measure. |
|
Intraclass correlation. |