What it is
A one-stop reference for the formulas in the dojo
Covers
Descriptive statistics through DOE
Includes
Control chart constants, critical values, and tail areas
Each formula links to
The page with the worked example
Print
Use the browser Print command
Excel
Function names are listed beside the formulas
Minitab
Menu paths are on each topic page
Why it matters
Know which formula answers which question

How to Use This Sheet

Every formula used in Stat Dojo is here, grouped by topic, with a link to the page that explains it and works an example. Symbols: x̄ sample mean, s sample standard deviation, μ and σ population mean and standard deviation, n sample size, p̂ sample proportion, α significance level, df degrees of freedom.

Printing. Use your browser’s Print command. The sheet is laid out to print on a few pages, and the page’s tables keep their rows together.

Describing Data

QuantityFormulaNotesPage
Meanx̄ = Σx / nExcel AVERAGEDescriptive
MedianMiddle value of the sorted dataAverage of the two middle values when n is evenDescriptive
Sample variances² = Σ(x − x̄)² / (n − 1)Excel VAR.SDescriptive
Sample standard deviations = √s²Excel STDEV.SDescriptive
Range, IQRR = max − min; IQR = Q3 − Q1Excel QUARTILE.EXC matches MinitabDescriptive
Coefficient of variationCV = s / x̄ × 100%Ratio-scale data onlyDescriptive
z scorez = (x − μ) / σStandard deviations from the meanDistributions
Standard error of the meanSE = s / √nShrinks with the square root of nSampling and CLT
Histogram bins (Sturges)k = 1 + log2(n)A starting pointGraphical Analysis
Outlier fences (box plot)Q1 − 1.5 IQR and Q3 + 1.5 IQRGraphical Analysis

Distributions

DistributionProbabilityMean and standard deviationExcel
Normalz = (x − μ) / σ; look up the areaμ, σNORM.DIST, NORM.INV
BinomialP(k) = C(n, k) pk (1 − p)n−knp; √(np(1 − p))BINOM.DIST
PoissonP(k) = e−λ λk / k!λ; √λPOISSON.DIST
WeibullR(t) = exp[−(t/η)β]Mean = η Γ(1 + 1/β)WEIBULL.DIST
Yield from defects per unitYield = e−DPUEXP

Pages: Distributions, Reliability and Weibull.

Confidence Intervals and Sample Size

IntervalFormulaPage
Mean (unknown σ)x̄ ± tα/2, n−1 s / √nConfidence Intervals
Proportion (Wald)p̂ ± zα/2 √(p̂(1 − p̂)/n); prefer the Wilson or exact interval for small countsConfidence Intervals
Standard deviations √((n − 1)/χ²upper) to s √((n − 1)/χ²lower)Confidence Intervals
Difference of two means (Welch)(x̄1 − x̄2) ± t √(s1²/n1 + s2²/n2)t-Tests
Sample size for a meann = (zα/2 σ / E)² for margin ESample Size and Power
Sample size for a proportionn = z² p(1 − p) / E²; use p = 0.5 if unknownSample Size and Power
Sample size for a two-sample t-testn per group ≈ 2 (zα/2 + zβ)² σ² / δ²Sample Size and Power

Hypothesis Tests

TestStatisticDistributionPage
One-sample tt = (x̄ − μ0) / (s / √n)t, n − 1 dft-Tests
Two-sample t (Welch)t = (x̄1 − x̄2) / √(s1²/n1 + s2²/n2)t, Welch dft-Tests
Paired tt = d̄ / (sd / √n) on the differencest, n − 1 dft-Tests
One proportionz = (p̂ − p0) / √(p0(1 − p0)/n)Normal; use the exact test for small countsTests for Proportions
Two proportionsz = (p̂1 − p̂2) / √(p̂(1 − p̂)(1/n1 + 1/n2)), pooled p̂Normal; Fisher exact for small countsTests for Proportions
Two variances (F)F = s1² / s2²F, n1 − 1 and n2 − 1 dfTests for Variances
One varianceχ² = (n − 1) s² / σ0²Chi-square, n − 1 dfTests for Variances
Levene (Brown-Forsythe)ANOVA on |x − group median|FTests for Variances
Chi-square associationχ² = Σ(O − E)²/E; E = row total × column total / grand totalChi-square, (r − 1)(c − 1) dfChi-Square Tests
Goodness of fitχ² = Σ(O − E)²/EChi-square, categories − 1 − fitted parametersChi-Square Tests
Mann-Whitney, Wilcoxon, Kruskal-WallisBased on ranksNormal approximation or exact tablesNonparametric Tests
Anderson-Darling normalityA² measures distance between the data and the normal cumulative curveCompare to the critical value or p-valueNormality Tests
DecisionRulePage
p-valueReject H0 if p < α; p is the chance of a result this extreme if H0 is trueP-Values and Error Types
Type I errorReject a true H0; probability = αP-Values and Error Types
Type II errorFail to reject a false H0; probability = β; power = 1 − βP-Values and Error Types

ANOVA

