Transcript
Page 1: Statistics 300: Elementary Statistics

Statistics 300:Elementary Statistics

Sections 7-2, 7-3, 7-4, 7-5

Page 2: Statistics 300: Elementary Statistics

Parameter Estimation

• Point Estimate–Best single value to use

• Question–What is the probability this

estimate is the correct value?

Page 3: Statistics 300: Elementary Statistics

Parameter Estimation

• Question–What is the probability this

estimate is the correct value?

• Answer–zero : assuming “x” is a

continuous random variable

–Example for Uniform Distribution

Page 4: Statistics 300: Elementary Statistics

If X ~ U[100,500] then

• P(x = 300) = (300-300)/(500-100)

• = 0

100 300 400 500

Page 5: Statistics 300: Elementary Statistics

Parameter Estimation

• Pop. mean – Sample mean

• Pop. proportion– Sample proportion

• Pop. standard deviation– Sample standard deviation

x

s

p

p

Page 6: Statistics 300: Elementary Statistics

Problem with Point Estimates

• The unknown parameter (, p, etc.) is not exactly equal to our sample-based point estimate.

• So, how far away might it be?

• An interval estimate answers this question.

Page 7: Statistics 300: Elementary Statistics

Confidence Interval

• A range of values that contains the true value of the population parameter with a ...

• Specified “level of confidence”.

• [L(ower limit),U(pper limit)]

Page 8: Statistics 300: Elementary Statistics

Terminology

• Confidence Level (a.k.a. Degree of Confidence)

– expressed as a percent (%)

• Critical Values (a.k.a. Confidence Coefficients)

Page 9: Statistics 300: Elementary Statistics

Terminology

• “alpha” “” = 1-Confidence–more about in Chapter 7

• Critical values–express the confidence level

Page 10: Statistics 300: Elementary Statistics

Confidence Interval for lf is known (this is a rare situation)

nzE

Ex

2

Page 11: Statistics 300: Elementary Statistics

Confidence Interval for lf is known (this is a rare

situation)if x ~N(?,)

n

zx

2

Page 12: Statistics 300: Elementary Statistics

Why does the Confidence Interval for

look like this ?

n

zx

2

Page 13: Statistics 300: Elementary Statistics

score.-z a into

