Student's t-Distribution
Study guide: Exam MAS-I
A Student's t-Distribution with r degrees of freedom, written t(r), is the distribution of a standard normal random variable divided by the square root of an independent chi-squared random variable over its degrees of freedom. A t random variable with r degrees of freedom is
T = \frac{Z}{\sqrt{V/r}}
Zis a standard normal random variable.Vis a chi-squared random variable withrdegrees of freedom, independent ofZ.
Its mean is
E[T] = 0
r > 1.
Its variance is
\text{Var}(T) = \frac{r}{r-2}
r > 2. Forr \le 2the variance does not exist.
The density is symmetric about 0 and has heavier tails than the standard normal density. As r grows, t(r) approaches the standard normal distribution, so with more than about 100 degrees of freedom the two-sided 5% critical value is close to 1.96. The square of a t(r) random variable has the F-distribution F(1, r).
What are the mean and the variance of a
t-distribution with 6 degrees of freedom?
- The degrees of freedom exceed 1, so the mean is 0.
- The degrees of freedom exceed 2, so the variance is
6/(6-2) = 1.5.
The t statistic for a normal sample
For a random sample of size n from a normal distribution with mean \mu, the sample mean standardized by the sample standard deviation S has a t-distribution:
\frac{\bar{X} - \mu}{S/\sqrt{n}} \sim t(n-1)
The CAS MAS-I t table gives two-sided tail areas 0.20, 0.10, 0.05, 0.02 and 0.01. The entry c in a column satisfies P(|T| > c) equal to the column heading. A one-sided test at level \alpha reads the column 2\alpha. When the direction of a one-sided alternative matches the sign of the statistic, its p-value is half the two-sided p-value. A p-value is bounded by finding the two critical values in the row that bracket the absolute value of the statistic.
Last year's mean claim severity was 1,000. A random sample of 16 claims this year has
\bar = 1150ands = 200, and claim sizes are normal. IsH_0: \mu = 1000rejected in favour ofH_1: \mu > 1000at the 5% level, and what bound is there on the p-value?
- The statistic is
(1{,}150 - 1{,}000)/(200/\sqrt{16}) = 150/50 = 3.0, with16 - 1 = 15degrees of freedom.- The one-sided 5% critical value is in the two-sided 0.10 column, 1.753.
- The statistic exceeds 1.753, so
H_0is rejected.- The two-sided 0.01 column gives 2.947, which the statistic also exceeds, so the one-sided p-value is below 0.005.
The paired t test
When each of n subjects is measured twice, the test uses the differences d_1, \ldots, d_n, with mean \bar{d} and sample standard deviation s_d. If the differences are normal with mean 0 under H_0, the paired t statistic is
t = \frac{\bar{d}}{s_d/\sqrt{n}}
nis the number of pairs, and the statistic hasn - 1degrees of freedom.
For a one-sided alternative, the differences are taken in the direction that makes the alternative a mean difference greater than 0, and the p-value is the upper tail.
Six claims are each estimated by two adjusters. The differences, adjuster A less adjuster B, are 10, 6, 14,
-4, 8 and 8. Is there evidence at the 5% level that adjuster A's estimates are higher on average, and what bound is there on the p-value?
- The mean difference is
\bar{d} = 42/6 = 7.- The sample variance of the differences is
s_d^2 = (476 - 6 \times 7^2)/5 = 36.4, sos_d = 6.033.- The statistic is
t = 7/(6.033/\sqrt{6}) = 2.842, with 5 degrees of freedom.- The one-sided 5% critical value is 2.015, which the statistic exceeds, so
H_0is rejected.- The statistic lies between 2.571 (two-sided 0.05) and 3.365 (two-sided 0.02), so the one-sided p-value is between 0.01 and 0.025.
The t statistic for a regression coefficient
In a linear regression with p predictors and an intercept fitted to n observations, the statistic for H_0: \beta_j = 0 is
t = \frac{\hat{\beta}_j}{\text{SE}(\hat{\beta}_j)}
\text{SE}(\hat{\beta}_j)is the standard error of\hat{\beta}_jreported in the parameter estimate table.- The statistic has
n - p - 1degrees of freedom whenH_0is true and the errors are normal.
A 100(1-\alpha)\% confidence interval for \beta_j is \hat{\beta}_j \pm c\,\text{SE}(\hat{\beta}_j), where c is the two-sided \alpha critical value of t(n - p - 1). For the same statistic, fewer degrees of freedom give heavier tails and a larger p-value.
A simple linear regression fitted to 20 territories gives
\hat_1 = 0.42with standard error 0.15. What bound is there on the two-sided p-value for\beta_1 = 0, and what is a 95% confidence interval for\beta_1?
- The statistic is
t = 0.42/0.15 = 2.8, with20 - 1 - 1 = 18degrees of freedom.- In the 18 degrees of freedom row, the 0.02 column is 2.552 and the 0.01 column is 2.878, so the p-value is between 0.01 and 0.02.
- The 0.05 column is 2.101, so the interval is
0.42 \pm 2.101 \times 0.15 = 0.42 \pm 0.315.- The 95% confidence interval for
\beta_1is(0.105, 0.735).
Using the two-sided column for a one-sided test The CAS
ttable's columns are two-sided areas. A one-sided test at the 5% level uses the 0.10 column. With 15 degrees of freedom its critical value is 1.753, not the 2.131 in the 0.05 column.