Confidence Intervals

41
Chapter 7 Confidence Intervals

description

Confidence Intervals

Transcript of Confidence Intervals

  • Chapter 7 Confidence Intervals

  • Order of this ChapterWe are going to do this chapter a little out of order:7.4: Proportions7.2: Means (with known variance or sample size greater than 30)7.3: Means (with unknown variance and sample size smaller than 30)7.5: Variances and Standard Deviations

  • ReviewParameter (Population Characteristics)m (mean)p (proportion)Statistic (Sample Characteristics) (sample mean) (sample proportion)

  • ReviewStatistics will be different for each sample. These differences obey certain laws of probability (but only for random samples).Taking a sample from a population is a random phenomena. That means:The outcome is unknown before the event occursThe long term behaviour is predictable

  • Sampling Distribution ModelsPopulationSamplePopulation Parameter?Sample StatisticInferencePopulation

  • Example2002 Senators Population Characteristicsp = proportion of Democratic Senators = mean number of years in SenateTake SRS of size n = 10Calculate Sample Characteristics = sample proportion of Democratic Senators = sample mean number of years in Senate

  • Example

  • SRS characteristicsValues of and are randomChange from sample to sampleDifferent from population characteristicsp = 0.50 = 12.38 years

  • ImagineRepeat taking SRS of size n = 10Collection of values for and Collection of and values ARE DATASummarize data make a histogramShape, Center and SpreadSampling distribution for and (when we know or when n 30) is Normal!!

  • Example50% of people on campus favor current academic calendar.Select n people.Find sample proportion of people favoring current academic calendar.Repeat sampling.What does sampling distribution of sample proportion look like?n=2

    n=5

    n=10

    n=25

  • Election 2004You have seen Confidence Intervals before!Oct. 9-10 CNN/USA Today/Gallup Poll (793 likely voters) Kerry 49%President Bush48%

    Margin of Error: 3%

  • Confidence IntervalsConfidence intervals come from the fact that we could take multiple samples and calculate multiple 95% confidence intervals and, if we were using the same method to find all the intervals, we would expect that about 95% of the intervals we constructed would contain the true parameter (population proportion).

  • Construction of CI , the point estimate, is the center of the interval. It merely shifts the interval along the axis.

    , the critical value, is the number of multiples of the standard error needed to form the desired CI. This is will depend on the level of confidence you want.

  • How to findNeed z-tablesBased on Normal model

    Between what two z-values do 95% of the observations lie on N(0,1)?

  • Most Common z*

    Confidence Levelz* = (z/2)90%1.6594%1.8895%1.9698%2.3399%2.58

  • Confidence Interval for pSo, the CI for p looks like

  • Interpret the intervalI am ___% confident that the true population proportion falls within the interval I constructed.

  • Example 1 CI for pA survey of 200,000 boat owners found that 12% of the pleasure boats were named Serenity. Find the 95% confidence interval of the true proportion of boats named Serenity.

  • Example 1 CI for p (cont.)Construct the interval

  • Example 1 CI for p (cont.)So our interval is (0.119, 0.121)Interpretation:I am 95% confident that the true proportion of boats named Serenity is between 11.9% and 12.1%

  • Sample Size and the MEDetermining sample size.

    We know that ME = z*

    We can manipulate this equation with algebra.

  • Example 2 Sample Size for pA 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.

  • Example 2 Sample Size for p (cont.)Formula:

    n = 2304.96 2305 people to interview

  • Confidence Interval for (when we know the variance or n 30) So, the CI for looks like

  • Interpret the intervalI am ___% confident that the true population mean falls within the interval I constructed.

  • Example 3 CI for (when we know the variance or n 30)Noise levels at various area urban hospitals were measured in decibels. The mean of he noise levels in 84 corridors was 61.2 decibels, and the standard deviation was 7.9. Find the 95% confidence interval of the true mean.

  • Example 3 CI for (when we know the variance or n 30)Construct the interval

  • Example 3 CI for (when we know the variance or n 30)So our interval is (59.5, 62.9)Interpretation:I am 95% confident that the true mean corridor noise level is between 59.5 and 62.9 decibels.

  • Sample Size for Formula:

  • Example 4 Sample Size for A university dean of students wishes to estimate the average number of hours students spend doing homework per week. The standard deviation from a previous study is 6.2 hours. How large a sample must be selected if he wants to be 99% confident of finding whether the true mean differs from the sample mean by 1.5 hours?

  • Example 4 Sample Size for Formula:

  • Confidence Interval for (when we do not know the variance and n < 30) So, the CI for looks like:

  • Example 5 CI for (when we do not know the variance and n < 30) A sample of six college wrestlers had an average weight of 276 pounds with a sample standard deviation of 12 pounds. Find the 90% confidence interval of the true mean weight of all college wrestlers.

  • Example 5 CI for (when we do not know the variance and n < 30) Construct the interval

  • Example 5 CI for (when we do not know the variance and n < 30) So our interval is (266.13, 285.87)Interpretation:I am 95% confident that the true mean weight of college wrestlers is between 266.13 and 285.87 pounds.

  • Confidence Interval for 2So, the CI for 2 looks like:

  • Example 6 CI for 2A service station advertises that customers will have to wait no more than 30 minutes for an oil change. A sample of 28 oil changes has a standard deviation of 5.2 minutes. Find the 95% confidence interval of the population standard deviation of the time spent waiting for an oil change.

  • Example 6 CI for 2To use the chi-squared table you need to find /2 and (1 /2).To find take (1 confidence level)Then divide by 2. This is /2.

  • Example 6 CI for 2Construct the interval

  • Example 6 CI for 2So our interval is (4.11, 7.08)Interpretation:I am 95% confident that the true standard deviation of customers who have to wait no more than 30 minutes for an oil change is between 4.11 and 7.08 minutes.