Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
A TypeScript library for math, statistics, and data analysis. Featured in psychological and educational research.
Bootstrap sampling
Bootstrap statistic
Bootstrap test (calculate the confidence interval of mean)
Chi-square distribution chi-square value to p value The probability is from chi-square value to the right tail
Centralize the array
Calculate the correlation coefficient of two arrays
Calculate the covariance of two arrays
F distribution f value to p value P value is the probability of f value to the right tail if twoside is false otherwise, it is the number above times 2
Calculate the kurtosis of numbers
Levene's test for homogeneity of variances
Calculate the maximum value of numbers
Calculate the mean of numbers
Calculate the median of numbers if the length of numbers is even, return the average of the two middle numbers
Calculate the minimum value of numbers
Calculate the mode of numbers If there are multiple modes, return 3 * median - 2 * mean
One-sample Kolmogorov-Smirnov test for Normal distribution
For small sample size, the p-value may not be accurate, please refer to rejected
and decide
for decision making
Chi-square distribution p value to chi-square value The probability is from chi-square value to the right tail
F distribution p value to f value P value is the probability of f value to the right tail if twoside is false otherwise, it is the number above times 2
Student's t-distribution p value to t value P value means the probability of the |t| to the right tail if twoside is false otherwise, P value means the probability of the -|t| to the left tail and |t| to the right tail
Convert p value to z value (the z value from the left tail to p)
Calculate the quantile of numbers (interpolation method)
Generate a random number from chi-square distribution
Generate a random number from a f distribution
Generate a random number from a normal distribution
Generate a random number from a t distribution
Calculate the range of numbers
Calculate the standard error of the mean (SEM) of numbers
Calculate the skewness of numbers
Sort numbers in ascending or descending order
Available sort algorithms
Calculate the sum of the product of two centered arrays (SP)
Calculate the sum of squares (SS) of numbers
Calculate the sum of squares of the array difference
Standardize the array
Calculate the standard deviation of numbers
Calculate the sum of two numbers
Student's t-distribution t value to p value P value is the probability of the |t| to the right tail if twoside is false otherwise, P value is the probability of the -|t| to the left tail and |t| to the right tail
Calculate the variance of numbers
Convert z value to p value (the probability from the left tail to z)