Leaving Certificate Mathematics11.9 Hypothesis testing and confidence intervals

All books

11.9 Hypothesis testing and confidence intervals — Practise with help

Warm-up: remember

  1. Work out 80\sqrt{80}, correct to three decimal places.
  2. Work out 1.96×0.34661.96 \times 0.3466, correct to three decimal places.
Answers and feedback
  1. 80=8.944\sqrt{80} = 8.944 (3 d.p.).
  2. 1.96×0.3466=0.6791.96 \times 0.3466 = 0.679 (3 d.p.).

Both steps appear in the confidence interval: divide by the square root of nn, then multiply by 1.961.96.

Practise with help

1. A sample of 8080 new phones has mean charging time 45.445.4 minutes. The population standard deviation is 3.13.1 minutes. Find the standard error.

Hint σn\frac{\sigma}{\sqrt{n}}

Here σ\sigma is the population standard deviation and nn is the sample size.

Next step 3.180\frac{3.1}{\sqrt{80}}
Full working 3.180≈0.3466\frac{3.1}{\sqrt{80}} \approx 0.3466

The standard error is about 0.3470.347 minutes, in the same units as the times.

2. Test the claim that the mean charging time is 4444 minutes, using the sample mean 45.445.4 and the standard error 0.34660.3466. Find the test statistic zz.

Hint z=xˉ−μσ/nz = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}

Here xˉ\bar{x} is the sample mean and μ\mu is the claimed mean.

Next step z=45.4−440.3466z = \frac{45.4 - 44}{0.3466}
Full working z=1.40.3466≈4.04z = \frac{1.4}{0.3466} \approx 4.04

The sample mean lies about four standard errors above the claimed mean. A distance that large is very unusual under the claim.

3. Build the 95%95\% confidence interval for the mean charging time, using the sample mean 45.445.4 and the standard error 0.34660.3466.

Hint

The interval is xˉ±1.96×\bar{x} \pm 1.96 \times standard error.

Next step 45.4±1.96×0.346645.4 \pm 1.96 \times 0.3466
Full working 1.96×0.3466≈0.6791.96 \times 0.3466 \approx 0.679 45.4±0.679=(44.72,46.08)45.4 \pm 0.679 = (44.72, 46.08)

The interval runs from about 44.7244.72 to 46.0846.08 minutes. It does not contain 4444.

4. The two-tailed pp-value for the test in question 2 is about 0.000050.00005. State the decision at the 5%5\% level, and the reason.

Hint

Compare the pp-value with α=0.05\alpha = 0.05.

Next step

Is 0.000050.00005 less than 0.050.05?

Full working

Since 0.00005<0.050.00005 \lt 0.05, reject H0H_0. There is strong evidence that the mean charging time is not 4444 minutes. The confidence interval in question 3 agrees, because it does not contain 4444.

5. A poll of 10001000 voters gives p^=0.52\hat{p} = 0.52. The standard error is about 0.01580.0158. Build the 95%95\% confidence interval for the proportion.

Hint

The interval is p^±1.96×\hat{p} \pm 1.96 \times standard error.

Next step 0.52±1.96×0.01580.52 \pm 1.96 \times 0.0158
Full working 1.96×0.0158≈0.03101.96 \times 0.0158 \approx 0.0310 0.52±0.0310=(0.489,0.551)0.52 \pm 0.0310 = (0.489, 0.551)

The interval contains 0.50.5, so it is consistent with a 5050-5050 split.

6. Back to the chapter problem. Test H0:p=0.5H_0: p = 0.5 against H1:p≠0.5H_1: p \neq 0.5 at the 5%5\% level, using p^=0.52\hat{p} = 0.52 and n=1000n = 1000. Find zz, then the decision.

Hint

Under H0H_0, the standard error is 0.5×0.51000\sqrt{\dfrac{0.5 \times 0.5}{1000}}.

Next step z=0.52−0.500.0158z = \frac{0.52 - 0.50}{0.0158}
Full working z≈1.27z \approx 1.27

The two-tailed pp-value is about 2(0.102)=0.2042(0.102) = 0.204. Since 0.204>0.050.204 > 0.05, retain H0H_0. The poll is consistent with a 5050-5050 split, and the newspaper's headline read noise as if it were a signal.

A question from Chapter 10

7. A fair die is rolled once. Find the probability of rolling a number greater than 44.

Hint

The outcomes greater than 44 are 55 and 66.

Next step 26\frac{2}{6}
Full working P(greater than 4)=26=13P(\text{greater than } 4) = \frac{2}{6} = \frac{1}{3}

A pp-value is also a probability, and it is read the same way: a number between 00 and 11 that says how often something happens.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.