LightMySky

Hypothesis Tests for a Mean with the t-Distribution

Test a claim about a mean when the population spread is unknown: a t statistic, degrees of freedom, and a p-value read as the probability of data at least this extreme if the claim held.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • Carry out a one-sample t-test and state the conclusion in context
  • Choose between one-tailed and two-tailed alternatives before seeing the data
  • State what a p-value is and what it is not

1 · Read

To test a claim about a mean with sigma unknown, scale the gap between the sample mean and the null value by the estimated standard error. The t statistic is the sample mean minus the null value, over s divided by the square root of n. It runs on the t distribution with n minus 1 degrees of freedom. With 4 observations, a mean of 12, spread 4, and null 10, the statistic is 1.

Try it together

Fix the alternative before examining the data. A predicted direction, like a new drug lowering blood pressure, calls for a one-tailed test. A plain difference with no predicted direction calls for two tails. Choosing the direction after peeking rigs the test, so lock it in early.

The p-value is the chance of data this extreme if the null were true. Values below the significance level, often 0.05, reject the null; larger ones simply fail to reject it. With t equal to 3.1 and p equal to 0.004 at the 5 percent level, rejecting is the right call. State the conclusion in context, naming the variable and direction.

Good to know

The p-value is not the chance that the null is true, and failing to reject never proves the null. It only says the data do not contradict it. Keep that modesty in every write-up and never overclaim.

Scale the gap into a t statistic, fix tails early, read the p-value against the level, and phrase conclusions with restraint.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Where this leads

Jobs that lean on this skill. Follow one to see everything it is built on.

Then practise

8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
Hypothesis Tests for a Mean with the t-Distribution · Mathematics, ages 20 to 21 · LightMySky