Worked examples · Sheet 3
Calculations with t and chi-square distributions
Theory used:The t statistic and the sample varianceMean and variance in a normal sample
Go to: Exercise 1Exercise 2
Exercise 1
An i.i.d. sample from has size and gives . Calculate the observed value of and state the distribution of .
The normal parameter is the population variance, while sample size determines the degrees of freedom . The sample variance uses divisor , so the factor recovers the sum of squared deviations . Dividing by expresses this sum relative to the population variance.
The observations are independent and normal. The theorem on the t statistic and sample variance therefore gives a chi-square distribution with degrees of freedom. Substitution of gives , so the observed sample yields the value . A chi-square variable with degrees of freedom has expectation . The value exceeds its expectation because the observed variance exceeds the population variance , and the ratio equals .
Exercise 2
For nine i.i.d. normal measurements with mean and unknown variance, calculate the probability of . The distribution function of satisfies .
The estimated standard error of the mean is . This quantity is random because it is calculated from the same sample. Divide both sides by , which is positive with probability one. The inequality retains its direction and the event becomes . Under normality, has distribution since the degrees of freedom are .
The event is the union of the disjoint tails and . The right-tail probability is approximately . The distribution is symmetric about zero, so the left tail has the same probability. The required probability is approximately . If were known we would use the normal quantile , smaller than because has heavier tails than the standard normal.