Academics · Study Skills · Is the difference more than chance

Is the gap real,
or just chance?

A school claims its students average 100 on a test, and a sample of 50 averages 103. Is that gap more than chance would produce? Type the sample mean, the claimed mean, the known standard deviation, the sample size and a significance level. The page gives the z score, the two-sided p-value, a plain decision and a confidence interval, and a table shows how a larger sample sharpens the verdict.

The hypothesis testing simulator

The worked example is a sample of 50 averaging 103 against a claim of 100, with a standard deviation of 15, at the 5 percent level. Nothing you type leaves this browser.

Loading the calculator. If nothing appears, turn on JavaScript.

What you get

Academics · Study SkillsOpen to everyone · no sign-in

What you finish with
The standard error, z score, two-sided p-value and confidence interval for a sample mean against a claimed mean, a plain decision at the level you choose and a table of other sample sizes.
Who it is for
High school and early college statistics students, and the families, teachers and tutors who help them understand what a test of significance says.
Format
Browser calculator for a phone, tablet or computer, by touch or keyboard. Prints a summary; downloads a spreadsheet (.csv); export and import a file.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The Study Skills space in Caveat Academics.
Support
Questions, a correction or a request: team@caveatacademic.com.

How to use it

  1. Name the test.
  2. Type the sample mean and the claimed mean.
  3. Type the standard deviation and the sample size.
  4. Choose the significance level and read the p-value and the decision.
  5. Try other sample sizes in the table.

Test a claim

How the figures are worked out

A gap, measured in standard errors, turned into a probability.

The worked example: mean 103 against a claim of 100Standard error2.1215 ÷ √50z score1.413 ÷ 2.12p-value0.157two-sidedDecisionnot againstat 5 percentThe worked example: mean 103 against a claim of 100Standard error2.1215 ÷ √50z score1.413 ÷ 2.12p-value0.157two-sidedDecisionnot againstat 5 percent
The gap is measured in standard errors, and the p-value says how rare such a gap would be.

What a p-value says

The p-value is the probability, if the claim were true, of a sample result at least as far from the claim as the one you got. It is not the probability that the claim is true. The American Statistical Association stated this and other principles about p-values in 2016, and its guidance is to use them alongside effect sizes and context.

Bigger samples, sharper verdicts

The same gap of 3 points gives a p-value of 0.32 with 25 in the sample and under 0.001 with 400, because the standard error shrinks as the sample grows. A tiny p-value from a huge sample can describe a gap too small to matter, so read the size of the gap and the interval as well.

Sources

  1. Wasserstein, R. L., & Lazar, N. A. (2016). The ASA statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129-133. doi:10.1080/00031305.2016.1154108.
  2. College Board. AP Statistics Course and Exam Description: Units 6 to 9 on inference for means and proportions, including significance tests and confidence intervals. apcentral.collegeboard.org.
  3. National Institute of Standards and Technology. NIST/SEMATECH e-Handbook of Statistical Methods: tests of a mean against a standard value. itl.nist.gov.
  4. Any introductory statistics text: the one-sample z test and its confidence interval.

Figures worked from your own numbers. Nothing you type is sent to Caveat. The worked example is made up. Your entries stay in this browser. Support: team@caveatacademic.com.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.