0% found this document useful (0 votes)
88 views11 pages

pp10 Soln

Confidence Interval for p: (pL, pU) pˆ = 0.75 n = 144 α = 0.10 (two-sided) α/2 = 0.05 zα/2 = 1.645 pL = pˆ - zα/2√(pˆ(1-pˆ)/n) = 0.75 - 1.645√(0.75×0.25/144) = 0.75 - 0.05 = 0.70 pU = pˆ + zα/2√(pˆ(1-pˆ)/n) = 0.75 + 1.645√(0.75

Uploaded by

Arsene Soh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views11 pages

pp10 Soln

Confidence Interval for p: (pL, pU) pˆ = 0.75 n = 144 α = 0.10 (two-sided) α/2 = 0.05 zα/2 = 1.645 pL = pˆ - zα/2√(pˆ(1-pˆ)/n) = 0.75 - 1.645√(0.75×0.25/144) = 0.75 - 0.05 = 0.70 pU = pˆ + zα/2√(pˆ(1-pˆ)/n) = 0.75 + 1.645√(0.75

Uploaded by

Arsene Soh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

STAT 400 Stepanov

UIUC Practice Problems #10 Dalpiaz

SOLUTIONS
The following are a number of practice problems that may
be helpful for completing the homework, and will likely
be very useful for studying for exams.
1 – 3. A store sells "16-ounce" boxes of Captain Crisp cereal. A random sample of
9 boxes was taken and weighed. The results were the following (in ounces):
15.5 16.2 16.1 15.8 15.6 16.0 15.8 15.9 16.2
Assume the weight of cereal in a box is normally distributed.

1. a) Compute the sample mean x and the sample standard deviation s.


Do NOT use a computer. You may only use +, –, ×, ÷, and on a calculator.
Show ALL work.

x=∑ i =
x 15.5 + 16.2 + 16.1 + 15.8 + 15.6 + 16.0 + 15.8 + 15.9 + 16.2 143.1
= = 15.9.
n 9 9

x x2 x x−x (x − x )2
15.5 240.25 15.5 – 0.4 0.16
16.2 262.44 16.2 0.3 0.09
16.1 259.21 16.1 0.2 0.04
15.8 249.64 OR 15.8 – 0.1 0.01
15.6 243.36 15.6 – 0.3 0.09
16.0 256.00 16.0 0.1 0.01
15.8 249.64 15.8 – 0.1 0.01
15.9 252.81 15.9 0.0 0.00
16.2 262.44 16.2 0.3 0.09
2275.79 0 0.50
( ∑ xi ) 2
2275.79 − ( 143.1 )
2

s2 =
∑ xi 2

n = 9 = 0.5 = 0.0625.
n −1 8 8
OR

s2 = ∑
2
( xi − x ) 0.5
= = 0.0625.
n −1 8

s = s 2 = 0.0625 = 0.25.
2. b) Construct a 95% confidence interval for the overall average weight of boxes of
Captain Crisp cereal.

s
σ is unknown. n = 9 - small. The confidence interval : X ± t α .
2 n
number of degrees of freedom = n − 1 = 9 − 1 = 8.

α = 0.05 α = 0.025. t α = t 0.025 = 2.306.


2 2

0.25
15.9 ± 2.306 ⋅ 15.9 ± 0.192 ( 15.708 ; 16.092 )
9

c) Construct a 95% confidence upper bound for the overall average weight of boxes
of Captain Crisp cereal.

 s 
 0 , X + t α  8 degrees of freedom t α = t 0.05 = 1.860.
 n 
 0.25 
 0 , 15.9 + 1.860 ⋅  ( 0 ; 16.055 )
 9 

d) Construct a 90% confidence lower bound for the overall average weight of boxes
of Captain Crisp cereal.

 s 
 X − t α , ∞  8 degrees of freedom t α = t 0.10 = 1.397.
 n 

 
( 15.7836 ; ∞ )
0.25
15.9 − 1.397 ⋅ , ∞ 
 9 
