Docsity

Statistical Formulas for Estimation: Means, Proportions, and Differences - Prof. Mohammad , Study notes of Statistics

Toggle sidebar
bg1
Topics Review Part 3 Last Update: 3/24/2008
1
Abe Mirza Topics Review Statistic
Part III
Estimation
Topics
Page
Why do we need to estimate?
1
Formulas
3
Mean (Large Samples 30n>)
4
Mean (Small Samples 30n
≤
)
5
Proportion
6
Sample Size for the Estimation of Mean (μ)
7
Sample Size for the Estimation of
Proportion(P)
8
Two Populations 12
μ
μ
−
9
Two Populations 12
PP
−
10
Answers
11
Solutions 12-14
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Statistical Formulas for Estimation: Means, Proportions, and Differences - Prof. Mohammad and more Study notes Statistics in PDF only on Docsity!

Abe Mirza Topics Review Statistic

Part III

Estimation

Topics Page

Why do we need to estimate? 1

Formulas 3

Mean (Large Samples n > 30 ) 4

Mean (Small Samples n ≤ 30 ) 5

Proportion 6

Sample Size for the Estimation of Mean (μ) 7

Sample Size for the Estimation of

Proportion(P)

Two Populations μ 1 − μ 2 9

Two Populations P 1 − P 2 10

Answers 11

Solutions 12-

Estimation

WHAT DO STATISTICIANS DO?

Statisticians help determine the sampling and data collection methods monitor the execution of the study and the processing of data, and advise on the strengths and limitations of the results. They must understand the nature of uncertainties and be able to draw conclusions in the context of particular statistical applications.

Surveys : Survey statisticians collect information from a carefully specified sample and extend the results to an entire population. Sample surveys might be used to:

  • Determine which political candidate is more popular
  • Discover what foods teenagers prefer for breakfast
  • Estimate the number of children living in a given school district

Government Operations : Government statisticians conduct experiments to aid in the development of public policy and social programs. Such experiments include:

  • Consumer prices
  • Fluctuations in the economy
  • Employment patterns
  • Population trends

Scientific Research : Statistical sciences are used to enhance the validity of inferences in:

  • Radiocarbon dating to estimate the risk of earthquakes
  • Clinical trials to investigate the effectiveness of new treatments
  • Field experiments to evaluate irrigation methods
  • Measurements of water quality
  • Psychological tests to study how we reach the everyday decisions in our lives

Business and Industry : Statisticians quantify unknowns in order to optimize resources. They:

  • Predict the demand for products and services
  • Check the quality of items manufactured in a facility
  • Manage investment portfolios
  • Forecast how much risk activities entail, and calculate fair and competitive insurance rates.

Source: http://www.amstat.org/Careers/index.cfm?fuseaction=whatisstatistics

General example:

1. What is the average life of Diehard batteries? μ =?

2. What is the average waiting time at a supermarket register? μ =?

3. What is the average length of time to finish a 2-year degree? μ =?

  1. What percentage of college students graduate in 4 years? (^) P =?
  2. What percentage of Dell customers will be shopping again from Dell? P =?
  3. What percentage of DMV applicant will be passing driving test for the first time? P =?

7. What is the average difference in battery life between Diehard and Everlast brand? μ D −μ E =?

Estimating Population or True Mean μ ( σ is known and Large Samples, n > 30 )

μ = Population or true mean x = Sample mean μ = x ± E margin of error =

s E z n

(for z- value use web-table sheet page 3)

Example : To estimate the average life of Diehard batteries. A sample of 64 batteries showed that

x = 50 months , s = 10 months.

a) Construct a 95% confidence interval for average life of all Diehard batteries. b) Construct a 90% confidence interval for average life of all Diehard batteries. c) Construct a 99% confidence interval for average life of all Diehard batteries. d) Construct a 95% confidence interval for average life of all Diehard batteries if n = 100. e) Construct a 95% confidence interval for average life of all Diehard batteries if n = 36.

μ = Population or true mean x = Sample mean μ = x ± E margin of error =

s E z n

