confidence intervals - mrs. palmer's math...

26
Confidence Intervals Chapter 10

Upload: others

Post on 19-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Confidence IntervalsChapter 10

Page 2: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Confidence Intervals

•_____________ ___________: provides methods of drawing conclusions about a population from sample data.

• In formal inference we use ___________ to express the strength of our conclusions about a population from sample data. •When you use ___________ ____________you

are acting as if the data were a __________ __________or come from a _________________ experiment.

Page 3: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example

•Suppose you want to estimate the mean SAT-M score for more than 350,000 high school seniors in California. Only 49% of California students take the SAT. These self-selected seniors are planning on attending college and so are not representative of all California seniors. You know better than to make inference about the population based on any sample data. So, you give the test to an SRS of 500 California seniors. The mean for your sample is x-bar = 461. (Let us suppose we know the standard deviation of SAT-M scores in the population of all California seniors is s = 100.) What can you say about the mean score m of the population of all 350,000 seniors?

Page 4: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example

•What are the basic facts about the sampling distribution of x-bar?

1. The ________ tells us the mean (x-bar) of 500 scores has a distribution close to ___________.

2. The ____________ of a normal sampling distribution is the ___________ as the __________ ________(__) of an entire population.

3. The ___________ _____________of x-bar for an SRS of 500 students is

Page 5: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example•The _____________ rule says that in 95% of all samples, the mean score x-bar for the sample will be within _______ standard deviations of the population mean . So the mean of 500 SAT-M scores will be within _____ points of min _______of all samples.

•Whenever x-bar is within 9 points of the unknown m, m is within 9 points of all observed x-bars. This happens in ______of all samples.

•So in 95% of all samples, the unknown m lies within ________and ________.

Page 6: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example

Page 7: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example•Our sample gave x-bar = 461. We say that we are

________ confident that the unknown mean SAT-M score for all California high school seniors lies between ____________and ___________.

•Either you do or do not catch the ______ ____ in your interval. If you are 95% confident that the unknown m lies between a and b (where a and b are values) you are saying that we got these numbers by _____________ that gives correct results ________ of the time.

Page 8: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence
Page 9: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

A LEVEL C CONFIDENCE INTERVAL for a parameter has two parts:

1. An interval calculated from the data, usually of the form ____________ ± _____________

•The estimate is our ________ for the value of the unknown _____________. The margin of error shows ______ _____________we believe our guess is, based on the ______________ of the estimate.

1. A confidence level C, which gives the probability that the interval will ____________ the ______ _____________ value in ____________ samples.

Page 10: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

CONSTRUCTING A CONFIDENCE INTERVAL

•The construction of a _____________ _____________for a population mean ____is appropriate when:

1. The data comes from an ________ from the population of interest.

2. The sampling distribution of x-bar is _____________ _____________.

Page 11: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

CRITICAL VALUES• The number z* with probability p lying to its ___________ under the

standard normal curve is called the ___________ ____ ____________ ___________of the standard normal distribution.

Page 12: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example

•To find an 80% confidence interval, we must capture the middle 80% of the normal sampling distribution of x-bar.

• To do so we need to leave out _________in each tail. So z* is the point with area ______ to its right (or _______ to its left) on the standard normal curve.

•For 80% z* = ________, so and on a standard normal curve an 80% confidence interval lies between _________and _________

Page 13: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example

Page 14: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Using the z table…

Confidence

levelTail Area z*

90% .05 1.645

95% .025 1.960

99% .005 2.576

14

Page 15: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Practice

•Find z* for a 75% confidence interval.

Page 16: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

CONFIDENCE INTERVAL FOR A POPULATION MEAN

• An SRS of size n from a population having an ___________ ________ ____and a ___________ standard deviation s has a level C confidence interval for m as below:

This interval is ___________ when the population distribution is normal and approximately correct for large values of n.

nzx

s*

Page 17: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Conditions for a Z-interval:

•1.

•2.

•3.

Page 18: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

PANICP:

A:

N:

I:

C:

Steps to Construct ANY Confidence Interval

Page 19: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example 1

Every week, a website displays the average price of a gallon of regular gasoline nationwide. This is based on a random poll of 80 gas stations. Suppose the average price was $2.94 and historically the standard deviation of a gallon of gas was 8.3 cents.

What is the 95% confidence interval for the price of a gallon of gasoline nationwide?

Page 20: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example 2

A study of the career paths of hotel general managers sent questionnaires to an SRS of 175 hotels belonging to major U.S. hotel chains. There were 123 responses. The average time these 123 managers spent with their company was 10.61 years. Give the following confidence intervals for the mean number of years of major-chain hotel managers have spent with their current company. (Take it as known that the standard deviation of time spent with their company for all general managers is 2.9 years).

a.) 90% b) 95% c) 99%

Page 21: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Behavior of Confidence Intervals

• The margin of error is

•A ____________ margin of error says that we have gotten really close to the parameter. We want _________ confidence and ___________ margin of errors which make small intervals.

•Margin of error gets smaller when1. z* gets __________ – same as smaller confidence level C

• (to obtain a __________ margin of error you must be willing to accept ___________ confidence)

2. ____ gets smaller – a small _____ means smaller variation

3. ______ gets larger

Page 22: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

SAMPLE SIZE MANUFACTURING

•To determine the sample size n that will yield a confidence interval for population mean with specified margin of error , ME, set the expression for the margin of error to be _____________or _______ to ______ and solve:

Page 23: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

Example 3

The standard deviation of the lifetime of a certain brand of tire is 2,825 miles. The tire company wishes to estimate the average lifetime of that tire with 95% confidence with a margin of error of 1,000 miles. How many times should it sample?

Page 24: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

CAUTIONS!!

1. The data must be an ________ from the population.

2. The formula is ______ ____________for probability sampling designs more complex than an SRS.

3. There is no correct method for inference from data haphazardly collected with________of unknown ________. Fancy formulas cannot rescue badly produced data.

4. Because is strongly influence by a few extreme observations, ___________ can have a _______ effect on confidence intervals. You should search for outliers and try to __________ them or justify their __________.

Page 25: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

CAUTIONS!!

5. If the __________ _________is small and the population ________ _________the true confidence level will be different from the value C used in computing the interval. Examine your data carefully for ___________ and other signs of __________________.

6. You must know the _____________ ____________ ___ of the population. This unrealistic requirement has little use in statistical practice. We will learn in the next chapter what to do when is unknown.

Page 26: Confidence Intervals - Mrs. Palmer's Math Classesmrslpalmer.weebly.com/uploads/5/8/8/1/58817119/... · 5. If the procedure were repeated many times, 95% of the resulting confidence

You measure the blood pressure of 25 employees of a company. A 95% confidence interval for the mean BP is (122, 138). What is a valid interpretation of the confidence interval?

1. 95% of the sample of employees has a BP between 122 and 138.

2. 95% of the population of employees has a BP between 122 and 138.

3. The probability that the population BP is between 122 and 138 is 0.95.

4. If the procedure were repeated many times, 95% of the sample means would be between 122 and 138.

5. If the procedure were repeated many times, 95% of the resulting confidence intervals would contain the population mean BP

6. We are 95% confident that the true population BP is between 122 and 138.

7. If the procedure were repeated many times, 95% of the time the true population would be between 122 and 138.

8. The probability that our procedure will generate a confidence interval containing the true mean is 95%.