3. e) Construct a 90% confidence interval for the overall standard deviation of the
weights of boxes of Captain Crisp cereal.

 
 ( n − 1) ⋅ s 2 ( n − 1) ⋅ s 2 
Confidence Interval for σ2 :  , .
2 2
 χ α
χ 
 2 1− α 2 

α = 0.10. α 1 − α 2 = 0.95.
2 = 0.05.
number of degrees of freedom = n − 1 = 9 − 1 = 8.
2
χα = 15.51. χ 2 α = 2.733.
2 1− 2

 (9 − 1) ⋅ 0.0625 (9 − 1) ⋅ 0.0625 
 ,  ( 0.032 ; 0.183 )
 15.51 2.733 

Confidence Interval for σ : ( 0.032 , 0.183 ) = ( 0.179 ; 0.428 )

f) Construct the 90% minimum length confidence interval for the overall standard
deviation of the weights of boxes of Captain Crisp cereal.

g) Construct a 99% confidence lower bound for the overall standard deviation of the
weights of boxes of Captain Crisp cereal.

 
 (n − 1) ⋅ s 2 , ∞  8 degrees of freedom χ 02.01 = 20.09.
 2 
 χα 



(9 − 1) ⋅ 0.0625 , 
∞  ( 0.15776 ; ∞ )
 20.09
 

For fun:


99% conf. upper bound for σ:  0, (n − 1) ⋅ s 2  

(9 − 1) ⋅ 0.0625  = ( 0, 0.551 )
  =  0, 
 χ 21 − α  
1.646 
4. a) What is the minimum sample size required to estimate the overall mean weight of
boxes of Captain Crisp cereal to within 0.01 ounces with 95% confidence, if the
overall (population) standard deviation of the weights is 0.20 ounces?

σ = 0.20. ε = 0.01. α = 0.05. α/2 = 0.025. z α/2 = 1.960.


2
 zα 2 ⋅ σ   1.960 ⋅ 0.20 
2
n=   =  = 1536.64.


ε   0.01 
Round up. n = 1537.

b) What is the minimum sample size required to estimate the overall proportion of
boxes that have less than 16 ounces of cereal to within 2% with 95% confidence,
if no guess as to the value of this proportion is available?

Use p = 0.50. ε = 0.02. α = 0.05. α/2 = 0.025. z α/2 = 1.960.


2
 zα 2   1.960 
2
n=   ⋅ p ⋅( 1− p ) =   ⋅ 0.50 ⋅ 0.50 = 2401.
 ε   0.02 
 

c) What is the minimum sample size required to estimate the overall proportion of
boxes that have less than 16 ounces of cereal to within 2% with 95% confidence,
if it is known that this proportion is at most 0.30?

Use p = 0.30 ( closest to 0.50 possible value ). ε = 0.02.


α = 0.05. α/2 = 0.025. z α/2 = 1.960.
2
 zα 2  2
⋅ p ⋅ ( 1 − p ) = 
  1.960 
n=  ⋅ 0.30 ⋅ 0.70 = 2016.84.
 ε   0.02 
 
Round up. n = 2017.
5 – 6. A random sample of 144 patients, suffering from a particular disease are given
a new medicine. 108 of the patients report an improvement in their condition.

5. a) Construct a 90% (two-sided) confidence interval for the overall improvement rate
of this medicine.

X 108
X = 108. n = 144. pˆ = = = 0.75.
n 144
pˆ ⋅ (1 − pˆ )
The confidence interval : pˆ ± z α ⋅ .
2 n
90% confidence level α = 0.10 α z α = 1.645.
2 = 0.05. 2

(0.75)(0.25)
0.75 ± 1.645 ⋅ 0.75 ± 0.05936 ( 0.69 , 0.81 )
144

b) Find the minimum sample size required if we want to estimate the improvement
rate of this medicine to within 4% with 90% confidence if it is known that the
improvement rate is between 70% and 90%.

Use p* = 0.70 (closest to 0.50 possible value). ε = 0.04.