Observation: compared with part a, write how the error (smaller/ larger) and interval get changed ( narrower/ wider). Round answers in 2 decimal places. All Answers on page 12

Z n^ s

E z

n

μ = x ± E < μ <

Observation

Compare all parts to part (a), draw conclusion about E , Interval

a

z .95 =

1.96^64 1.96 10 2.

By 95% confidence, the average life of Diehard batteries is between 48 to 53 months

Leave it blank

b

z .90 =

E gets smaller ,

narrower Interval

c

z .99 =

E gets larger ,

wider Interval

d

z .95 =

100 E gets smaller ,

narrower Interval

e

z .95 =

36 E gets larger ,

wider Interval

H ome W ork: Please do p roblems 1,6,10,11,14,15, 16,18,35 from p ractice p roblems of part III

Estimating Population or True Mean μ ( σ is unknown, Small Samples n ≤ 30 )

Note 1: When σ (population Standard deviation) is unknown and n ≤ 30 , we use a different distribution called t-distribution,

μ = Population or true mean x = Sample mean μ = x ± E margin of error =

s E t n

(For t-value use P. 774 Triola or web-table sheet page 4)

Note 2: Finding the t-value based on a given confidence level and df = degree of freedom = n-

Ex 1 : a) 95% confidence level, n = 10 , df = 10 − 1 = 9 , ⇒ t-value will be ⇒ t =2.

Ex 2 : a) 99% confidence level, n = 13 , df = 13 − 1 = 12 , ⇒ t-value l Value will be ⇒ t =3.

Example : To estimate the average life of Diehard batteries. A sample of 16 batteries showed that

x = 50 months , s = 10 months.

a) Construct a 95% confidence interval for average life of all Diehard batteries. b) Construct a 90% confidence interval for average life of all Diehard batteries. c) Construct a 99% confidence interval for average life of all Diehard batteries. d) Construct a 95% confidence interval for average life of all Diehard batteries if n = 25. e) Construct a 95% confidence interval for average life of all Diehard batteries if n = 9.

. μ = Population or true mean x = Sample mean μ = x ± E margin of error =

s E t n

=

Observation: compared with part a, write how the error and interval get changed (smaller/ larger/ narrower/ wider). Round your answers in 2 decimal places.

n df=n- t =?

s

E t

n

μ = x ± E < μ <

Observation Compare all parts to part (a), draw conclusion about E , Interval

a

df=16- df =

t .95 =

2.

By 95% confidence, the average life of Diehard batteries is between 45 to 55 months

Leave it blank

b^16

df =

t .90 =

E gets smaller, ⇒

narrower Interval

c^16

df =

t .99 =

d^25 df =

t .95 =

e^9 E^ gets^ larger ,^ ⇒

wider Interval

H ome W ork: Please do p roblems 1,4,5,7,8,9,36,37 from p ractice p roblems of part III

Determining Sample Size for the Estimation of Mean (μ)

Use

2

zs

n

E

=^ ⎛^ ⎞

when s is known from prior information otherwise use

Range

s =

( for z- value use web-table sheet page 3)

Example : How many Diehard batteries need to be sample to estimate by 95% confidence level the mean life of its population? From a previous study, the standard deviation of batteries life was 6.2 months. The acceptable error for this estimation is to be within 2 months of the population mean?

Z.95 = 1.96 s = 6.2 months E = 2 months

2

n

batteries

Repeat the problems by changing

a) 95% confidence level to 99% confidence level b) 95% confidence level to 90% confidence level c) Error from 2 months to 1 month with 95 % confidence. d) Error from 2 months to 4 months with 95 % confidence.

Observation: compared with part example, write how the sample size gets changed (smaller/ larger)

and if possible by what proportion.

Case Z E S

2

zs

n

E

=^ ⎛^ ⎞

Observation

Compare all parts to example on this page and draw proper conclusion

a z .99 =

sample size gets larger

b z .90^ =

c z .95 =

sample size gets

larger about 4 times

d z .95 =

H ome W ork: Please do p roblems 25,26,27,28 from p ractice p roblems of part III

Determining Sample Size for the Estimation of Proportion(P)

Use

2

Z

n p p

E

