m33 confidence intervals 1 department of ism, university of alabama, 1995-2003 confidence intervals...

26
M33 Confidence intervals Department of ISM, University of Alabama, 1995-2003 Confidence Interval onfidence Interval Estimation Estimation

Upload: lily-donna-sherman

Post on 12-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 1 Department of ISM, University of Alabama, 1995-2003

Confidence IntervalsConfidence Intervals

EstimationEstimation

Page 2: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 2 Department of ISM, University of Alabama, 1995-2003

Lesson ObjectiveLesson Objective Learn how to Learn how to constructconstruct a a

confidence interval estimate confidence interval estimate for many situations.for many situations.

L.O.P.L.O.P. Understand the Understand the meaningmeaning

of being “95%” confident of being “95%” confident by using a simulation.by using a simulation.

Learn how confidence intervalsLearn how confidence intervalsare used in are used in making decisionsmaking decisionsabout population parameters.about population parameters.

Page 3: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 3 Department of ISM, University of Alabama, 1995-2003

Statistical Inference

Generalizing from a sample to a population,

by using a statisticto estimate

a parameter.

Goal: Goal: To make a decision.To make a decision.

Page 4: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 4 Department of ISM, University of Alabama, 1995-2003

Estimation of parameter: 1. Point estimators 2. Confidence intervals

Statistical Inference

Testing parameter values using: 1. Confidence intervals

2. p-values 3. Critical regions.

Page 5: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 5 Department of ISM, University of Alabama, 1995-2003

Confidence Interval

point estimate ± margin of error point estimate ± margin of error

Choose the appropriate Choose the appropriate statisticstatisticand its corresponding and its corresponding m.o.e.m.o.e.based on the problem that is tobased on the problem that is tobe solved.be solved.

Page 6: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Diff. of two proportions, p1 - p2 :

A (1-A (1-)100% confidence interval estimate of a parameter is)100% confidence interval estimate of a parameter is

21 ˆˆ pp 1 1 2 2α2 1 2

p (1-p p (1-pm.o.e. = Z +

n n

ˆ ˆ ˆ ˆ) )

21 xx 2 21 2

α2 1 2

s sm.o.e. = Z +

n n

Proportion, p: α2

m.o.e. = Z p(1-p) nˆ ˆ

α2

σm.o.e. = Zn

Mean, if is known:

α( , n-1)2

sm.o.e. = tn

PopulationParameter Point Estimator Margin of Error

at (1-)100% confidence

Mean, if is unknown:

/ ,p X n

x

x

point estimatepoint estimate m.o.e.m.o.e.

Estimation of Parameters

Diff. of two means, 1 - 2 :

(for large sample sizes only)

α( , n-2)2

sm.o.e. = tEqu.2

Slope of regression line, :

b

* 2

α( , n-2)2

1 (x -x)m.o.e.=t s +

n Equ.2

Mean from a regression when X = x*:

*ˆ bxay where s MSE

Formula Sheet

Formula Sheet

Page 7: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Proportion, p:

Mean, if is known:

PopulationParameter Point Estimator Margin of Error

at (1-)100% confidence

Mean, if is unknown:

2

ˆ ˆ. . . (1 )mo e Z p p n

2. . .mo e Z

n

( , 1)2. . .

nsmo e tn

/ ,p X n

x

x

A (1-A (1-)100% confidence interval estimate of a parameter is)100% confidence interval estimate of a parameter is

point estimatepoint estimate m.o.e.m.o.e.

Estimation of Parameters

Page 8: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 8 Department of ISM, University of Alabama, 1995-2003

When is the population of all possible X values Normal?

Anytime the original pop.

is Normal, (“exactly” for any n).

Anytime the original pop.

is not Normal, but n is BIG; (n > 30).

Page 9: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 9 Department of ISM, University of Alabama, 1995-2003

Margin of Error for 95% confidence:

= 1.96 n

To get a smaller Margin of Error:

Page 10: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 10 Department of ISM, University of Alabama, 1995-2003

Confidence Intervalspoint estimate ± margin of error point estimate ± margin of error

Estimate the true mean net weight of Estimate the true mean net weight of 16 oz. bags of Golden Flake Potato Chips 16 oz. bags of Golden Flake Potato Chips with a 95% confidence interval. with a 95% confidence interval. Data:Data:

= .24 oz. = .24 oz. (True population standard deviation.)(True population standard deviation.)

Sample size = 9.Sample size = 9.

Sample mean = 15.90 oz.Sample mean = 15.90 oz.

Distribution of individual bags is ______ .Distribution of individual bags is ______ .Must assumeMust assumeori. pop. is ori. pop. is

NormalNormal

Must assumeMust assumeori. pop. is ori. pop. is

NormalNormal

Page 11: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 11 Department of ISM, University of Alabama, 1995-2003

For 95% confidencewhen is known:

= .24 oz. = .24 oz.

n = 9.n = 9.

X = 15.90 oz.X = 15.90 oz.m.o.e. =

95% confidence interval for :15.90

Page 12: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 12 Department of ISM, University of Alabama, 1995-2003

““I am 95% confident thatI am 95% confident thatthe true mean net weight ofthe true mean net weight ofGolden Flake 16 oz. bags of potato chips Golden Flake 16 oz. bags of potato chips falls in the interval falls in the interval 15.547215.5472 to to 16.2528 oz16.2528 oz.”.”

Statement in the L.O.P. Statement in the L.O.P.

A statement in A statement in L.O.P.L.O.P. must contain four parts: must contain four parts: 1. amount of 1. amount of confidenceconfidence.. 2. the 2. the parameterparameter being estimated in being estimated in L.O.P.L.O.P. 3. the 3. the populationpopulation to which we generalize to which we generalize in in L.O.P.L.O.P. 4. the calculated 4. the calculated intervalinterval. .

Page 13: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 13 Department of ISM, University of Alabama, 1995-2003

Meaning of being 95% Confident

If we took many, many, samples from the same population, under the same conditions, and weconstructed a 95% CI from each,

then we would expect that 95% of all these many, many different confidence intervals would contain the true mean,and 5% would not.

Page 14: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Reality: We will take only ONE sample.

X-axis

+ m.o.e.+ m.o.e. m.o.e. m.o.e.

Is the true population mean in this interval?Is the true population mean in this interval?

I cannot tell with certainty; I cannot tell with certainty;

but I am 95% confident it does. but I am 95% confident it does.

XX

15.7 16.115.9

Page 15: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Question of interest:Question of interest: Is there evidence Is there evidence that the hypothesized mean is that the hypothesized mean is not true, not true,

at the at the ““”” level of significance level of significance??

Making a decision using a CI.Making a decision using a CI.Making a decision using a CI.Making a decision using a CI.

If the “hypothesized value” If the “hypothesized value” is insideis inside the CI, the CI,

this value this value may bemay be a plausible value. a plausible value.Make a Make a vaguevague conclusion. conclusion.

If the “hypothesized value” If the “hypothesized value” is notis not in the CI, in the CI,

this value this value IS NOTIS NOT a plausible value. a plausible value.Reject it! Make a Reject it! Make a strongstrong conclusion. conclusion.Take appropriate action!Take appropriate action!

Page 16: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 16 Department of ISM, University of Alabama, 1995-2003

Confidence level = 1 Confidence level = 1

Level of significance = Level of significance = = .95= .95

= .05= .05

Page 17: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 17 Department of ISM, University of Alabama, 1995-2003

The “true” populationThe “true” population mean is hypothesized mean is hypothesized

to be 13.0.to be 13.0.

X-axis

Population ofPopulation ofall possibleall possible

X-bar values,X-bar values,assuming . . . .assuming . . . .

My ONEMy ONEsample mean.sample mean.

My My ONEONEConfidence Interval.Confidence Interval.

Conclusion:The hypothesis is wrong. The “true”

mean not 13.0!

13.0 does NOT fall in 13.0 does NOT fall in my confidence interval; my confidence interval;

it is not a plausible mean. it is not a plausible mean.

10.210.25.65.6 7.97.9

MiddleMiddle95%95%

Page 18: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 18 Department of ISM, University of Alabama, 1995-2003

The “true” populationThe “true” population mean is hypothesized mean is hypothesized

to be 13.0.to be 13.0.

Conclusion:The hypothesis is wrong. The “true”

mean not 13.0!

13.0 does NOT fall in 13.0 does NOT fall in my confidence interval; my confidence interval;

it is not a plausible mean. it is not a plausible mean.

The data convince me the true

mean is smaller

than 13.0,around