2
 zα  2
   1.645 
n= 2  ⋅ p *⋅ ( 1− p * ) =   ⋅ 0.70 ⋅ 0.30 = 355.1658.
 ε   0.04 
 
Round up. n = 356.

c) Find the minimum sample size required if we want to estimate the improvement
rate of this medicine to within 4% with 90% confidence if we do not make any
assumptions about the improvement rate.

Use p* = 0.50. ε = 0.04.


2
 zα  2
   1.645 
n= 2  ⋅ p * ⋅ ( 1 − p * ) =   ⋅ 0.50 ⋅ 0.50 = 422.8164.
 ε   0.04 
 
Round up. n = 423.
6. d) Construct a 90% confidence lower bound for the overall improvement rate.

 pˆ ⋅ (1 − pˆ )   (0.75)(0.25) 
 pˆ − z ⋅
 0.75 − 1.282 ⋅
,1  , 1
 α n  144
   

( 0.704 , 1 )

e) Construct a 95% confidence upper bound for the overall improvement rate.

 pˆ ⋅ (1 − pˆ )   (0.75)(0.25) 
 0 , pˆ + z ⋅  0 , 0.75 + 1.645 ⋅ 
 α n   144 
   

( 0 , 0.81 )

f) The company that manufactures this medicine claims an 80% improvement rate.
Based on your answer to part (e), do you find this claim believable? Explain
your answer.

The sample proportion does not have to be equal to the overall population proportion.
It is likely to be a bit smaller or a bit larger than the overall population proportion.
It could be a lot smaller or a lot larger than the overall population proportion, but this is
unlikely to happen just by chance. The fact that the sample proportion, 75%, is smaller
than the claimed 80% alone does not yet allow us to draw conclusions about the
credibility of the manufacturer’s claim. To do this, we should decide whether 75% is
a little bit smaller than 80% or a lot smaller than 80%.

Based on the information in our sample and part (e), values as high as 81% are
reasonable candidates for the value of the (unknown) overall improvement rate of this
medicine. Therefore, the manufacturer’s claim that this rate is 80% is believable.
7. The United States Secret Service (USSS) hires you to compute a 95% confidence
interval for the overall average maximum weight (in pounds) its agents can bench
press in a 5-repetition set. Stressing the top secret nature of the data, the USSS
does not make the data available to you, it does not even report the values of the
sample mean and the sample standard deviation. The only information you have
is that an 80% confidence interval based on a sample of 14 agents is ( 250, 277 ).
Assume the population is approximately normally distributed. Compute a 95%
confidence interval for the overall average maximum weight USSS agents can
bench press in a 5-repetition set.

s
σ is unknown. The confidence interval : X ± tα .
2 n
α = 0.20. α = 0.10. number of degrees of freedom = n − 1 = 14 − 1 = 13.
2
s s
t 0.10 = 1.350. X − 1.350 ⋅ = 250. X + 1.350 ⋅ = 277.
14 14
250 + 277
X is in the middle of the confidence interval. X= = 263.5.
2
s
263.5 − 1.350 ⋅ = 250. s = 37.42.
14

X = 263.5, s = 37.42, n = 14.


s
σ is unknown. The confidence interval : X ± tα .
2 n
α = 0.05. α = 0.025. number of degrees of freedom = n − 1 = 14 − 1 = 13.
2

t 0.025 = 2.160.
37.42
263.5 ± 2.160 ⋅ 263.5 ± 21.6 ( 241.9 ; 285.1 )
14
8 – 10. A random sample of size n = 289 from a N ( µ , σ 2 ) distribution gives the
sample mean x = 789 and the sample standard deviation s = 34.

8. If the number of degrees of freedom ( d.f. ) is large, the values of t α/2 can be
approximated by z α/2 .

a) Compare z 0.05 = 1.645 to the value of t 0.05 ( n – 1 d.f. ).

“Hint”: EXCEL =TINV( two-tail probability , degrees of freedom ).


