confidence intervals for the mean · standard deviation of the depths measured was 4.38 feet. depth...

56
Confidence Intervals for the Mean When is known

Upload: others

Post on 10-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals for the MeanWhen 𝜎 is known

Page 2: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Objective

´Find the confidence interval for the mean when s is known.

Page 3: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Intro

´Suppose a college president wishes to estimate the average age of students attending classes this semester. The president could select a random sample of 100 students and find the average age of these students, say, 22.3 years. From the sample mean, the president could infer that the average age of all the students is 22.3 years.

´This type of estimate is called a __________ ________________.

Page 4: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Determine why other measures of central tendency, such as the median and mode, are not used to estimate the population mean.

Sample measures (i.e., statistics) are used to estimate population measures (i.e., parameters). These statistics are called ________________ .

Page 5: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

A Good Estimator

´The estimator should be an __________ estimator. That is, the expected value or the mean of the estimates obtained from samples of a given size is equal to the parameter being estimated.

´The estimator should be ______________; i.e., as sample size increases, the value of the estimator approaches the value of the parameter estimated.

´The estimator should be a __________ ___________ estimator. That is, of all the statistics that can be used to estimate a parameter, the relatively efficient estimator has the smallest variance.

Page 6: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals

´An ____________ _____________ of a parameter is an interval or a range of values used to estimate the parameter. This estimate may or may not contain the value of the parameter being estimated. ´The parameter is specified as being between two

values. For example, an interval estimate for the average age of all students might be 26.9 m 27.7, or 27.3 0.4 years.

Page 7: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals

´The ________________ ____________ of an interval estimate of a parameter is the probability that the interval estimate will contain the parameter, assuming that a large number of samples are selected and that the estimation process on the same parameter is repeated.

´A ___________________ _______________ is a specific interval estimate of a parameter determined by using data obtained from a sample and by using the specific confidence level of the estimate.

Page 8: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals

´Three common confidence intervals are used: the 90, the 95, and the 99% confidence intervals.

´The central limit theorem states that when the sample size is large, approximately 95% of the sample means taken from a population and same sample size will fall within 1.96 standard errors of the population mean, that is,

´

Page 9: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

´ The ____________________________________ is the maximum likely difference between the point estimate of a parameter and the actual value of the parameter.

´ Rounding Rule for a Confidence Interval for a Mean When you are computing a confidence interval for a population mean by using raw data, round off to one more decimal place than the number of decimal places in the original data.

Page 10: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Example #1: Days It Takes to Sell an Aveo

´A researcher wishes to estimate the number of days it takes an automobile dealer to sell a Chevrolet Aveo. A sample of 50 cars had a mean time on the dealer’s lot of 54 days. Assume the population standard deviation to be 6.0 days. Find the best point estimate of the population mean and the 95% confidence interval of the population mean.

Page 11: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Example #1: Days It Takes to Sell an Aveo

Page 12: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Example #2: Ages of Automobiles

´A survey of 30 adults found that the mean age of a person’s primary vehicle is 5.6 years. Assuming the standard deviation of the population is 0.8 year, find the best point estimate of the population mean and the 99% confidence interval of the population mean.

Page 13: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Example #2: Ages of Automobiles

Page 14: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

You Do!

´Data on a sample of the assets (in millions of dollars) of 30 credit unions in southwestern Pennsylvania has been used. The mean is 11.091. Assume the standard deviation of the population is 14.405. Find the 90% confidence interval of the mean.

Page 15: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

You Do!

Page 16: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Do Now / Warm-up´ A recent study showed that high school students experience

an average of 4.8 hours per day of distractions (phone calls, e-mails, side conversations, etc.). A random sample of 100 high school students in P.K. Yonge for the Statistics instructor found that these students were distracted an average of 3.6 hours per day and the population standard deviation was 45 minutes. Estimate the true mean population distraction time with 95% confidence, and compare your answer to the results of the study.

Page 17: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals for the MeanSample size

Page 18: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Objective

´Determine the minimum sample size for finding a confidence interval for the mean.

