stats
¶
Assorted statistical functions.
Descriptive statistics
|
Box-Cox transformation of x. |
|
Box-Cox transformation of 1 + x. |
|
Log-likelihood for maximum likelihood estimation of the Box-Cox parameters. |
|
Maximum likelihood estimate of lambda in the Box-Cox transformation. |
|
Geometric mean of the values in the sequence x. |
|
Harmonic mean of the values in the sequence x. |
|
Inverse with respect to x of boxcox(x, lmbda). |
|
Inverse with respect to x of boxcox1p(x, lmbda). |
|
Inverse Yeo-Johnson transformation. |
|
Mean of the values in the sequence x. |
|
Power (or generalized) mean of the values in the sequence x. |
|
Standard deviation of the values in the sequence x. |
Unique values and their counts in the sequence x. |
|
|
Variance of the values in the sequence x. |
|
The variation of x. |
|
Yeo-Johnson transformation of x. |
|
The log-likelihood function for the Yeo-Johnson transformation. |
|
Compute the maximum likelihood estimate of the Yeo-Johnson parameter. |
Statistical tests
|
One-way analysis of variance (ANOVA) test. |
|
Pearson's chi-square test. |
|
Compute Fisher's exact test on the 2x2 table. |
|
G-test (likelihood-ratio test, maximum likelihood test). |
|
Compute the odds ratio for a 2x2 contingency table. |
|
Pearson's correlation coefficient. |
|
Confidence interval of Pearson's correlation coefficient. |