menuicon

MATH1015 Quizzes

Quiz 10: Paired and two-sample tests for means
Question 1 Questions
Questions 1 - 3 use the following information.
Eleven patients were weighed before and after a diet which was designed to help patients reduce weight. Eight of these patients did lose weight but three patients had a weight increase.
To test whether the diet is successful, state the appropriate null and alternative hypotheses in terms of p+ (the probability that the diet increases weight). Exactly one option must be correct)
a)
H0 : p+ = 0;H1 : p+ < 0.
b)
H0 : p+ = 0.5;H1 : p+ < 0.5.
c)
H0 : p+ = 0.5;H1 : p+0.5.
d)
H0 : p+ = 0.5;H1 : p+ > 0.5.

Choice (a) is incorrect
A zero change in weight is not the same as p+ = 0.
Choice (b) is correct!
We are looking for evidence of a decrease in weight on average, so we expect the proportion with a positive weight change to be below 0.5.
Choice (c) is incorrect
This is not a two-sided test. What is the anticipated alternative?
Choice (d) is incorrect
What is the anticipated alternative in terms of p+?
Questions 1 - 3 use the following information.
Eleven patients were weighed before and after a diet which was designed to help patients reduce weight. Eight of these patients did lose weight but three patients had a weight increase.
Is there evidence that the diet is successful? Provide a P-value and state your findings. Exactly one option must be correct)
a)
P-value = 0.1133. There is insufficient evidence to claim that the diet is successful.
b)
P-value = 0.9673. The data do not provide evidence that the diet is successful.
c)
P-value = 0.0302. There is very strong evidence that the diet is successful.
d)
P-value = 0.1133. The probability that the diet is successful is 0.1133.

Choice (a) is correct!
Write τ to represent the number of weight increases. Under H0, τ (11,0.5). Since this is a lower tail test, and since the observed value of the test statistic is τobs = 3, the P-value is P(τ 3) = 0.1133.
Choice (b) is incorrect
The P-value calculates the probability of a result at least as extreme as the observed result of 3 positive weight gains.
Choice (c) is incorrect
The P-value calculates the probability of a result at least as extreme as the observed result of 3 positive weight gains.
Choice (d) is incorrect
Revise the interpretation of a P-value.
Questions 1 - 3 use the following information.
Eleven patients were weighed before and after a diet which was designed to help patients reduce weight. Eight of these patients did lose weight but three patients had a weight increase.
The observed sample mean (in kg) and sample variance (in kg2) of the eleven changes in weight (after - before) were x̄ = 0.6 and s2 = 1.44. Writing μd to represent the mean change in weight (after - before), provide a P-value for testing H0 : μd = 0 vs H1 : μd < 0 assuming that the weight changes follow a normal distribution. (Round τobs to 2dp.) Exactly one option must be correct)
a)
P-value = P(Z 1.66) 0.0485
b)
P-value= P(t11 < 1.66) > 0.05.
c)
P-value = P(t10 < 1.38) > 0.05
d)
P-value = P(t10 < 1.66) > 0.05

Choice (a) is incorrect
The population standard deviation of the differences is unknown, so you should not use the Z-test.
Choice (b) is incorrect
You have used the wrong t-distribution.
Choice (c) is incorrect
Have you used s2 by mistake, instead of s in the calculation of the observed test statistic?
Choice (d) is correct!
τobs = 0.6 1.211 = 1.66, and P-value = P(t10 1.66) which is in the interval (0.05, 0.1).
Twelve athletes were each given two different exercise routines, and their heartbeats were monitored closely. The aim of the study was to test for a difference in the effect of the routines on heartbeat rate. The twelve differences were (in appropriate units):
di: 1.5 2.3  4.7  6.1  -1.2  2.6  1.5  -0.4  -2.7  1.9  1.1  -1.5.
(Elementary calculations give: idi = 15.9 and idi2 = 91.81.) Assuming the differences are normally distributed, provide bounds for the P-value from the appropriate t-test. Exactly one option must be correct)
a)
(0.025, 0.05)
b)
(0.05, 0.10)
c)
(0.10, 0.20)
d)
(0.01, 0.025)

Choice (a) is incorrect
This is a two-sided test.
Choice (b) is correct!
The sample mean difference is 1.325 and the sample standard deviation of the differences is 2.536, so τobs = 1.325 2.53612 = 1.809. The test is two-sided, so the P-value = P(|t11| > 1.809) = 2P(t11 > 1.809), which is in the interval (0.05, 0.10).
Choice (c) is incorrect
Check your calculation of the sample mean and standard deviation.
Choice (d) is incorrect
Check your calculation of the sample mean and standard deviation.
A panel of psychiatrists is asked to compare the condition of 65 patients before and after intermittent psychotherapy, which is expected to improve the condition in general. 40 patients showed an improvement, 24 were worse and one was considered unchanged. Use the sign test with the normal approximation to find the P-value. Exactly one option must be correct)
a)
P(X 40) = 0
b)
P(Z 40) = 0
c)
P(Z 2) = 0.0228
d)
P(Z > 1.875) 0.03