QuantityFormulaPage
Between-group sum of squaresSSB = Σni(x̄i − x̄̄)², df = k − 1One-Way ANOVA
Within-group sum of squaresSSW = Σ(x − x̄i)², df = N − kOne-Way ANOVA
F statisticF = MSB / MSW = (SSB/(k − 1)) / (SSW/(N − k))One-Way ANOVA
R²SSB / SStotalOne-Way ANOVA
Tukey comparison|x̄i − x̄j| > (q / √2) √(MSW(1/ni + 1/nj))Post-Hoc Comparisons
Two-way ANOVASeparate sums of squares for A, B, A × B, and errorTwo-Way ANOVA

Correlation and Regression

QuantityFormulaPage
Correlationr = Σ(x − x̄)(y − ȳ) / √(Σ(x − x̄)² Σ(y − ȳ)²)Correlation
Test of rt = r √(n − 2) / √(1 − r²), n − 2 dfCorrelation
Slopeb1 = Σ(x − x̄)(y − ȳ) / Σ(x − x̄)²Simple Regression
Interceptb0 = ȳ − b1x̄Simple Regression
R²1 − SSerror / SStotalSimple Regression
Adjusted R²1 − [SSerror/(n − p − 1)] / [SStotal/(n − 1)]Multiple Regression
Residual standard errors = √(SSerror / (n − p − 1))Simple Regression
Variance inflation factorVIF = 1 / (1 − Rj²)Multiple Regression
Confidence interval for the mean responseŷ ± t s √(1/n + (x0 − x̄)²/Sxx)Simple Regression
Prediction interval for one valueŷ ± t s √(1 + 1/n + (x0 − x̄)²/Sxx)Simple Regression

Control Charts, Capability, Reliability, and DOE

QuantityFormulaPage
Individuals chartx̄ ± 2.660 M̄R; MR upper limit 3.267 M̄RControl Chart Theory
X-bar chartx̄̄ ± A2 R̄Control Chart Theory
R chartD3 R̄ to D4 R̄Control Chart Theory
Sigma from rangesσ̂ = R̄ / d2; from moving ranges, M̄R / 1.128Control Chart Theory
Average run length (in control)ARL0 = 1 / (2 P(Z > 3)) = 370Control Chart Theory
Cp, CpkCp = (USL − LSL)/(6σwithin); Cpk = min(CPU, CPL), CPU = (USL − μ)/(3σ)Capability Statistics
Pp, PpkThe same with the overall standard deviationCapability Statistics
Z benchZ = Φ−1(1 − total proportion out of spec)Capability Statistics
Weibull B10 lifeη (−ln 0.9)1/βReliability and Weibull
Factorial effectMean at +1 − mean at −1; coded coefficient = effect / 2Analyzing Designed Experiments
Factorial sum of squaresN × effect² / 4Analyzing Designed Experiments
Standard error of an effect2s / √NAnalyzing Designed Experiments

Constants and Critical Values

Control chart constants (computed from the distribution of the range of normal samples):

Subgroup nd2A2D3D4
21.1281.8800.0003.266
31.6931.0230.0002.575
42.0590.7290.0002.282
52.3260.5770.0002.114
62.5340.4830.0002.004
72.7040.4190.0761.924
82.8470.3730.1361.864
92.9700.3370.1841.816
103.0780.3080.2231.777

Normal and t critical values for two-sided intervals:

Confidencezt (df = 5)t (df = 10)t (df = 20)t (df = 30)
90%1.6452.0151.8121.7251.697
95%1.9602.5712.2282.0862.042
99%2.5764.0323.1692.8452.750
99.9%3.2916.8694.5873.8503.646

Tail areas beyond k standard deviations (normal):

kOne-sidedTwo-sidedTwo-sided per million
10.1586550.317311317,310.5
1.6450.0499850.09997099,969.8
1.960.0249980.04999649,995.8
20.0227500.04550045,500.3
2.5760.0049980.0099959,995.1
30.0013500.0027002,699.8
40.0000320.00006363.3
4.50.0000030.0000076.8
50.0000000.0000010.6
60.0000000.0000000.0

Sigma levels and defects per million (long-term, with the conventional 1.5 sigma shift): 3 sigma = 66,807 ppm; 4 sigma = 6,210 ppm; 5 sigma = 233 ppm; 6 sigma = 3.4 ppm.

Statistics Formula Sheet: Frequently Asked Questions

Is this formula sheet printable?

Yes. Use your browser’s Print command. The tables are laid out to print on a few pages.

Do I need to memorize these?

No. Software does the arithmetic. What matters is knowing which formula answers which question and what each part means. Use this sheet to look things up.

Where do the control chart constants come from?

They are derived from the distribution of the range of samples from a normal distribution. The Control Chart Theory page shows the derivation and the table is computed numerically.

Which formulas does Minitab use?

For the methods covered here Minitab uses the same standard formulas. Where options differ, for example quartile definitions or capability intervals, the topic page says so.

Sources and Further Reading

  • NIST/SEMATECH, e-Handbook of Statistical Methods (itl.nist.gov/div898/handbook).
  • Douglas C. Montgomery, Introduction to Statistical Quality Control and Design and Analysis of Experiments, Wiley.
  • David S. Moore, George P. McCabe, and Bruce A. Craig, Introduction to the Practice of Statistics, Freeman.
  • Minitab Support, “Methods and formulas” (support.minitab.com).

This content is educational. Worked examples use made-up data. Menu names for Minitab follow recent versions of Minitab Statistical Software and can differ slightly in older releases; Excel steps use Microsoft 365 and the Analysis ToolPak.