StatisticsConfidence Intervals4 of 6
Confidence Intervals · 4

The t-Distribution

We want to measure how far a sample average xˉ\stat{\bar{x}} lands from the true population average μ\truth{\mu}, even when we don't know the true spread σ\spread{\sigma} of the population.

1

Standard Error: Our Ruler When σ\spread{\sigma} Is Unknown

To tell whether a sample average xˉ\stat{\bar{x}} landed close to the true center μ\truth{\mu} or far out in the tails, we need a ruler that measures how big a typical step is on the number line.

When we know the true spread σ\spread{\sigma} across the whole population, averaging nn items together partly cancels out high and low extremes, so sample averages vary by the smaller step size σn\spread{\tfrac{\sigma}{\sqrt{n}}}:

z\displaystyle \steps{z} =xˉ−μσn\displaystyle = \frac{\stat{\bar{x}} - \truth{\mu}}{\spread{\frac{\sigma}{\sqrt{n}}}}

In practice, if we are taking a sample because we don't know the population average μ\truth{\mu}, we usually won't know the population spread σ\spread{\sigma} either. We have to build our ruler from the sample we actually have.

Standard Error: Our Ruler When Sigma Is Unknown
claim: 12 hours\text{claim: }\htmlClass{lc-violet}{12\text{ hours}}

Swapping the unknown population spread σ\spread{\sigma} for the spread s\spread{s} measured in our sample gives our new step size on the number line:

Old ruler: σn⟶New ruler: sn⏟standard error of the mean\displaystyle \text{Old ruler: } \spread{\frac{\sigma}{\sqrt{n}}} \quad \longrightarrow \quad \text{New ruler: } \underbrace{\spread{\frac{s}{\sqrt{n}}}}_{\text{standard error of the mean}}
2

The Rubber Ruler and Student's tt-Distribution

Now that our ruler sn\spread{\tfrac{s}{\sqrt{n}}} is built from the sample, we want to see how many rulers away from μ\truth{\mu} our sample averages land, and why the Normal bell curve no longer catches 95%\share{95\%} of small samples within 1.96\steps{1.96} steps.

The Rubber Ruler and Student's t-Distribution
Old ruler:\text{Old ruler:}
σn\htmlClass{lc-pink}{\frac{\sigma}{\sqrt n}}
New ruler:\text{New ruler:}
sn\htmlClass{lc-pink}{\frac{s}{\sqrt n}}
Normal\htmlClass{lc-blue}{\text{Normal}}
95%\htmlClass{lc-green}{95\%}
−1.96\htmlClass{lc-pink}{-1.96}
0\htmlClass{lc-pink}{0}
+1.96\htmlClass{lc-pink}{+1.96}

Measuring the gap between a sample average xˉ\stat{\bar{x}} and the center μ\truth{\mu} in standard error steps gives a tt-score:

t=xˉ−μsn⏟standard error\displaystyle \begin{aligned}\steps{t} &= \frac{\stat{\bar{x}} - \truth{\mu}}{\underbrace{\spread{\frac{s}{\sqrt{n}}}}_{\text{standard error}}}\end{aligned}

With the steel ruler σn\spread{\tfrac{\sigma}{\sqrt{n}}}, only the sample average xˉ\stat{\bar{x}} on top changes from sample to sample. With the rubber ruler sn\spread{\tfrac{s}{\sqrt{n}}}, the bottom of the fraction changes every time too, and whenever it shrinks, it pushes scores that would have stayed near the middle out into the tails.