valuean make

),(~

xn

Nx

Page 14: Statistics 300: Elementary Statistics

)(

is expression

score-z general The

x

z

Page 15: Statistics 300: Elementary Statistics

n

unchanged

x

x

x

is

and

: is

,for

Page 16: Statistics 300: Elementary Statistics

n

xz

x

is on based

score-z a so

Page 17: Statistics 300: Elementary Statistics

%952)(

2

:statementy probabilit a Make

n

xP

Using the Empirical Rule

Page 18: Statistics 300: Elementary Statistics

Normal Distribution

0 . 0 0

0 . 0 5

0 . 1 0

0 . 1 5

0 . 2 0

0 . 2 5

0 . 3 0

0 . 3 5

0 . 4 0

0 . 4 5

-3 -2 -1 0 1 2 3

Value of Observation

Re

lati

ve

lik

elih

oo

d

2

2

Page 19: Statistics 300: Elementary Statistics

Check out the “Confidence z-scores”

on the WEB page.

(In pdf format.)

Page 20: Statistics 300: Elementary Statistics

Use basic rules of algebra to rearrange the parts of

this z-score.

Page 21: Statistics 300: Elementary Statistics

95.022

:statementy probabilit theManipulate

nx

nP

Page 22: Statistics 300: Elementary Statistics

95.022

:statementy probabilit theManipulate

nx

nxP

Confidence = 95% = 1 - 95% = 5%

= 2.5% = 0.025

Page 23: Statistics 300: Elementary Statistics

95.022

terms theoforder

thechange and (-1)by hrough multiply t

:statementy probabilit theManipulate

nx

nxP

Confidence = 95% = 1 - 95% = 5%

= 2.5% = 0.025

Page 24: Statistics 300: Elementary Statistics

Confidence Interval for lf is not known (usual situation)

n

stx

2

Page 25: Statistics 300: Elementary Statistics

Sample Size Neededto Estimate within E,with Confidence = 1-

2

E

Zn

Page 26: Statistics 300: Elementary Statistics

Components of Sample SizeFormula when Estimating

• Z/2 reflects confidence level

– standard normal distribution

• is an estimate of , the standard deviation of the pop.

• E is the acceptable “margin of error” when estimating

Page 27: Statistics 300: Elementary Statistics

Confidence Interval for p

• The Binomial Distribution gives us a starting point for determining the distribution of the sample proportion : p

trials

successes

n

xp ˆ

Page 28: Statistics 300: Elementary Statistics

For Binomial “x”

npq

np

Page 29: Statistics 300: Elementary Statistics

For the Sample Proportion

x is a random variablen is a constant

xnn

xp

Page 30: Statistics 300: Elementary Statistics

Time Out for a Principle:

If is the mean of X and “a” is a constant, what is the mean of aX?

Answer:

a

Page 31: Statistics 300: Elementary Statistics

Apply that Principle!

• Let “a” be equal to “1/n”

• so

• and

n

XX

naXp

pnpn

npaa xp

1

)(ˆ

Page 32: Statistics 300: Elementary Statistics

Time Out for another Principle:

If is the variance of X and “a” is a constant, what is the variance

of aX?

Answer:

2x

222xaX a

Page 33: Statistics 300: Elementary Statistics

Apply that Principle!

• Let x be the binomial “x”

• Its variance is npq = np(1-p), which is the square of is standard deviation

Page 34: Statistics 300: Elementary Statistics

Apply that Principle!

• Let “a” be equal to “1/n”

• so

• and

n

XX

naXp

)(/1 2222ˆ npqna Xp

Page 35: Statistics 300: Elementary Statistics

Apply that Principle!

n

pq

and

n

pqnpq

n

p

p

ˆ

21

Page 36: Statistics 300: Elementary Statistics

When n is Large,

n

pqpNp ,~ˆ

Page 37: Statistics 300: Elementary Statistics

What is a Large “n”in this situation?

• Large enough so np > 5

• Large enough so n(1-p) > 5

• Examples:– (100)(0.04) = 4 (too small)

–(1000)(0.01) = 10 (big enough)

Page 38: Statistics 300: Elementary Statistics

Now make a z-score

npq

ppz

ˆ

And rearrange for a CI(p)

Page 39: Statistics 300: Elementary Statistics

Make a probability statement:

ˆ1.96 1.96 95%

p pP

pqn

Using the Empirical Rule

Page 40: Statistics 300: Elementary Statistics

Normal Distribution

0 . 0 0

0 . 0 5

0 . 1 0

0 . 1 5

0 . 2 0

0 . 2 5

0 . 3 0

0 . 3 5

0 . 4 0

0 . 4 5

-3 -2 -1 0 1 2 3

Value of Observation

Re

lati

ve

lik

elih

oo

d

2

2

Page 41: Statistics 300: Elementary Statistics

Use basic rules of algebra to rearrange the parts of

this z-score.

Page 42: Statistics 300: Elementary Statistics

Manipulate the probability statement:

Step 1: Multiply through by :

ˆ1.96 1.96 0.95

pq

n

pq pqP p p

n n

Page 43: Statistics 300: Elementary Statistics

Manipulate the probability statement:

ˆStep 2: Subract from all parts of the expression:

ˆ ˆ1.96 1.96 0.95

p

pq pqP p p p

n n

Page 44: Statistics 300: Elementary Statistics

Manipulate the probability statement:

Step 3: Multiply through by -1:

(remember to switch the directions of < >)

ˆ ˆ1.96 1.96 0.95pq pq

P p p pn n

Page 45: Statistics 300: Elementary Statistics

Manipulate the probability statement:

Step 4: Swap the left and right sides to

put in conventional < < form:

ˆ ˆ1.96 1.96 0.95

p

pq pqP p p p

n n

Page 46: Statistics 300: Elementary Statistics

Confidence Interval for p(but the unknown p is in the formula. What can we do?)

n

pqzp

Page 47: Statistics 300: Elementary Statistics

Confidence Interval for p(substitute sample statistic for p)

n

qpzp

ˆˆˆ

2

Page 48: Statistics 300: Elementary Statistics

Sample Size Neededto Estimate “p” within E,

with Confid.=1-

qpE

Zn ˆˆ

2

2

2

Page 49: Statistics 300: Elementary Statistics

Components of Sample SizeFormula when Estimating “p”

• Z/2 is based on using the standard normal distribution

• p and q are estimates of the population proportions of “successes” and “failures”

• E is the acceptable “margin of error” when estimating

Page 50: Statistics 300: Elementary Statistics

Components of Sample SizeFormula when Estimating “p”

• p and q are estimates of the population proportions of “successes” and “failures”

• Use relevant information to estimate p and q if available

• Otherwise, use p = q = 0.5, so the product pq = 0.25

Page 51: Statistics 300: Elementary Statistics

Confidence Interval for starts with this fact

then

square) (chi ~

1 22

2

sn

),(~ if Nx

Page 52: Statistics 300: Elementary Statistics

What have we studied already that connects with

Chi-square random values?

square) (chi ~

1 22

2

sn

Page 53: Statistics 300: Elementary Statistics

2

2

2 2

2

2

11 1

xn

n s n

x

Page 54: Statistics 300: Elementary Statistics

22

2

2 a sum of squared

standard normal values

x x

z

Page 55: Statistics 300: Elementary Statistics

Confidence Interval for

2

2

2

2

1

1

L

R

snUB

snLB


Top Related