## A.9 Answer: TW 9 tutorial

1. The parameter of interest is the population mean pizza diameter, say $$\mu$$.

2. From the output: $$\bar{x} = 11.486$$ and $$s=0.247$$.

3. Use $$\text{s.e.}(\bar{x}) = s/\sqrt{n} = 0.247/\sqrt{125} = 0.02205479$$.

4. $$s$$ tells us the variation in diameter from pizza to pizza. $$\text{s.e.}(\bar{x})$$ tells us how much the sample mean is likely to vary from sample to sample, in sample of size 125.

5. The hypotheses are:

$$H_0$$: The mean diameter is 12 inches; or $$\mu=12$$.
$$H_1$$: The mean diameter is not 12 inches; or $$\mu\ne 12$$

6. Two-tailed, because the RQ asks if the diameter is 12 inches, or not.

7. The normal distribution has a mean of 12, and a standard deviation of $$\text{s.e.}(\bar{x}) = 0.02205$$.

8. $$t = -23.3$$.

9. $$t = (11.486-12)/0.02205 = -23.3$$.

10. The $$t$$-value is huge (and negative), so the $$P$$-value is very small. (Two-tailed $$P<0.001$$ from the table or from software.)

11. Very strong evidence exists in the sample ($$t=-23.3$$; $$\text{df}=124$$; two-tailed $$P$$ less than 0.001) that the population mean pizza diameter of pizzas from Eagle Boys' is less than 12 inches (sample mean diameter: $$11.49$$ inches; std. dev.: $$0.246$$; 95% CI from $$11.44$$ to $$11.53$$ inches; approximate 95% CI is $$11.486\pm 0.0441$$) (Note: The CI was computed in the Week~8 tutorial; or use $$t=1.98$$.)

12. Since $$n$$ is much larger than $$30$$, we do not require that the population has a normal distribution, just that the population is not grossly non-normal; the sample means will still have an approximate normal distribution.

13. Very unlikely!

1. Less than 0.05.
2. Greater than 0.05.
3. Less than 0.003.
4. Greater than 0.05.
5. Greater than 0.05.
6. Very small.

1. Before and after measurement on same amputee.

2. $$H_0$$: $$\mu_d=0$$, differences defined as 'with' minus 'without'. $$H_1$$: $$\mu_d>0$$ the way I defined differences.

We are explicitly seeking to test for an improvement, so the test is one-tailed. (Diffs in the other direction are also OK; the signs of the differences and some other subsequent things change.)

3. The standard error of the mean is the standard deviation of the sample mean diff in plasma concentrations, a measurement of how precisely the sample mean difference estimates the population mean diff.

4. Mean increase: $$\bar{x} = 24.9$$m; Standard deviation: $$s=813.034$$m; standard error: $$4.122$$m.

5. $$t=6.041$$ and since $$t$$ is very large, expect $$P$$ to be very small. (The one-tailed $$P$$ less than $$0.0005$$ from Table A.2.)

The differences have just been defined in the opposite directions. (Notice the $$P$$-values are the same.)

6. Very strong evidence exists in the sample (paired $$t=6.041$$; one-tailed $$P$$ less than $$0.0005$$) that the population mean 2MWT are higher after receiving the implant compared to without the implant (mean difference: $$24.9$$m higher after receiving the implant; standard deviation: 13.034m; 95% CI from $$15.58$$ to $$34.224$$m).

7. The population of differences has a normal distribution, and/or $$n>25$$ or so.

8. Since $$n<25$$, must assume the population of differences has a normal distribution. The histogram suggests this is not unreasonable.

1. $$s = 7.145$$m; $$\text{s.e.}(\bar{x}) = s/\sqrt{n} = 7.145/\sqrt{44} = 1.077$$m. The first measures variation in the original data; the second measures precision of the sample mean when estimating the population mean.
2. The CI is from 13.85 to 18.19m.
3. Strong to moderate evidence exists in the sample (one sample $$t=2.714$$; $$\text{df}=43$$; two-tailed $$P=0.010$$) that the population mean guess (mean: 16.02m; standard deviation: 7.145m) of the students is not 13.1m (95% CI for population mean guess: 13.85 to 18.19m).
4. The population of differences has a normal distribution, and/or $$n>30$$ or so. 5.* Since $$n>30$$, all OK if the histogram isn't severely skewed. Probably OK.
5. Not really! But was this just due to using metric units? Perhaps students are just very poor at estimating widths... In fact, the Professor also had the students estimate the width of the hall in imperial units also, as a comparison.

The difference in odds is statistically significant, so either 2. or 4. is consistent with this conclusion... and we cannot tell which. The size of the OR is not the issue here: if the sample OR is statistically different from 1, it does not tell us much about the population OR except that it is (most likely) not one.

1. The odds are quite different, but not statistically significant, so chance cannot be ruled out as the reason why the OR is different from one. (This likely has a smaller sample size.)
2. The odds are a little different, but not statistically significant, so chance cannot be ruled out as the reason why the OR is different from one.

1. Before and after measurement on same runner.
2. $$H_0$$: $$\mu_d=0$$, differences defined as 'after' minus 'before'. $$H_1$$: $$\mu_d>0$$ the way I defined the differences.
We are explicitly seeking to test for an increase, so the test is one-tailed. (Diffs in the other direction are also OK; the signs of the differences and some other subsequent things change.)
3. Mean increase: $$\bar{x} = 18.73$$ pmol/litre; Standard deviation: $$s=8.3297$$ pmol/litre; standard error: $$2.511$$ pmol/litre.
4. $$t = 7.46$$ and $$\text{df}=11-1=10$$. Since $$t$$ is very large, expect $$P$$ to be very small. (The one-tailed $$P$$ less than $$0.0005$$ from Table A.2.)
5. Very strong evidence exists in the sample (paired $$t=7.46$$; $$\text{df}=10$$; one-tailed $$P$$ less than $$0.0005$$) that the population mean $$\beta$$ plasma concentrations are higher after the race compared to before the race (mean difference: $$18.73$$ pmol/litre higher after the race; std. dev.: 8.33 pmol/litre; 95% CI from $$13.14$$ to $$24.33$$ pmol/litre).
6. The population of differences has a normal distribution, and/or $$n>30$$ or so.
7. Since $$n<30$$, must assume the population of differences has a normal distribution. The histogram suggests this is not unreasonable.