Statistics Kingdom

Statistics Online

Statistical tests, charts, probabilities and clear results. Automatically checks assumptions, interprets results and outputs graphs, histograms and other charts. The calculators support not only the test statistic and the p-value, but more results like effect size, test power, and the normality level. If one of the validations fails, the tool recommends a solution.

Checks assumptions Step-by-step results R code included ▶ Video tutorial
What statistical test should you use? Answer a few short questions and the decision questionnaire will point you to the right test. Choose a statistical test

Test statistic calculators 26 tests

TestAssumptionsRequired sample data
#Test nameCheckStatisticIndσσ1=σ2dμ0/p0x/p̂nS
1One Sample Z-TestMeanz=x¯-μ0σ/n✔✔✔✔✔✔
2One Sample T-TestMeant=x¯-μ0S/n✔✔✘✔✔✔✔
3Two Sample Z-TestMeanz=x1-x2-dσ2n1+σ2n2✔✔✔✔✔✔
4Two Sample T-Test (Pooled variance)Meant=x¯1-x¯2-ds1n1+1n2✔✔✘✔✔✔✔✔
5Two Sample T-Test (Welch's)Meant=x¯1-x¯2-ds12n1+s22n2✔✔✘✘✔✔✔✔
6Two Sample Mann-Whitney U TestRankz=U-μ+cσ✔✔✔
7Paired T-TestMeant=x¯d-μ0Sd/n✔Paired✔
8Paired Wilcoxon Sign Rank TestRankz=W-μ+cσPaired✔
9One Way ANOVA TestMeanF=MSBetweenMSWithin✔✔✔✔
10Repeated Measures ANOVA TestMeanF=MSBetweenMSWithin✔Dependent
groups
Sphericity✔
11Friedman TestRankχ²(df)=12∑j=1kRj2-3n2k(k+1)2nk(k+1)-CtiesDependent
groups
✔
12Kruskal-Wallis TestRankH=12n(n+1)∑j=1kRj2nj-3(n+1)✔✔
13Two Way ANOVA Test
Fixed model, Mixed model, Random mode, Mixed model with repeats
MeanF=MSBetweenMSWithin✔✔✔✔
14One Way MANOVA TestMeanF=Vs-V.df2df1✔✔✔✔
15One Sample Proportion TestProportionz=(p^-p0)+cp0(1-p0)norX~B(n,p0)Binomial✔✔✔✔
16Two Sample Proportion TestProportionz=p^1-p^2+Contp^(1-p^)(1n1+1n2)Binomial✔✔✔
17Chi-Squared Test For Varianceσχ2=(n-1)S2σ02✔✔✔✔
18F Test For VariancesσF=S12S22✔✔✔✔
19Levene's Test For VariancesσF=MSBetweenMSWithin✘✔✔
20Chi-Squared Test For Goodness Of Fit
McNemar test, Chi-squared test for association, Fisher test, Binomial test
Fitχ2=∑i=1n(oi-ei)2ei✔✔
21Shapiro-Wilk TestFitW=(∑i=1⌊n/2⌋ai(xn+1-i-xi))2∑i=1n(xi-x¯)2✔✔✔
22Kolmogorov Smirnov TestFitD = Max1≤i≤n(Di+,Di-)✔✔
23Two-Sample Kolmogorov Smirnov TestFitD = Max1≤i≤n(Di+,Di-)✔✔
24Kaplan Meier Survival AnalysisSurvivalχ2=∑i=1n(oi-ei)2ei✔✔
25DeLong test - Independent curves
Compares the AUCs of two independent ROC curves
AUCD=AUC1-AUC2Var1+Var1✔✔
26DeLong test - Paired curves
Compares the AUCs of two dependent ROC curves
AUCZ=AUC1-AUC2Var₁+Var₂-2*Cov(AUC₁,AUC₂)Paired✔
** ✔ - Yes, ✘ - No, empty - irrelevant

Regression calculators 6 calculators

RegressionStatistic
Simple Linear RegressionF=MSRegressionMSError
Multiple Linear RegressionF=MSRegressionMSError
Binary Logistic Regressionχ² = 2(LL1−LL0)
Multinomial Logistic Regressionχ² = 2(LL1−LL0)
Propensity Score MatchingSMD=x¯1-x¯2spooled
Neural Network Calculatorfeed-forward · RNN · LSTM · GRU

Confidence interval, Sample size, Effect Size 4 calculators

CalculatorNotes
Sample size calculatorsplan the study — n for means, proportions and more
Test power calculators1−β — the probability to detect a real effect
Effect size calculatorsCohen's d, η², f²
Confidence intervals calculatorsmean, means difference, σ, proportion, correlation

Distribution calculators 10 calculators

DistributionNotes
P-valuetest statistic ⇄ p-value, for every common distribution
Distributionsprobabilities, quantiles and charts for all distributions
Normal Distributionz, probabilities and quantiles
Binomial Distributionexact and cumulative probabilities, B(n, p)
T Distribution (Student's)heavier tails than the normal
Chi-Squared Distributionχ²(df)
F Distribution (Fisher-Snedecor)ratio of variances
Poisson Distributionevent counts, λ
Weibull Distributionlifetimes and reliability
Exponential Distributiontime between events

Statistical tables 2 tables

Basic statistics calculators 23 calculators

Each statistics calculator contains a step by step calculation.

CalculatorStatistic calculatorStatistic
Statistics calculatorComputes statistics such as count, average and standard deviation for each combination of the categorical variables.
Descriptive statistics calculatorComputes statistics such as count, average, and standard deviation for each variable.
Percentile calculatorA percentile tells you the percentage of values below a given value in a data set.
Mean Median Mode calculatorQ1, Q3, IQR, Range
Measures Of Dispersion calculatorRange, IQR, variance, standard deviation and more.
Standard Deviation calculatorSample and population, APA style.S=∑i=1n(xi-x̄)2n-1
Variance calculatorVariance, Mean, SEM, MADS2=∑i=1n(xi-x̄)2n-1
Coefficient of Variation calculatorRelative variability — the standard deviation divided by the mean.CV=sx¯
Average calculatorAverage, Sum, Countx¯=x1+⋯+xnn
Sample Mean calculatorSample mean, Sum, Countx¯=x1+x2+⋯+xnn
Geometric Mean calculatorProduct, n-th rootGM=x1x2…xnn
Harmonic Mean calculatorAn average for rates (e.g. average speed) — n divided by the sum of the reciprocals.Hn=n1x1+⋯+1xn
Probability calculatorProbability formula, Dependent events, Bayes' Theorem, Independent eventsP(A), P(A|B), P(A∩B), P(A∪B)
Combinations calculatorWith/Without RepetitionsCrn=n!r!(n−r)!
Permutation calculatorWith/Without RepetitionsPrn=n!(n−r)!
Correlation calculatorPearson correlation, Spearman's rank correlationr, ρ (rho)
OutliersTukey's Fences (Boxplot), Z-Score
Markov chain calculatornth step probability vector, steady-state vector
Odds calculatorOdds to probability, probability to odds
Betting odds calculatorFractional odds, decimal odds, American odds
Mean absolute deviation calculatorAverage absolute distance from the mean.|xi − μ|
Median absolute deviation calculatorMedian absolute distance from the median — robust to outliers.|xi − Mdn|
Skewness and kurtosis calculatorMeasures the asymmetry (skewness) and tail weight (kurtosis) of a distribution.

Visualization 18 makers

Guide

Goal

The goal of this website is to make statistics accessible to anyone, converting complex statistical jargon into common everyday language.
We help everybody to calculate statistics.
The calculators also provide R codes for your convenience.
We started adding a step-by-step work-through for education purposes, an easy guide on how to calculate test statistics.

Terms

We put in a lot of effort to provide accurate results and we automatically test every new page, The older pages were tested manually, but we slowly also automate the old pages.
We usually compare the results to the R results.
The information and tools on this website are given AS IS WITHOUT ANY WARRANTY OF ANY KIND.

Calculate statistics

The best online calculator to calculate statistics.