= ⎛^ ⎞ −

when p ˆ is known from prior information otherwise use p ˆ =0.

( for z- value use web-table sheet page 3)

Example : How large should the sample size be if a researcher wants to estimate by 95% confidence the percentage of people who will vote for the next democratic candidate? In the last election he got 76% of the votes and the maximum error acceptable is 4%

Z. 95 = 1.96 p ˆ = .76 E = 4%

2

n

people needs to be sampled.

Repeat the problems by changing

a) 95% confidence level to 99% confidence level

b) 95% confidence level to 90% confidence level

c) Error from. 04 to .02 with 95% confidence level

d) Error from .04 to .08 with 95% confidence level

e) p ˆ^ is unknown with 95% confidence level

Observation: compared with part a, write how the sample size gets changed (smaller/ larger) and if

possible by what proportion.

Case Z E p ˆ

2 ˆ (1 ˆ)

Z

n p p E

= ⎛⎜^ ⎞⎟ −

Observation

Compare all parts to example on this page and draw proper conclusion

a z .99 =

sample size gets larger

b z .90 =

c z .95^ =

d z .95 =

sample size gets smaller

by one fourth

e

z .95 =

H ome W ork: Please do p roblems 22,23,24,29 from p ractice p roblems of part III

Estimating Difference between two Populations Proportions ( P 1 − P 2 )

Confidence interval between two population proportions. ( P 1 (^) − P 2 )

( for z- value use web-table sheet page 3)

Example. Find a 95% confidence interval between the proportions of female and male students who

are passing stat class. Pf − Pm =?

Female Male

n = students n f = 100 n m = 150

x = passing stat class x f = 73 x m = 87

Sample proportions for each one:

p ˆ f = =

p ˆ m = =

Point estimate ( p ˆ f − p ˆ m ) = .73 − .58 = .15 =15%

ˆ (^) f ( ˆ f ) (^) ˆ (^) m ( ˆ m )

f m

E Z

p p (^) p p n n

− (^) −

Pf − Pm = ( p ˆ f − p ˆ m )± E = 15% ±11.75% 3.25% < Pf − Pm <26.75%

Estimated percentage of female students passing stat class is higher than male from 3.3 to 26.8%.

Practice 1. Find a 99% confidence interval between the proportions of women and men who lived more than 65 years in Alaska.

Women Men

n = dead subject 240 400

x = lived longer than 65 years 144 192

Sample proportions for each group.

p ˆ w = =

p ˆ m = =

Point estimate ( p ˆ w − p ˆ m )=

ˆ (^) w ( ˆ (^) w ) ˆ (^) m ( ˆ m )

w m

E Z

p p p p n n

− −

H ome W ork: Please do p roblems 32, 34 from p ractice p roblems of part III

1 2 (^1 2 )^1 1 2

1 2

1 1 ˆ ˆ

p p E E Z

p p p p

P P

n n

Abe Mirza Answers Stat

P4-b) E = 2.06 (90%) μ = 50 ± 2.06 47.94 < μ < 52.

P4-c) E = 3.23 (99%) μ = 50 ± 3.23 46.77 < μ < 53.

P4-d) E =1.96 (n=100) μ = 50 ± 1.96 48.04 < μ < 51.

P4-e) E = 3.27 (n=36) μ = 50 ± 3.27 46.73 < μ < 53.

P5-b) E = 4.38 (90%) μ = 50 ± 4.38 45.62 < μ < 54.

P5-c) E = 7.37 (99%) μ = 50 ± 7.37 42.63 < μ < 57.

P5-d) E = 4.13 (n = 25) μ = 50 ± 4.13 45.87 < μ < 54.

P5-e) E = 7.69 (n = 9) μ = 50 ± 7.69 42.31 < μ < 57.

P6-b) E =4.652 % P = 20 % ± 4.65 % 15.35% < P < 24.65%

P6-c) E = 7.297 % P = 20 % ± 7.30% 12.70% < P < 27.30%

P6-d) E = 3.92 % P = 20 % ± 3.92 % 16.08% < P < 23.92%