Page 19: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Sample Size´ Sample size determination is closely related to statistical estimation.

´ In stats and research, quite often you ask: How large a sample is necessary to make an accurate estimate?

´ The answer is not simple, since it depends on three things: ´ #1: ____________________________________________

´ #2: ____________________________________________

´ #3: ____________________________________________

´ How close to the true mean do you want to be (2 units, 5 units, etc.)?

´ How confident do you wish to be (90, 95, 99%, etc.)?

´ Assumption in this topic: population standard deviation of the variable is known or has been estimated from a previous study.

Page 20: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Sample Size Formula

´ The formula for sample size is derived from the maximum error of the estimate formula and solved for 𝑛.

Page 21: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Depth of a River´ A scientist wishes to estimate the average depth of a

river. He wants to be 99% confident that the estimate is accurate within 2 feet. From a previous study, the standard deviation of the depths measured was 4.38 feet.

Page 22: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Depth of a River´ A scientist wishes to estimate the average depth of a

river. He wants to be 99% confident that the estimate is accurate within 2 feet. From a previous study, the standard deviation of the depths measured was 4.38 feet.

´ Round the value 31.92 up to 32. Therefore, to be 99% confident that the estimate is within 2 feet of the true mean depth, the scientist needs at least a sample of 32 measurements.

Page 23: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Health Insurance Coverage for Children

´ A federal report stated that 88% of children under age 18 were covered by health insurance in 2000. How large a sample is needed to estimate the true proportion of covered children with 90% confidence with a confidence interval 0.05 wide?

Page 24: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Health Insurance Coverage for Children´ A federal report stated that 88% of children under age 18 were

covered by health insurance in 2000. How large a sample is needed to estimate the true proportion of covered children with 90% confidence with a confidence interval 0.05 wide?

´ Solution: It does not give you a standard deviation, so for now, you can’t determined!

´ Answer is 460, because there is a way to estimate when standard deviation is not known and information is given in proportions (for example, 88% of the children)

´ 𝒏 = 𝒑𝒒 𝒛𝑬

𝟐= (𝟎. 𝟖𝟖)(𝟎. 𝟏𝟐) 𝟏.𝟔𝟓

𝟎.𝟎𝟐𝟓

𝟐= 𝟒𝟓𝟗. 𝟗𝟗 ≈ 𝟒𝟔𝟎

Page 25: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Health Insurance Coverage for Children

´ A federal report stated that 88% of children under age 18 were covered by health insurance in 2000. How large a sample is needed to estimate the true proportion of covered children with 90% confidence with a confidence interval 0.05 wide?

Page 26: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Health Insurance Coverage for Children´ A federal report stated that 88% of children under age 18 were

covered by health insurance in 2000. How large a sample is needed to estimate the true proportion of covered children with 90% confidence with a confidence interval 0.05 wide?

´ Solution: It does not give you a standard deviation, so on Wednesday, you weren’t able to determine it!

´ Answer is 460, because there is a way to estimate when standard deviation is not known and information is given in proportions (for example, 88% of the children)

´ 𝒏 = 𝒑𝒒 𝒛𝑬

𝟐= (𝟎. 𝟖𝟖)(𝟎. 𝟏𝟐) 𝟏.𝟔𝟓

𝟎.𝟎𝟐𝟓

𝟐= 𝟒𝟓𝟗. 𝟗𝟗 ≈ 𝟒𝟔𝟎

Page 27: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals for the MeanWhen 𝜎 is unknown

Page 28: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Objective

´ Find the confidence interval for the mean when 𝜎 is unknown.

Page 29: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

What we know so far…

´When 𝜎 is known and the sample size is 30 or more, or the population is normally distributed if sample size is less than 30, the confidence interval for the mean can be found by using the z distribution

Page 30: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

However,

´Most of the time, the value of 𝜎 is not known so it must be estimated by using 𝑠, namely, the standard deviation of the sample.

´When 𝑠 is used, especially when the sample size is small, critical values greater than the values for the z distribution are used in confidence intervals in order to keep the interval at a given level, such as the 95%.

