Chi-Square Goodness-of-Fit Test Explained (With Example)
The chi-square goodness-of-fit test compares observed counts with the counts you expect. See how it works, with a fully worked dice example.
Plain-English guides to sampling and survey statistics — Slovin's formula, sample size, margin of error and the ideas behind them. Every guide links to the free calculator it explains.
The chi-square goodness-of-fit test compares observed counts with the counts you expect. See how it works, with a fully worked dice example.
The chi-square test of independence, step by step: build a contingency table, work out expected frequencies, and check the result — with a worked 2x2 example.
Chi-square or t-test? It depends on your data: categories or measurements. Compare the two tests, see one example of each, and avoid the common mistake.
What does a 95% confidence level really mean? Learn the z-scores for 90%, 95% and 99% confidence, and how raising confidence increases your sample size.
Three dot plot examples — symmetric, skewed and one with an outlier — show how to read clusters, gaps and outliers, and what each shape says about the mean and median.
Dot plot vs histogram: both show how data is spread out, but they suit different data sets. Compare them side by side and learn which chart to use and when.
Calculate margin of error in five steps: pick a confidence level, find the z-score, plug in the numbers. Two worked examples, plus the mistakes to avoid.
Learn how to calculate standard deviation in five clear steps — mean, deviations, squares, average, square root — with a fully worked example you can check.
Learn how to make a dot plot step by step: sort your data, draw the number line, stack the dots, and read clusters, gaps and outliers in your finished plot.
Independent and paired t-tests both compare averages, but they suit different study designs. Learn the difference, see an example of each, and pick the right one.
A 10% margin of error means a result of 60% could really be anywhere from 50% to 70%. Learn what sample size it implies, when it is enough, and when it is not.
The margin of error formula is MoE = z x square root of (p(1-p)/n). Learn what z, p and n mean, work through two examples, and see the version for averages too.
Margin of error is the plus-or-minus number; the confidence interval is the range it creates. Learn how one builds the other, and when to report which.
A one-sample t-test checks one average against a known value. Learn the formula t = (x-bar minus mu) / (s / root n) with a fully worked example, step by step.
Learn what sample size means, which inputs a sample size calculator needs, and how to work out the right sample size for your survey with a worked example.
How many survey responses do you need? Practical sample size tables for common populations and margins of error, plus how to plan for response rates.
Cochran's sample size formula, explained step by step: what z, p and e mean, the finite population correction, and a worked example for 1,000 people.
Use Slovin's formula in Excel step by step: the exact formula, a worked example, rounding up to whole people, and the common mistakes to avoid in Excel.
Slovin's formula vs Cochran's formula, compared side by side: when each one applies, a worked example with the same numbers, and which to choose for a survey.
Two formulas, one idea: the population formula divides by n, the sample formula by n minus 1. Learn why it matters, with both worked on the same data set.
Variance and standard deviation both measure spread, but only one is easy to interpret. Learn how they relate, why the units matter, and see a worked example.
A p-value is not the chance your result is wrong. Learn what a t-test p-value really means, why 0.05 is the usual cut-off, and how to read calculator output.
A dot plot shows each value in a data set as a dot stacked above a number line. Learn what each dot means, when dot plots work best, and see a worked example.
A t-test compares averages to see whether a difference is real or just chance. Learn what a t-test is, how the t-statistic works, and when to use one.
The chi-square test checks whether counts in categories match what you expect. Learn what it tests, how the statistic works, and when to use it.
Standard deviation measures how spread out numbers are around their average. Learn what small and large values mean, and work through a real example.
Margin of error tells you how far a survey result could be from the truth. Learn the formula, see worked examples, and check a sample with the free calculator.
Sample size and margin of error move together: a bigger sample means a smaller margin of error. See the formula, the trade-offs, and worked examples here.
Slovin's formula finds the sample size you need from a known population. Learn the formula, see a worked example, and when to trust it — and when not to.