That is, =TINV( α , n – 1 ).

OR R > qt( probability to the left , degrees of freedom ).


That is, > qt( 1 – α/2 , n – 1 ).

t 0.05 ( 288 ) = 1.650162. ( close to z 0.05 = 1.645 )

b) Construct a 90% (two-sided) confidence interval for µ.

s 34
X ± tα 789 ± 1.65 789 ± 3.30 ( 785.70 , 792.30 )
2 n 289
OR
s 34
X ± zα 789 ± 1.645 789 ± 3.29 ( 785.71 , 792.29 )
2 n 289

c) Compare z 0.025 = 1.96 to the value of t 0.025 ( n – 1 d.f. ).

t 0.025 ( 288 ) = 1.968235. ( close to z 0.025 = 1.96 )

d) Construct a 95% (two-sided) confidence interval for µ.

s 34
X ± tα 789 ± 1.968 789 ± 3.936 ( 785.064 , 792.936 )
2 n 289
OR
s 34
X ± zα 789 ± 1.96 789 ± 3.92 ( 785.08 , 792.92 )
2 n 289
9. If the number of degrees of freedom ( d.f. ) is large, the values of chi-squared distribution
can be approximated by the values of a Normal distribution with mean µ = d.f. and
variance σ 2 = 2 × d.f.

a) Find the two values of a Normal distribution N ( µ = d.f. , σ 2 = 2 × d.f. ) distribution


with area 0.05 to the left and to the right, respectively. Here, d.f. = n – 1.

µ = 288 σ 2 = 2 × 288 = 576 σ = 24

288 – 1.645 × 24 288 + 1.645 × 24

248.52 327.48

b) Compare the answers from part (a) with the values of


χ 02.95 ( n – 1 d.f. ) and χ 02.05 ( n – 1 d.f. ).

“Hint”: EXCEL =CHIINV( probability to the right , degrees of freedom ).

OR R > qchisq( probability to the left , degrees of freedom ).

χ 02.95 ( 288 d.f. ) = 249.6928. χ 02.05 ( 288 d.f. ) = 328.5804.

c) Construct a 90% (two-sided) confidence interval for σ.

 ( 289 − 1 ) ⋅ 34 2 , ( 289 − 1 ) ⋅ 34 2 
 ( 31.8 ; 36.5 )
 328.58 249.69 
 

OR

 ( 289 − 1 ) ⋅ 34 2 , ( 289 − 1 ) ⋅ 34 2 
 ( 31.9 ; 36.6 )
 327.48 248.52 
 
10. 9. (continued)
d) Find the probability P ( X > 312 ) using …

i) … N ( µ = 288, σ 2 = 2 × 288 ) distribution;

N ( µ = 288, σ 2 = 2 × 288 ) = N ( µ = 288, σ 2 = 24 2 ):


 312 − 288 
P ( X > 312 ) = P  Z >  = P ( Z > 1.00 ) = 0.1587.
 24 

ii) … χ 2 ( 288 d.f. ) distribution.

“Hint”: EXCEL =CHIDIST( x , degrees of freedom ) gives area to the right of x.

OR R > pchisq( x , degrees of freedom )gives area to the left of x.

=CHIDIST(312,288) 0.158391.
OR
> 1 - pchisq(312,df = 288)
[1] 0.1583908

e) Find the probability P ( 270 < X < 300 ) using …

i) … N ( µ = 288, σ 2 = 2 × 288 ) distribution;

 270 − 288 300 − 288 


P ( 270 < X < 300 ) = P  <Z< 
 24 24 
= P ( – 0.75 < Z < 0.50 ) = 0.6915 – 0.2266 = 0.4649.

ii) … χ 2 ( 288 d.f. ) distribution.

P ( 270 < X < 300 ) = P ( X > 270 ) – P ( X > 300 )

=CHIDIST(270,288)-CHIDIST(300,288) 0.468615.
OR
> pchisq(300,df = 288) - pchisq(270,df = 288)
[1] 0.4686153

You might also like