´These values are taken from the Student 𝒕distribution, most often called the _____________.

Page 31: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Characteristics of the 𝑡 distribution

´The 𝑡 distribution shares some characteristics of the normal distribution: ´It is bell-shaped.´It is symmetric about the mean.´The mean, median, and mode are equal to 0

and are located at the center of the distribution.´The curve never touches the x axis.

Page 32: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Characteristics of the 𝑡 distribution

´The𝑡distribution differs from the standard normal distribution in:´The variance is greater than 1.´The t distribution is actually a family of curves

based on the concept of degrees of freedom, which is related to sample size.

´As the sample size increases, the t distribution approaches the standard normal distribution.

Page 33: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Degrees of Freedom

´Many statistical distributions use the concept of degrees of freedom, and the formulas for finding the degrees of freedom vary for different statistical tests.

´ The degrees of freedom are the number of values that are free to vary after a sample statistic has been computed, and they tell the researcher which specific curve to use when a distribution consists of a family of curves.

´ The symbol d.f. will be used for degrees of freedom. The degrees of freedom for a confidence interval for the mean are found by subtracting 1 from the sample size. That is, d.f. = n – 1.

Page 34: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is
Page 35: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Find the 𝒕𝜶/𝟐 value for a 95% confidence interval when the sample size is 22.

Page 36: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Sleeping Time

´Ten randomly selected people were asked how long they slept at night. The mean time was 7.1 hours, and the standard deviation was 0.78 hour. Find the 95% confidence interval of the mean time. Assume the variable is normally distributed.

Page 37: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Sleeping Time

Page 38: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Home Fires Started by Candles´Data from the National Fire Protection

Association on a sample of the number of home fires started by candles for the past several years have a mean of 7,041.4 and a standard deviation of 1,610.3. Find the 99% confidence interval for the mean number of home fires started by candles each year.

Page 39: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Home Fires Started by Candles

Page 40: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

DO NOW

´ Find your number in the lists posted in the bulletin boards (back wall and main entrance).

´ Find the seat with your number and that will be your seat from now on.

´ SILENCE YOUR PHONE and put it in the pocket that has your number in the bulletin board (back wall).

´NO EXCEPTIONS and NO PHONES in backpack. If I see your phone, I will take it!!!

´No food allowed in my room. Finish your food outside before you enter my classroom.

Page 41: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals and Sample Size for Proportions

Page 42: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Objectives

´Find the confidence interval for a proportion.

´Determine the minimum sample size for finding a confidence interval for a proportion.

Page 43: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Proportions

´ In USA TODAY it was revealed that 12%of the pleasure boats in the United States were named Serenity.

´ The parameter 12% is called a ________________. ´It means that of all the pleasure boats in the United

States, 12 out of every 100 are named Serenity. ´A proportion represents a __________ of a whole. It

can be expressed as a fraction, decimal, or percentage.

´Proportions can also represent probabilities. ´In this case, if a pleasure boat is selected at random,

the probability that it is called Serenity is ____________.

Page 44: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

For example,

´ In a study, 200 people were asked if they were satisfied with their job or profession; 162 said that they were. If �̂� represents the proportion of those surveyed who were satisfied with their job or profession, determine the value of 𝑞*.

Page 45: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

For example,

´ In a study, 200 people were asked if they were satisfied with their job or profession; 162 said that they were. If �̂� represents the proportion of those surveyed who were satisfied with their job or profession, determine the value of 𝑞*.

𝒑, =𝟏𝟔𝟐𝟐𝟎𝟎 = 𝟎. 𝟖𝟏

The proportion of people who did not respond favorably when asked if they were satisfied with their job or profession constituted 𝒒,.

𝒒, = 𝟏 − 𝒑, = 𝟏 − 𝟎. 𝟖𝟏 = 𝟎. 𝟏𝟗

Page 46: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Air Conditioned Households

´ In a recent survey of 150 households, 54 had central air conditioning. Find �̂� and 𝑞*, where �̂� is the proportion of households that have central air conditioning.

Page 47: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Air Conditioned Households

