Statistics · Unit 3 · Week 7 · Lesson 23 · 11 minute reading

When Sigma Is Not Written on the Blackboard

Student t procedures for one population mean when the population spread is unknown.

By the end of this lesson, you should be able to

  • Calculate a one-sample t interval and statistic.
  • Explain the degrees of freedom in a t procedure.
  • Evaluate independence and distribution assumptions.

The textbook’s normal-confidence-interval example gives us the population standard deviation. That is convenient and, outside a classroom exercise, rather suspicious.

In actual studies, the population does not generally hand us its unknown parameter, σ\sigma, with a helpful label. We estimate it from the sample. That extra uncertainty is why the t distribution matters.

Replace unknown sigma with sample information

For a sample of nn observations with mean xˉ\bar x and sample standard deviation ss, the estimated standard error of the mean is

SE⁡^(Xˉ)=sn.\widehat{\operatorname{SE}}(\bar X)=\frac{s}{\sqrt n}.

To test a hypothesized population mean μ0\mu_0, use

t=xˉ−μ0s/n.t=\frac{\bar x-\mu_0}{s/\sqrt n}.

For independent observations from a normal population, this statistic follows a Student t distribution with n−1n-1 degrees of freedom when the null is true. Compared with the standard normal distribution, the t distribution has heavier tails, especially when nn is small. As the degrees of freedom increase, it approaches the normal.

A numerical example

Five synthetic readings are 2, 4, 6, 8, and 10. Their mean is 6. Their sample standard deviation is 10≈3.1623\sqrt{10}\approx3.1623.

The estimated standard error is 10/5=2≈1.4142\sqrt{10/5}=\sqrt2\approx1.4142. Testing H0:μ=4H_0:\mu=4 yields

t=6−42≈1.4142t=\frac{6-4}{\sqrt2}\approx1.4142

with four degrees of freedom.

A two-sided 95% confidence interval is

xˉ±t.975,n−1sn.\bar x\pm t_{.975,n-1}\frac{s}{\sqrt n}.

Using t.975,4≈2.7764t_{.975,4}\approx2.7764, the interval is 6±3.92656\pm3.9265, approximately [2.07, 9.93]. It is wide because five observations cannot tell us very precisely where the population mean lies.

Why the design still matters

With small samples, the exact t reference distribution depends on the normal-population model. Outliers, extreme skew, dependence, and selection bias can make the nominal procedure inappropriate.

A larger sample can make a t procedure more robust to moderate nonnormality under appropriate conditions, but it does not turn a systematically biased sample into a representative one.

Reproduce it in R

x <- c(2, 4, 6, 8, 10)
t.test(x, mu = 4)

Read the estimate, interval, test statistic, degrees of freedom, and p-value as parts of one inferential argument. None is a replacement for the question you started with.

Check your understanding

  1. Why is the t critical value at n=5n=5 larger than the corresponding normal critical value?
  2. How many degrees of freedom does a one-sample t test have with 20 observations?
  3. Does a t test repair nonresponse bias?
Worked responses
  1. The population spread must be estimated from a small sample, adding uncertainty represented by heavier tails.

  2. Nineteen.

  3. No. An inferential formula does not correct a defective sample-selection mechanism.

Reference: R documentation for t.test.

Why the reference distribution has heavier tails

For independent normal observations, Z=(Xˉ−μ)/(σ/n)Z=(\bar X-\mu)/(\sigma/\sqrt n) is standard normal. The scaled sample variance U=(n−1)S2/σ2U=(n-1)S^2/\sigma^2 has a chi-square distribution with n−1n-1 degrees of freedom and is independent of ZZ. Their ratio Z/U/(n−1)Z/\sqrt{U/(n-1)} is the t statistic. A small denominator can produce unusually large ratios, accounting for the heavier tails. The independence and exact distribution claims here depend on the normal-population model; they are not consequences of merely computing a sample standard deviation.

The degrees-of-freedom count also has an algebraic explanation. Once the sample mean has been estimated, the centered deviations sum to zero. Specifying n−1n-1 of them determines the last. That constraint explains the variance denominator, while the normal model supplies the exact distributional theorem.

A two-sided test and its matching confidence interval invert the same inequality. Reject H0:μ=μ0H_0:\mu=\mu_0 at level α\alpha when ∣t∣>t1−α/2,n−1|t|>t_{1-\alpha/2,n-1}. Rearranging gives exactly the parameter values outside xˉ±t1−α/2,n−1s/n\bar x\pm t_{1-\alpha/2,n-1}s/\sqrt n. Thus zero inclusion and a two-sided test decision agree only when the procedures, assumptions, and confidence levels actually match.

Additional practice with solutions

  1. A synthetic sample has n=16n=16, mean 4242, and standard deviation 88. Find the standard error and statistic for H0:μ=38H_0:\mu=38.
  2. With t.975,15≈2.13145t_{.975,15}\approx2.13145, calculate a 95% interval.
  3. Would this interval establish that every individual measurement lies in its range?
  4. Explain why repeated readings on one instrument may not give sixteen independent observations.
Worked additional solutions
  1. SE=8/4=2SE=8/4=2 and t=(42−38)/2=2t=(42-38)/2=2, with 15 degrees of freedom.
  2. 42±2.13145(2)42\pm2.13145(2), approximately [37.7371,46.2629][37.7371,46.2629]. The value 38 lies inside, so the matching two-sided 5% test does not reject it.
  3. No. The interval concerns the population mean, not individual spread or prediction.
  4. Serial correlation or shared calibration error can connect readings. Their information content then differs from independent sampling; increasing the reading count alone does not remove shared error.
Your study progress · Optional

Keep your place

Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.

Progress is not saved unless you choose to mark the lesson complete.

Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.