Normal\htmlClass{lc-violet}{\text{Normal}}
Student’s t\htmlClass{lc-blue}{\text{Student's }t}
95%\htmlClass{lc-green}{95\%}
−t∗\htmlClass{lc-pink}{-t^*}
−1.96\htmlClass{lc-pink}{-1.96}
0\htmlClass{lc-pink}{0}
+1.96\htmlClass{lc-pink}{+1.96}
+t∗\htmlClass{lc-pink}{+t^*}

Even when a sample average xˉ\stat{\bar{x}} lands fairly close to μ\truth{\mu}, if the 44 sample laptops happen to cluster tightly together, the rubber ruler sn\spread{\tfrac{s}{\sqrt{n}}} shrinks. More of those tiny steps fit across the gap, pushing the tt-score far out into the tail.

Even when the sample average stays in the same spot near the true mean, tightly clustered sample points shrink the rubber ruler and fit more steps across the gap.
3

Sample Size and Degrees of Freedom

Because the tt-distribution is a family of curves that get narrower as the sample grows, we need a way to pick the exact tt-curve that matches our sample size nn.

Sample Size and Degrees of Freedom
sn\htmlClass{lc-pink}{\frac{s}{\sqrt n}}
n=?n = {?}
Normal\htmlClass{lc-violet}{\text{Normal}}
Student’s t\htmlClass{lc-blue}{\text{Student's }t}
−4−3−2−101234\htmlClass{lc-pink}{\hspace{0.6428em}\mathclap{-4}\hspace{2.0202em}\mathclap{-3}\hspace{2.0202em}\mathclap{-2}\hspace{2.0202em}\mathclap{-1}\hspace{2.0202em}\mathclap{0}\hspace{2.0202em}\mathclap{1}\hspace{2.0202em}\mathclap{2}\hspace{2.0202em}\mathclap{3}\hspace{2.0202em}\mathclap{4}}

A single data point (n=1n = 1) only gives us a sample average xˉ\stat{\bar{x}} and tells us nothing about spread. Only the remaining n−1n - 1 points can vary around that average to show how spread out the data is, so the reliability of our ruler depends on n−1n - 1:

df=n−1⏟degrees of freedom\displaystyle \underbrace{\text{df} = n - 1}_{\text{degrees of freedom}}

Here df\text{df} stands for degrees of freedom, the number that picks the right tt-curve for a sample of size nn.

As the sample size grows from n=2n = 2 to n=50n = 50, the degrees of freedom df=n−1\text{df} = n - 1 go up, the rubber ruler sn\spread{\tfrac{s}{\sqrt{n}}} settles closer to the true steel ruler σn\spread{\tfrac{\sigma}{\sqrt{n}}}, and the fat-tailed tt-curve pulls inward toward the Normal curve so the 95%\share{95\%} cutoffs ±t∗\pm \steps{t^*} slide in toward ±1.96\pm \steps{1.96}.

As your sample grows, each new laptop after the first adds one more degree of freedom, stiffening the rubber standard-error ruler like steel and pulling the tt-curve in toward the Normal curve.
4

Finding the Cutoff t∗\steps{t^*} for a Confidence Level

To build a confidence interval around xˉ\stat{\bar{x}} when σ\spread{\sigma} is unknown, we need the cutoff t∗\steps{t^*}: the number of standard error steps we reach to the left and right of xˉ\stat{\bar{x}} to capture the middle percentage of the tt-curve. (The ∗* marks the cutoff step count for a chosen confidence level, rather than the tt-score of a sample.)

When σ\spread{\sigma} was known, a 95%\share{95\%} confidence interval started at xˉ\stat{\bar{x}} and reached z∗=1.96\steps{z^*} = \steps{1.96} steel rulers (σn\spread{\tfrac{\sigma}{\sqrt{n}}}) each way. With our rubber ruler sn\spread{\tfrac{s}{\sqrt{n}}}, we replace z∗\steps{z^*} with the wider multiplier t∗\steps{t^*} from the df=n−1\text{df} = n - 1 curve.

Suppose a company claims its laptop batteries last μ=12 hours\truth{\mu} = \truth{12}\text{ hours}. You test n=9n = 9 laptops and find a sample average of xˉ=10.5 hours\stat{\bar{x}} = \stat{10.5}\text{ hours} with a sample spread of s=1.8 hours\spread{s} = \spread{1.8}\text{ hours}. How far to the left and right of 10.5 hours\stat{10.5}\text{ hours} do we reach for 95%\share{95\%} confidence?

Finding the Cutoff t* for a Confidence Level
μ=12 hours\htmlClass{lc-violet}{\mu = 12}\text{ hours}
n=9n = 9
xˉ=10.5 hourss=1.8 hours\htmlClass{lc-blue}{\bar{x} = 10.5}\text{ hours}\qquad \htmlClass{lc-pink}{s = 1.8}\text{ hours}
t∗ for 95% confidence=?\htmlClass{lc-pink}{t^*}\text{ for }\htmlClass{lc-green}{95\%}\text{ confidence} = {?}
Text solution
Find the standard error and degrees of freedomDivide the sample spread s=1.8 hours\spread{s} = \spread{1.8}\text{ hours} by 9\sqrt{9} to get the size of one step on the number line, and subtract 11 from the sample size n=9n = 9 to pick the curve:
Standard error=sn=1.89=1.83=0.6 hours\displaystyle \begin{aligned} \text{Standard error} &= \spread{\frac{s}{\sqrt{n}}} \\ &= \frac{\spread{1.8}}{\sqrt{9}} \\ &= \frac{\spread{1.8}}{3} \\ &= \spread{0.6}\text{ hours} \end{aligned}
df=n−1=9−1=8\displaystyle \begin{aligned} \text{df} &= n - 1 \\ &= 9 - 1 \\ &= 8 \end{aligned}
Split the leftover area into the two tailsCapturing the middle 95%\share{95\%} (0.95\share{0.95}) of the symmetric df=8\text{df} = 8 curve leaves 5%\share{5\%} (0.05\share{0.05}) outside, split evenly into 2.5%\share{2.5\%} (0.025\share{0.025}) in each tail:
0.95\htmlClass{lc-green}{0.95}
0.025\htmlClass{lc-green}{0.025}
0.025\htmlClass{lc-green}{0.025}
−t∗\htmlClass{lc-pink}{-t^*}
0\htmlClass{lc-pink}{0}
+t∗\htmlClass{lc-pink}{+t^*}
0.95+0.025=0.975\htmlClass{lc-green}{0.95} + \htmlClass{lc-green}{0.025} = \htmlClass{lc-green}{0.975}
One-tail area=1−0.952=0.052=0.025\displaystyle \begin{aligned} \text{One-tail area} &= \frac{1 - \share{0.95}}{2} \\ &= \frac{\share{0.05}}{2} \\ &= \share{0.025} \end{aligned}

Find the cutoff t∗\steps{t^*} on the df=8\text{df} = 8 curve Match the 0.025\share{0.025} one-tail column (or 95%\share{95\%} confidence label) with row df=8\text{df} = 8 on a printed tt-table, or enter the total area to the left of +t∗\steps{+t^*} (0.95+0.025=0.975\share{0.95} + \share{0.025} = \share{0.975}) into a calculator:

invT(area=0.975,df=8)\displaystyle \text{invT}(\text{area} = \share{0.975}, \text{df} = 8) =2.306\displaystyle = \steps{2.306}

Multiply the standard error by t∗\steps{t^*} Multiply the 0.6-hour\spread{0.6}\text{-hour} standard error by t∗=2.306\steps{t^*} = \steps{2.306} steps to find how far to reach in hours:

Reach=t∗×Standard error=2.306×0.6≈1.38 hours\displaystyle \begin{aligned} \text{Reach} &= \steps{t^*} \times \spread{\text{Standard error}} \\ &= \steps{2.306} \times \spread{0.6} \\ &\approx \spread{1.38}\text{ hours} \end{aligned}

So to catch the true average with 95%\share{95\%} confidence, we start at our sample average of 10.5 hours\stat{10.5}\text{ hours} and reach ±1.38 hours\pm \spread{1.38}\text{ hours} to the left and right.

After df=30\text{df} = 30, printed tt-tables skip rows (jumping from 6060 to 8080 to 100100). If you test n=75n = 75 laptops so df=74\text{df} = 74, go down to df=60\text{df} = 60 rather than rounding up to 8080, so you never pretend you have a larger sample than you actually do.

5

Finding a tt-Score and Its Tail Area

Now let's flip the question around: when we want to test a claimed center μ\truth{\mu}, we find how many standard error steps away our sample average xˉ\stat{\bar{x}} landed (t\steps{t}) and find the tail area beyond it to see how unusual our sample is.

For the same n=9n = 9 laptops with xˉ=10.5 hours\stat{\bar{x}} = \stat{10.5}\text{ hours}, standard error 0.6 hours\spread{0.6}\text{ hours}, and df=8\text{df} = 8, how unusual is it to get a sample average of 10.5 hours\stat{10.5}\text{ hours} or lower if the true average really is μ=12 hours\truth{\mu} = \truth{12}\text{ hours}?

Finding a t-Score and Its Tail Area
n=9  μ=12 hours  xˉ=10.5 hoursn = 9\quad\; \htmlClass{lc-violet}{\mu = 12}\text{ hours}\quad\; \htmlClass{lc-blue}{\bar{x} = 10.5}\text{ hours}
Standard error=0.6 hoursdf=8\text{Standard error} = \htmlClass{lc-pink}{0.6}\text{ hours}\qquad \text{df} = 8
t=?\htmlClass{lc-pink}{t} = {?}
−4−3−2−101234\htmlClass{lc-pink}{\hspace{0.6428em}\mathclap{-4}\hspace{2.0202em}\mathclap{-3}\hspace{2.0202em}\mathclap{-2}\hspace{2.0202em}\mathclap{-1}\hspace{2.0202em}\mathclap{0}\hspace{2.0202em}\mathclap{1}\hspace{2.0202em}\mathclap{2}\hspace{2.0202em}\mathclap{3}\hspace{2.0202em}\mathclap{4}}
Text solution
Measure the gap in standard error stepsSubtract the claimed center μ=12\truth{\mu} = \truth{12} from our sample average xˉ=10.5\stat{\bar{x}} = \stat{10.5} and divide by our 0.6-hour\spread{0.6}\text{-hour} standard error ruler:
t=xˉ−μsn=10.5−120.6=−1.50.6=−2.5\displaystyle \begin{aligned} \steps{t} &= \frac{\stat{\bar{x}} - \truth{\mu}}{\spread{\frac{s}{\sqrt{n}}}} \\ &= \frac{\stat{10.5} - \truth{12}}{\spread{0.6}} \\ &= \frac{\spread{-1.5}}{\spread{0.6}} \\ &= \steps{-2.5} \end{aligned}
Find the exact left-tail area using a calculatorFind the area under the df=8\text{df} = 8 curve from −∞-\infty up to our sample's score of t=−2.5\steps{t} = \steps{-2.5}:
Tail area=tcdf(−∞,−2.5,8)≈0.0185=1.85%\displaystyle \begin{aligned} \text{Tail area} &= \text{tcdf}(-\infty, \steps{-2.5}, 8) \\ &\approx \share{0.0185} \\ &= \share{1.85\%} \end{aligned}
Place the tail area between two values on a printed tt-tableBy symmetry, the left tail below −2.5\steps{-2.5} matches the right tail above +2.5\steps{+2.5}, which sits between 2.306\steps{2.306} (one-tail area 0.025\share{0.025}) and 2.896\steps{2.896} (one-tail area 0.01\share{0.01}) on the df=8\text{df} = 8 row:
≈0.0185\htmlClass{lc-green}{\approx 0.0185}
≈0.0185\htmlClass{lc-green}{\approx 0.0185}
−2.5\htmlClass{lc-pink}{-2.5}
0\htmlClass{lc-pink}{0}
+2.5\htmlClass{lc-pink}{+2.5}
0.025\htmlClass{lc-green}{0.025}
2.306\htmlClass{lc-pink}{2.306}
0.01\htmlClass{lc-green}{0.01}
2.896\htmlClass{lc-pink}{2.896}
+2.5\htmlClass{lc-pink}{+2.5}
2.306<2.5<2.896⟹0.01<Tail area<0.025\displaystyle \begin{aligned} & \steps{2.306} < \steps{2.5} < \steps{2.896} \\ \Longrightarrow \quad & \share{0.01} < \share{\text{Tail area}} < \share{0.025} \end{aligned}

So if the true average battery life were 12 hours\truth{12}\text{ hours}, only about 1.85%\share{1.85\%} of 99-laptop samples (between 1%\share{1\%} and 2.5%\share{2.5\%}) would land 2.5\steps{2.5} standard errors or further below the center by chance.

Key concepts

The choice between the Normal zz-curve and Student's tt-distribution comes down to one question: where did the spread come from? If you know the true spread σ\spread{\sigma} of the entire population (such as knowing σ=1.8 hours\spread{\sigma} = \spread{1.8}\text{ hours} across the whole factory), your ruler σn\spread{\tfrac{\sigma}{\sqrt{n}}} is fixed steel and you stay on the Normal curve (z∗=1.96\steps{z^*} = \steps{1.96} for 95%\share{95\%}). Whenever σ\spread{\sigma} is unknown and you measure the spread s\spread{s} from your sample of nn items (such as n=9n = 9 laptops with s=1.8 hours\spread{s} = \spread{1.8}\text{ hours}), your ruler is the rubber standard error of the mean,

Standard error=sn=1.89=0.6 hours\displaystyle \begin{aligned}\text{Standard error} &= \spread{\frac{s}{\sqrt{n}}} = \frac{\spread{1.8}}{\sqrt{9}} \\ &= \spread{0.6}\text{ hours}\end{aligned}

and you work on the tt-curve with df=n−1=8\text{df} = n - 1 = 8 degrees of freedom.

On that df=n−1\text{df} = n - 1 curve, we move in two directions:

Percentage ⟶\longrightarrow step cutoff t∗\steps{t^*} (for a confidence interval)

Split the outside area in half to look up the one-tail column on row df=n−1\text{df} = n - 1 (going down to the next smaller df\text{df} row if yours isn't listed), or enter the middle area plus one lower tail into `invT`. For the middle 95%\share{95\%} with df=8\text{df} = 8, invT(area=0.975,df=8)=2.306\text{invT}(\text{area} = \share{0.975}, \text{df} = 8) = \steps{2.306}, which reaches ±2.306×0.6≈±1.38 hours\pm \steps{2.306} \times \spread{0.6} \approx \pm \spread{1.38}\text{ hours} around xˉ\stat{\bar{x}}.

Sample average xˉ\stat{\bar{x}} ⟶\longrightarrow tt-score and tail area (to test a center μ\truth{\mu})

Divide the gap from μ\truth{\mu} by the standard error,

t\displaystyle \steps{t} =xˉ−μsn\displaystyle = \frac{\stat{\bar{x}} - \truth{\mu}}{\spread{\frac{s}{\sqrt{n}}}} =10.5−120.6\displaystyle = \frac{\stat{10.5} - \truth{12}}{\spread{0.6}} =−2.5\displaystyle = \steps{-2.5}

then find the area beyond t\steps{t} with tcdf(−∞,−2.5,8)≈0.0185\text{tcdf}(-\infty, \steps{-2.5}, 8) \approx \share{0.0185}, or drop the minus sign and place 2.5\steps{2.5} between 2.306\steps{2.306} (0.025\share{0.025}) and 2.896\steps{2.896} (0.01\share{0.01}) along the df=8\text{df} = 8 row to see the tail area sits between 1%\share{1\%} and 2.5%\share{2.5\%}.

6

Practice

1

A coffee machine claims to dispense an average of μ=8 oz\truth{\mu} = \truth{8}\text{ oz} per cup. You test a sample of n=16n = 16 cups and find a sample average of xˉ=7.7 oz\stat{\bar{x}} = \stat{7.7}\text{ oz} with a sample standard deviation of s=0.6 oz\spread{s} = \spread{0.6}\text{ oz}. Find (a) the standard error of the mean, (b) the degrees of freedom, and (c) the tt-score of your sample.

How does averaging n=16n = 16 cups together shrink the individual cup spread s=0.6 oz\spread{s} = \spread{0.6}\text{ oz} to give your ruler?

(a) Divide the sample spread s\spread{s} by n\sqrt{n} (be careful not to divide by 1616 without taking the square root, which would give 0.0375 oz0.0375\text{ oz}):
Standard error=sn=0.616=0.64=0.15 oz\displaystyle \begin{aligned} \text{Standard error} &= \spread{\frac{s}{\sqrt{n}}} \\ &= \frac{\spread{0.6}}{\sqrt{16}} \\ &= \frac{\spread{0.6}}{4} \\ &= \spread{0.15}\text{ oz} \end{aligned}
(b) Subtract 11 from the sample size n=16n = 16:
df=n−1=16−1=15\displaystyle \begin{aligned} \text{df} &= n - 1 \\ &= 16 - 1 \\ &= 15 \end{aligned}
(c) Divide the gap xˉ−μ\stat{\bar{x}} - \truth{\mu} by the 0.15-oz\spread{0.15}\text{-oz} standard error ruler (not by the single-cup spread s=0.6 oz\spread{s} = \spread{0.6}\text{ oz}, which would give t=−0.5t = -0.5):
t=xˉ−μsn=7.7−80.15=−0.30.15=−2.0\displaystyle \begin{aligned} \steps{t} &= \frac{\stat{\bar{x}} - \truth{\mu}}{\spread{\frac{s}{\sqrt{n}}}} \\ &= \frac{\stat{7.7} - \truth{8}}{\spread{0.15}} \\ &= \frac{\spread{-0.3}}{\spread{0.15}} \\ &= \steps{-2.0} \end{aligned}
2

You test n=25n = 25 car batteries and find a sample average life of xˉ=48 months\stat{\bar{x}} = \stat{48}\text{ months} with a sample spread of s=5 months\spread{s} = \spread{5}\text{ months}. You want to build an interval for the middle 90%\share{90\%} of the curve. (a) What total area to the left and what degrees of freedom do you enter into an `invT` command to find the upper cutoff t∗\steps{t^*}? (b) Using t∗=1.711\steps{t^*} = \steps{1.711}, how many months to the left and right of 48 months\stat{48}\text{ months} do you reach?

Sketch the curve with 90%\share{90\%} in the middle: how much leftover area sits in the lower tail to the left of that middle 90%\share{90\%}?

(a) Leaving 90%\share{90\%} in the middle puts 10%\share{10\%} outside, or 5%\share{5\%} (0.05\share{0.05}) in each tail. Add the lower tail 0.05\share{0.05} to the middle 0.90\share{0.90} (don't enter area=0.90\text{area} = \share{0.90} alone, which leaves 10%\share{10\%} in the upper tail and gives the 80%80\% cutoff 1.3181.318), and use df=25−1=24\text{df} = 25 - 1 = 24:
Area to the left=0.90+0.05=0.95\displaystyle \begin{aligned} \text{Area to the left} &= \share{0.90} + \share{0.05} \\ &= \share{0.95} \end{aligned}
invT(area=0.95,df=24)\displaystyle \text{invT}(\text{area} = \share{0.95}, \text{df} = 24)
(b) First find the standard error ruler sn=525=1 month\spread{\tfrac{s}{\sqrt{n}}} = \tfrac{\spread{5}}{\sqrt{25}} = \spread{1}\text{ month} (don't multiply t∗\steps{t^*} by the single-battery spread s=5 months\spread{s} = \spread{5}\text{ months}, which would give ±8.555 months\pm 8.555\text{ months}), then multiply by ±t∗\pm \steps{t^*}:
Reach=±t∗×sn=±1.711×525=±1.711×1=±1.711 months\displaystyle \begin{aligned} \text{Reach} &= \pm \steps{t^*} \times \spread{\frac{s}{\sqrt{n}}} \\ &= \pm \steps{1.711} \times \frac{\spread{5}}{\sqrt{25}} \\ &= \pm \steps{1.711} \times \spread{1} \\ &= \pm \spread{1.711}\text{ months} \end{aligned}
3

You test n=90n = 90 lightbulbs and want the 95%\share{95\%} confidence cutoff t∗\steps{t^*} from a printed tt-table whose rows jump from df=60\text{df} = 60 (t∗=2.000\steps{t^*} = \steps{2.000}) to df=80\text{df} = 80 (t∗=1.990\steps{t^*} = \steps{1.990}) to df=100\text{df} = 100 (t∗=1.984\steps{t^*} = \steps{1.984}). Which t∗\steps{t^*} value should you use, and why?

After finding df=n−1\text{df} = n - 1, which neighboring row on the table avoids pretending you tested more lightbulbs than you actually did?

With n=90n = 90, your degrees of freedom is df=90−1=89\text{df} = 90 - 1 = 89. Because 8989 is not on the table, go down to df=80\text{df} = 80 so you do not pretend you tested more lightbulbs than you actually did (don't round up to df=100\text{df} = 100, which would claim 100100 degrees of freedom and give a too-narrow cutoff of 1.9841.984). From the df=80\text{df} = 80 row, use t∗=1.990\steps{t^*} = \steps{1.990}.
4

A cereal maker claims boxes contain μ=500 g\truth{\mu} = \truth{500}\text{ g} on average. A sample of n=9n = 9 boxes has xˉ=494 g\stat{\bar{x}} = \stat{494}\text{ g} and s=6 g\spread{s} = \spread{6}\text{ g}. On the df=8\text{df} = 8 row of a printed tt-table, the cutoffs for one-tail areas of 0.05\share{0.05}, 0.025\share{0.025}, 0.01\share{0.01}, and 0.005\share{0.005} are 1.860\steps{1.860}, 2.306\steps{2.306}, 2.896\steps{2.896}, and 3.355\steps{3.355}. Between what two percentages does the tail area below your sample average fall?

Find how many standard errors 494 g\stat{494}\text{ g} sits below 500 g\truth{500}\text{ g}, then use symmetry to place that step count between two cutoffs on the df=8\text{df} = 8 row.

First find the standard error sn=69=2 g\spread{\tfrac{s}{\sqrt{n}}} = \tfrac{\spread{6}}{\sqrt{9}} = \spread{2}\text{ g} and divide the gap by 2 g\spread{2}\text{ g} (dividing by s=6 g\spread{s} = \spread{6}\text{ g} instead of the standard error would give t=−1.0t = -1.0, making the tail area look larger than 5%\share{5\%}):
t=494−50069=−62=−3.0\displaystyle \begin{aligned} \steps{t} &= \frac{\stat{494} - \truth{500}}{\frac{\spread{6}}{\sqrt{9}}} \\ &= \frac{\spread{-6}}{\spread{2}} \\ &= \steps{-3.0} \end{aligned}
By symmetry on the df=9−1=8\text{df} = 9 - 1 = 8 curve, the left tail below −3.0\steps{-3.0} equals the right tail above +3.0\steps{+3.0}. Since 3.0\steps{3.0} sits between 2.896\steps{2.896} (one-tail area 0.01\share{0.01}) and 3.355\steps{3.355} (one-tail area 0.005\share{0.005}), the tail area falls between 0.5%\share{0.5\%} and 1%\share{1\%}.
5

Two testers each test n=4n = 4 laptops from a factory where the true mean battery life is μ=12 hours\truth{\mu} = \truth{12}\text{ hours}. Tester A gets xˉ=10.5 hours\stat{\bar{x}} = \stat{10.5}\text{ hours} and s=2.0 hours\spread{s} = \spread{2.0}\text{ hours}. Tester B gets four laptops that happen to cluster tightly together, with xˉ=11.6 hours\stat{\bar{x}} = \stat{11.6}\text{ hours} and s=0.2 hours\spread{s} = \spread{0.2}\text{ hours}. Whose sample average is closer to the true mean, whose sample produces the more extreme tt-score, and why?

Compare the distance xˉ−μ\stat{\bar{x}} - \truth{\mu} in hours for each tester, then compare the size of each tester's rubber ruler s4\spread{\tfrac{s}{\sqrt{4}}}.

Tester B's sample average (11.6 hours\stat{11.6}\text{ hours}) is closer to the true mean of 12 hours\truth{12}\text{ hours} than Tester A's (10.5 hours\stat{10.5}\text{ hours}). However, don't assume Tester A has the more extreme tt-score just because a 1.5-hour\spread{1.5}\text{-hour} gap is wider than a 0.4-hour\spread{0.4}\text{-hour} gap: because Tester B's 44 laptops clustered tightly together, Tester B's rubber ruler shrank to 0.24=0.1 hours\tfrac{\spread{0.2}}{\sqrt{4}} = \spread{0.1}\text{ hours}, making the small 0.4-hour\spread{0.4}\text{-hour} gap measure 4\steps{4} steps wide:
tA=10.5−122.04=−1.51.0=−1.5tB=11.6−120.24=−0.40.1=−4.0\displaystyle \begin{aligned} \steps{t_{\text{A}}} &= \frac{\stat{10.5} - \truth{12}}{\frac{\spread{2.0}}{\sqrt{4}}} &&= \frac{\spread{-1.5}}{\spread{1.0}} &&= \steps{-1.5} \\ \steps{t_{\text{B}}} &= \frac{\stat{11.6} - \truth{12}}{\frac{\spread{0.2}}{\sqrt{4}}} &&= \frac{\spread{-0.4}}{\spread{0.1}} &&= \steps{-4.0} \end{aligned}
Tester B gets the much more extreme tt-score of −4.0\steps{-4.0} (compared to −1.5\steps{-1.5}).