´ In a recent survey of 150 households, 54 had central air conditioning. Find �̂� and 𝑞*, where �̂� is the proportion of households that have central air conditioning.

𝒑, =𝟓𝟒𝟏𝟓𝟎 = 𝟎. 𝟑𝟔

The proportion of households that do not have central air conditioned constituted 𝒒,.

𝒒, = 𝟏 − 𝒑, = 𝟏 − 𝟎. 𝟑𝟔 = 𝟎. 𝟔𝟒

Page 48: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Confidence Intervals

´ To construct a confidence interval about a proportion, you must use the maximum error of the estimate, which is

´Remember that �̂�𝑛 ≥ 5 and 𝑞*𝑛 ≥ 5.´ When you find 𝐸 you add it to and subtract it from the

proportion.´Rounding Rule for a Confidence Interval for a

Proportion Round off to three decimal places.

𝑬 = 𝒛𝜶/𝟐𝒑,𝒒,𝒏

Page 49: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Male Nurses

´A sample of 500 nursing applications included 60 from men. Find the 90%confidence interval of the true proportion of men who applied to the nursing program.

Page 50: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Male Nurses´A sample of 500 nursing applications included 60

from men. Find the 90%confidence interval of the true proportion of men who applied to the nursing program.

´… true proportion of men who applied to the nursing program. This is 0.12 ± 𝑒𝑟𝑟𝑜𝑟.

´ Hence, you can be 90%confident that the percentage of applicants who are men is between 9.6 and 14.4%.

𝑬 = 𝒛𝜶/𝟐𝒑,𝒒,𝒏

�= 𝟏. 𝟔𝟓

𝟎. 𝟏𝟐 (𝟎. 𝟖𝟖)𝟓𝟎𝟎

�= 𝟎. 𝟎𝟐𝟒

𝟎. 𝟎𝟗𝟔 < 𝒑 < 𝟎. 𝟏𝟒𝟒

Page 51: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Religious Books

´A survey of 1721 people found that 15.9%of individuals purchase religious books at a Christian bookstore. Find the 95%confidence interval of the true proportion of people who purchase their religious books at a Christian bookstore.

Page 52: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Religious Books

´A survey of 1721 people found that 15.9%of individuals purchase religious books at a Christian bookstore. Find the 95%confidence interval of the true proportion of people who purchase their religious books at a Christian bookstore.

´You can say with 𝟗𝟓%confidence that the true percentage is between 𝟏𝟒. 𝟐 and 𝟏𝟕. 𝟔%.

Page 53: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Sample Size for Proportions

´Just a reminder of what we have done so far with this topic…´To find the sample size needed to determine

a confidence interval about a proportion, use this formula:

𝒏 = 𝒑,𝒒,𝒛𝜶/𝟐𝑬

𝟐

Page 54: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Home Computers

´A researcher wishes to estimate, with 95%confidence, the proportion of people who own a home computer. A previous study shows that 40% of those interviewed had a computer at home. The researcher wishes to be accurate within 2% of the true proportion. Find the minimum sample size necessary.

Page 55: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

Home Computers

´A researcher wishes to estimate, with 95%confidence, the proportion of people who own a home computer. A previous study shows that 40% of those interviewed had a computer at home. The researcher wishes to be accurate within 2% of the true proportion. Find the minimum sample size necessary.

´𝟐, 𝟑𝟎𝟓 executives to ask!

Page 56: Confidence Intervals for the Mean · standard deviation of the depths measured was 4.38 feet. Depth of a River ´A scientist wishes to estimate the average depth of a ... ´It is

That’s it for Unit 4!!!Time to work!!!

´ UNIT 4 EXAM is on Thursday, November 30, 2017. The exam will have 10 questions. Right after you finish the exam, I want you to work on your research proposal and share with me an update of your progress.

´ For today:´ Exercises 1-8 are for you to work with your partner in your table. ´ Exercise 9-10 are for you to work independently to prove that

YOU CAN find the confidence interval for a proportion and that YOU CAN determine the minimum sample size for finding a confidence interval for a proportion.