7.9!

10.210.25.65.6 7.97.9

X-axis

A more likely locationof the population.

Page 19: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Net weight of potato chip bagsshould be 16.00 oz.FDA inspector takes a sample.

If 95% CI is, say, If 95% CI is, say, (15.81 to 15.95),(15.81 to 15.95),

If 95% CI is, say, If 95% CI is, say, (15.71 to 16.05),(15.71 to 16.05),

then 16.00 then 16.00 is NOTis NOT in the interval. in the interval.

Therefore, Therefore, rejectreject 16.00 as a plausible 16.00 as a plausiblevalue. value. Take action against the company.Take action against the company.

X = 15.88

then 16.00 then 16.00 ISIS in the interval.in the interval.

Therefore, __________________________Therefore, ________________________________________________________________________________________________

X = 15.88

Page 20: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

Net weight of potato chip bagsshould be 16.00 oz.FDA inspector takes a sample.

then 16.00 then 16.00 is NOTis NOT in the interval. in the interval.

Therefore, Therefore, ____________________________________________________..But, the FDA does not care thatBut, the FDA does not care thatthe company is giving away potato chips.the company is giving away potato chips.

The FDA would obviously _____________ The FDA would obviously _____________ against the companyagainst the company

X = 16.10If 95% CI is, say, If 95% CI is, say, (16.05 to 16.15),(16.05 to 16.15),

Page 21: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 21 Department of ISM, University of Alabama, 1995-2003

Meaning of being 95% Confident

If we took If we took many, many,many, many, samples samples from the same population, from the same population, under the same conditions, and weunder the same conditions, and weconstructed a 95% CI from each,constructed a 95% CI from each,then we would expect that then we would expect that 95%95% of all these of all these many, manymany, many different confidence intervals different confidence intervals would containwould contain the true mean, the true mean,and and 5% would not5% would not..

Recall

Page 22: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M32 Margin of Error 22 Department of ISM, University of Alabama, 1995-2002

Interpretation of “Margin of Error”

A sample mean X calculated from a simple random sample has a 95% chance of being “within the range of the true population mean, plus and minus the margin of error.”

Truemean

Truemean+ m.o.e.True

mean - m.o.e.

A sample mean is likely to fall in thisinterval, but it may not.

Page 23: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M32 Margin of Error 23 Department of ISM, University of Alabama, 1995-2002

X-axis

A common misconception m.o.e.

This region DOES contain 95% of all possible X-bars.

.95

A random x-bar

X-axisX

X m.o.e.

This region DOES NOT.

Green area

Green area

smaller than

smaller than

yellow area.

yellow area.Green area

Green area

smaller than

smaller than

yellow area.

yellow area.

Page 24: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 24 Department of ISM, University of Alabama, 1995-2003

Is our confidence interval one ofIs our confidence interval one ofthe 95%, or one of the 5%?the 95%, or one of the 5%?

Does the true population mean Does the true population mean lie between 15.7 and 16.1?lie between 15.7 and 16.1?

Does the sample mean Does the sample mean lie between 15.7 and 16.1?lie between 15.7 and 16.1?

What is the probability that What is the probability that lies between 15.7 and 16.1? lies between 15.7 and 16.1?

Concept questions.Concept questions.Our 95% confidence interval is 15.7 to 16.1. X = 15.9

Yes or No or ?Yes or No or ?

Page 25: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 25 Department of ISM, University of Alabama, 1995-2003

Concept questions.Concept questions.Our 95% confidence interval is 15.7 to 16.1.

Do 95% of the sample data lie Do 95% of the sample data lie between 15.7 and 16.1?between 15.7 and 16.1?

If the confidence level is higher,If the confidence level is higher,will the interval width be wider?will the interval width be wider?

Is the probability .95 that a Is the probability .95 that a futurefuture sample sample mean will lie between 15.7 and 16.1?mean will lie between 15.7 and 16.1?

Do 95% of all possible sample means Do 95% of all possible sample means lie between lie between e.m. e.m. and and + e.m. + e.m.??

X = 15.9

Yes or No or ?Yes or No or ?

Page 26: M33 Confidence intervals 1  Department of ISM, University of Alabama, 1995-2003 Confidence Intervals Estimation

M33 Confidence intervals 26 Department of ISM, University of Alabama, 1995-2003

End of File M33End of File M33