Docsity

Solved Assignment for Statistical Methods For Biology | STAT 50300, Assignments of Data Analysis & Statistical Methods

Toggle sidebar
bg1
STAT 503-1 HW 8 Fall 2008
1. It is recognized that cigarette smoking has a deleterious effect on lung function. In
a study of the effect of cigarette smoking on the carbon monoxide diffusing capacity
(DL) of the lung, researchers found that current smokers had DL readings lower than
either ex-smokers or non-smokers. The DL readings for a random sample of n=20
current smokers yielded ¯x=89.87 and s=14.91.
(a) The average DL reading for non-smoker is known to be 100. Set up H0and
Hato formally test whether the DL readings of current smokers are lower than
non-smokers.
Solution:H0:µ≥100 versus Ha:µ<100.
(b) Use α=.05 and suppose it is known that the DL readings are normally distributed
and σ= 15. Specify the test statistic and the decision rule. Specify the rejection
region in terms of ¯
Y. Note that you do not needthedataatthispoint.
Solution: The test statistic is Z=¯
X−100
15/√20 . One rejects H0when Z<−1.645 = z.05.
The rejection region is Z=¯
X−100
15/√20 <−1.645, or ¯
X<100 −1.645(15)/√20 =
94.4825.
(c) Plug the data into your decision rule, do you accept or reject H0? What is the
p-value?
Solution:Since¯x=89.87 <94.4825, or Z=89.87−100
15/√20 =−3.02 <−1.645, one
rejects H0at the 5% level. The p-value is p=P(Z<−3.02) = .0013.
2. Refer to Problem 1 above with σ=15known.
(a) Suppose the average DL reading for current smokers is actually µ1= 90. Calculate
the β-risk (the probability of committing a type-II error) for the decision rule of
1(b).
Solution:H0is accepted when ¯
X≥94.4825. For µ= 90,
β=P(¯
X≥94.4825)
=P(¯
X−90
15/√20 ≥94.4825 −90
15/√20 )
=P(Z≥1.336) = .0907.
(b) Repeat the above calculation for µ1= 97.
Solution:Forµ= 97,
β=P(¯
X≥94.4825)
=P(¯
X−97
15/√20 ≥94.4825 −97
15/√20 )
=P(Z≥−0.751) = .7735.
3. Refer to Problem 1 above with σunknown.
C. Gu Due November 3
pf2

Partial preview of the text

Download Solved Assignment for Statistical Methods For Biology | STAT 50300 and more Assignments Data Analysis & Statistical Methods in PDF only on Docsity!

STAT 503-1 HW 8 Fall 2008

  1. It is recognized that cigarette smoking has a deleterious effect on lung function. In a study of the effect of cigarette smoking on the carbon monoxide diffusing capacity (DL) of the lung, researchers found that current smokers had DL readings lower than either ex-smokers or non-smokers. The DL readings for a random sample of n = 20 current smokers yielded ¯x = 89.87 and s = 14.91.

(a) The average DL reading for non-smoker is known to be 100. Set up H 0 and Ha to formally test whether the DL readings of current smokers are lower than non-smokers. Solution: H 0 : μ ≥ 100 versus Ha : μ < 100. (b) Use α = .05 and suppose it is known that the DL readings are normally distributed and σ = 15. Specify the test statistic and the decision rule. Specify the rejection region in terms of Y¯. Note that you do not need the data at this point. Solution: The test statistic is Z = X 15 ¯−/√^10020. One rejects H 0 when Z < − 1 .645 = z. 05. The rejection region is Z = X¯− 100 15 /√ 20 <^ −^1 .645, or^

X <¯ 100 − 1 .645(15)/√20 =

(c) Plug the data into your decision rule, do you accept or reject H 0? What is the p-value? Solution: Since ¯x = 89. 87 < 94 .4825, or Z = 8915.^87 /√− 20100 = − 3. 02 < − 1 .645, one rejects H 0 at the 5% level. The p-value is p = P (Z < − 3 .02) = .0013.

  1. Refer to Problem 1 above with σ = 15 known.

(a) Suppose the average DL reading for current smokers is actually μ 1 = 90. Calculate the β-risk (the probability of committing a type-II error) for the decision rule of 1(b). Solution: H 0 is accepted when X¯ ≥ 94 .4825. For μ = 90,

β = P ( X¯ ≥ 94 .4825)

= P (

X¯ − 90

= P (Z ≥ 1 .336) =. 0907.

(b) Repeat the above calculation for μ 1 = 97. Solution: For μ = 97,

β = P ( X¯ ≥ 94 .4825)

= P (

X¯ − 97

= P (Z ≥ − 0 .751) =. 7735.

  1. Refer to Problem 1 above with σ unknown.

C. Gu Due November 3

STAT 503-1 HW 8 Fall 2008

(a) Specify the test statistic and the decision rule. Solution: For σ unknown, use the test statistic t = X¯− 100 s/ √ 20 , and reject^ H^0 when t < − 1 .729 = t. 05 , 19. (b) Plug the data into your decision rule and make a decision. What is the p-value? Solution: Since t = 8914 ..^8791 −/√^10020 = − 3. 038 < − 1 .729, reject H 0 at the 5% level. The p-value is p = P (t 19 < − 3 .038) = .0034 (R function pt(-3.038,19)), or

. 0025 < p < .005 (using Table C.4).

  1. Refer to Problem 1 above.

(a) Calculate a CI for μ the average DL reading for current smokers. Solution: A 95% CI for μ is 89. 87 ± 1 .96(15)/

20, or (83. 30 , 96 .44), for σ = 15 known. Another 95% CI for μ is 89. 87 ± 2 .093(14.91)/

20, or (82. 89 , 96 .85), for σ unknown. Either one will do here. (b) Suppose one wishes to construct a 95% CI no wider than 5 (total length), how large a sample should be drawn? You may use σ = 15 as a rough estimate for the purpose. Solution: n ≥ (15(1 2 .. 5 96) )^2 = 138.29, so need a sample size about 140.

  1. In a study of the effect of caffeine metablism, nine male volunteers underwent arm exercise tests on two separate occasions. On one occasion, the volunteer took a pure caffeine capsule and on the other, he took a placebo capsule. The subject’s respiratory exchange ratio (RER) were measured, and the difference of RER with and without caffeine were obtained as follows.

9 , 20 , 3 , 2 , 8 , 6 , 6 , 2 , 10

(a) Calculate ¯x and s. Solution: ¯x = 7.333, s = 5.590. (b) Test the null hypothesis of nil caffeine effect versus a two-sided alternative. Cal- culate the test statistic and make a decision. Solution: Test H 0 : μ = 0 versus μ 6 = 0. Since t = (^75) ..^33359 /√−^09 = 3. 935 > 2 .306 = t. 975 , 8 , we reject H 0. (c) Find the p-value of the test. Solution: The p-value is p = P (|t 8 | > 3 .935) = .0043 (R function 2*(1-pt(3.935))), or. 002 < p < .005 (Table C.4).

C. Gu Due November 3