Choice (a) is incorrect
You need the approximating normal variable to find P(X 40).
Choice (b) is incorrect
You need to use the approximating normal variable and standardise it.
Choice (c) is incorrect
Perhaps you have forgotten the continuity correction.
Choice (d) is correct!
Ignore the one unchanged patient, and let X represent the number improved out of 64. Under the hypothesis of no improvement, X (64,0.5) and the P-value is P(X 40), since this is an upper-tail test. Using a normal approximation with correction for continuity, P-value P(Y 39.5), where Y N(32,16) is the approximating normal variable. Thus, P-value P(Z 39.532 16 ) = P(Z 1.875) 0.03.
A test of H0 : μx = μy vs H1 : μxμy based on independent samples of sizes nx = 12 and ny = 10, yields a two-sample t-statistic with observed value, τobs = 1.95. The P-value is in the interval: Exactly one option must be correct)
a)
(0, 0.01)
b)
(0.01,0.025)
c)
(0.025,0.05)
d)
(0.05,0.10)

Choice (a) is incorrect
Check the tables again.
Choice (b) is incorrect
Check the tables again.
Choice (c) is incorrect
Recall that this is a two-tail test.
Choice (d) is correct!
P-value = P(|t20| 1.95) = 2P(t20 1.95). Since P(t20 1.95) is in the interval (0.025, 0.05), the P-value is in the interval (0.05, 0.1).
Questions 7 - 9 use the following information.
In an attempt to compare the durability of two different materials (X and Y), 10 pieces of type X and 14 pieces of type Y were used. From these samples we calculate the statistics: x̄ = 129.44, ȳ = 122.65, sx = 9.15, sy = 11.02.
The pooled estimate of the standard deviation, sp, in the two-sample test statistic is: Exactly one option must be correct)
a)
10.30
b)
105.72
c)
106.01
d)
10.28

Choice (a) is correct!
sp = 9×9.152 +13×11.022 10+142 = 10.30.
Choice (b) is incorrect
Use the formula for sp2 and then find its square root.
Choice (c) is incorrect
This is the pooled estimate of the variance, not of the standard deviation.
Choice (d) is incorrect
Check the formula for sp2 and then square root.
Questions 7 - 9 use the following information.
In an attempt to compare the durability of two different materials (X and Y), 10 pieces of type X and 14 pieces of type Y were used. From these samples we calculate the statistics: x̄ = 129.44, ȳ = 122.65, sx = 9.15, sy = 11.02.
To test for equal means, the appropriate t-distribution is Exactly one option must be correct)
a)
t24
b)
t22
c)
t10 - t14.
d)
t23

Choice (a) is incorrect
You do not simply add the sample sizes 10+14 to give the df of the t-distribution.
Choice (b) is correct!
The appropriate t-variable has df = 10 + 14 2 = 22.
Choice (c) is incorrect
Try again.
Choice (d) is incorrect
With two independent samples of sizes m and n, df = m + n 2.
Questions 7 - 9 use the following information.
In an attempt to compare the durability of two different materials (X and Y), 10 pieces of type X and 14 pieces of type Y were used. From these samples we calculate the statistics: x̄ = 129.44, ȳ = 122.65, sx = 9.15, sy = 11.02.
Assuming the two populations sampled are normal with equal variance, find the P-value. Exactly one option must be correct)
a)
(0.05, 0.10)
b)
(0.1, 0.2)
c)
(0.01, 0.025)
d)
(0.02, 0.05).

Choice (a) is incorrect
This is a two-sided test.
Choice (b) is correct!
sp = 9×9.152 +13×11.022 10+142 = 10.30, so τobs = 129.44122.65 10.30 1 10 + 1 14 = 1.52.
P-value = P(|t22| 1.52) = 2P(t22 1.52), with bounds (0.1, 0.2), since P(t22 1.52) is in the range (0.05, 0.10).
Choice (c) is incorrect
Try again. Check that sp = 10.30 and that τobs = 1.52. Use a two-sided test.
Choice (d) is incorrect
Try again. Check that sp = 10.30 and that τobs = 1.52.
Two methods A and B, were used to find the latent heat of fusion of ice. 13 measurements were made with method A and 8 measurements were made with method B with statistics: x̄A = 80.02,x̄B = 79.98,sA = 0.024 and sB = 0.031. To test equal means assuming normality and equal variances, the observed test statistic (to 1dp) and the P-value are: Exactly one option must be correct)
a)
τobs = 1.2; P-value = P(|t19| > 1.2) > 0.2
b)
τobs = 3.3; P-value = P(t21 > 3.3) < 0.005
c)
τobs = 3.3; P-value = P(t19 > 3.3) < 0.005
d)
τobs = 3.3; P-value = P(|t19| > 3.3) < 0.01

Choice (a) is incorrect
Recalculate your test statistic.
Choice (b) is incorrect
You have used a one-tail test and have also used the wrong t-distribution.
Choice (c) is incorrect
This should be a two-tail test
Choice (d) is correct!
sp = 12×0.0242 +7×0.0312 13+82 = 0.02679, so τobs = 80.0279.98 0.02679 1 13 +1 8 = 3.3,
with P-value = P(|t19| > 3.3) = 2P(t19 > 3.3), which has bounds (0.002, 0.01).