P6-e) E = 9.6 % P = 20 % ± 7.84 % 12.16% < P < 27.84%

P7-a) 99% E =2 n = 64 P7-b) 90% E = 2 n = 27

P7-c) 95% E = 1 n = 148 P7-d) 95% E = 4 n = 10

P8-a) 99% E = .04 n = 759 P9-b ) 90% E = .04 n = 310

P8-c) 95% E = .02 n = 1752 P9-d ) 95% E = .08 n = 110

P8-e ) 95% E = .04 n = 601

P9) Diehard vs Everlast

10 2 82 1.645 2. 48 64

E = + = 1.11 < μ (^) D −μ E <6.

By 90% confidence, Diehard batteries on the average last between 1.11 to 6.89 months longer than Everlast.

P9) Regular Coke vs Regular Pepsi 0.00324 < μ 1 −μ 2 <0.

P10)

144 240

p ˆ w = =.

192 400

ˆ pm = = .48 Point estimate (^) ( p ˆ (^) w − p ˆ m (^) ) = (.60 − .48) = .12 =12%

Page 6 solutions

Z n

p ˆ (1 p ˆ) E z n

= P = p ˆ ± E < P <

Observation

Compare all parts to part (a), draw conclusion about E , Interval

b

z .90 =

.2 1 ( .2) 1.645. 200

−

= 20% ± 4.65% 15.35% < P <24.65%

E gets smaller , ⇒

narrower Interval

c

z .99 =

.2 1( .2) 2.58. 200

−

= 20% ± 7.30% 12.7% < P <27.3%

E gets larger , ⇒

wider Interval

d

z .95 =

.2 1( .2) 1.96. 400

−

= 20% ± 3.92% 16.08% < P <23.92%

E gets smaller , ⇒

narrower Interval

e (^100) .2 1( .2) 1.96. 100

−

= 20% ± 7.84% 12.16% < P <27.84%

E gets larger , ⇒

wider Interval

Page 7 solutions

Case Z E S

2

zs

n

E

=^ ⎛^ ⎞

Observation

Compare all parts to example on this page and draw proper conclusion

a z .99 =

n

sample size gets larger

b z .90^ =

n

sample size gets smaller

c z .95 =

n

sample size gets

larger about 4 times

d z .95 =

n

sample size gets smaller about one fourth

Page 8 solutions

Case Z E p ˆ

2 ˆ (^) (1 ˆ)

Z n p p E

= ⎛⎜^ ⎞⎟ −

Observation

Compare all parts to example on this page and draw proper conclusion

a z .99 =

2.58 .04^ 0.

2

n = ⎛⎜^ ⎞⎟ − = =

sample size gets larger

b z .90 =

1.645 .04^ 0.

2

n = ⎛⎜^ ⎞⎟ − = =

sample size gets smaller

c z .95 =

1.96 .02^.

n = ⎛⎜^ ⎞⎟ − = =

sample size gets

4 times larger

d z .95 =

1.96 .08^.

2

.76(1 .76) 109.49 110 .

n = ⎛⎜^ ⎞⎟ − = =

sample size gets smaller

by one fourth

e

z .95 =

1.96 .04^.

2

.50(1 .50) 600.25 601 .

n = − = =

sample size gets larger

Page 9

Diehard μ 1 Everlast μ 2

N 48 64

x 52 48

S 10 8

Point estimate = ( xD − xE )=(52 − 48) = 4

D E 1.645 2.

D E

s s E n n

= z + = + =

μ D −μ E = ( x D − x E ) ± E = 4 ±2.

1.19 < μ D −μ E < 6.

Page 10

Sample proportions for each group.

p ˆ w = = =

p ˆ m = = =

Point estimate (^) ( p ˆ^ w − p ˆ m (^) ) = .6 − .48 = 60% − 48% =12%

ˆ (^) w ( ˆ (^) w ) ˆ (^) m ( ˆ m )

w m

E Z

p p p p n n

− −

( Pw^ −^ Pm^ )=( p ˆ^ w^ −^ p ˆ m^ ) ±^ E =^ 12%^ ±10.2% 1.8%^ <^ Pw^ −^ Pm <22.2%