1 / 9

How do we interpret Confidence Intervals (Merit)?

How do we interpret Confidence Intervals (Merit)? A 95% Confidence Interval DOES NOT mean that there is a 95 % probability that the population mean lies in the interval.

esma
Download Presentation

How do we interpret Confidence Intervals (Merit)?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How do we interpret Confidence Intervals (Merit)? A 95% Confidence Interval DOES NOT mean that there is a 95 % probability that thepopulation mean lies in the interval. The popn mean is fixed so there is no probability associated with it. The probability is to do with the interval from the sample.since different samples will give different sample means. So…we DO SAY that there is a 95% probability that this interval contains the population mean. OR we CAN SAY that if this process was repeated a large number of times, 95% of such intervals would contain the population mean. REMEMBER – the probabilitiy is associated with the interval which is based on sample statistics, NOT the population mean which is fixed. Popn mean μ

  2. Sample Proportion There is a similar relationship between a population proportion (π) and the sample proportion (p) We use a proportion when we are interested in what fraction/dec/percentage of a population match the criteria we are interested in. e.g. The proportion of voters that support National e.g. The proportion of sheep that have a particular defect (!) If a sample of size n has x successes then the proportion: Then the expected value (mean) and std dev of the sample proportions are: A Confidence Interval for the proportion is calculated by: Lower limit < π < Upper limit Z-value is worked out from the level of confidence. 90% = 1,645, 95% = 1.96, 99% = 2.576

  3. Confidence Interval for Proportion The same process is used for confidence intervals for proportions as for means except the parameter is the population proportion  and its standard deviation (std error): Example 1. A recent poll of 1000 voters showed that 545 would vote for National in the coming election. a) Calculate a 95% confidence interval for the proportion of voters who would vote for National. Use GC for CI: Clevel = 0.95 X = 545, n = 1000 b) Explain what this confidence interval means: There is a 95% probability that this interval contains the true proportion of voters who would vote National. Example 2. A supermarket retailer conducted a survey which included a question on preference of brands of chocolate confectionery. They surveyed 150 customers and found that 40% preferred Cadbury chocolate confectionery. Calculate a 99% confidence interval for the proportion of customers that prefer Cadbury chocolate confectionery.

  4. Difference of two means Sometimes we want to investigate the difference between the means of two populations (e.g. to see if there is any difference between the two). This often occurs when you want to trial something new and compare it with a control group. If the two populations are independent then: Expected value of the difference: In formulae sheet Variance: • E.g. Type 1 lightbulbs have a mean life 1600 hours and a std dev of 120 hours. Type 2 lightbulbs which are cheaper have a mean life of 1350 hours and a std dev of 80 hours. • A manufacturer takes a sample of 100 Type 1 and 121 Type 2 lightbulbs. • What is the expected difference between the mean lifetimes of the lightbulbs from Type 1 sample and Type II sample? • b) What is the std dev of the difference between the mean lifetimes from the Type 1 sample and Type 2 sample 1600 = 1350 = 250

  5. Confidence Interval for Diff of 2 Means The same process is used for the confidence interval for the difference of two means - the parameters are: Mean: std dev: Confidence interval: Lower limit < < Upper limit • Example: A manufacturer is looking at making changes to the way a good is manufactured. The manager decides to check the amount of time it takes to produce the good in the old way then compare this with the new way. He takes a sample of 30 goods from the old way and finds the mean time for production per good is 12.3 mins and a standard deviation of 2.1mins. He then takes a sample of 40 goods from the new way and finds the mean time for production is 11.8min with a standard deviation of 2.3mins. • Calculate a 99% confidence interval for the difference of the two means. • Comment on whether the new method is faster. Justify. Since 0 is in the interval there is insufficient evidence to suggest that there is any difference between the times for the two methods.

  6. Sample Size (Merit) and Margin of error Often our estimate of the population mean or proportion is required to be of a certain level of accuracy. Smaller samples have many benefits (easier to gather data, less costly etc) BUT the CI will be wider for smaller samples compared to larger samples (because the std error σ/ will be bigger). Our best estimate is the midpoint of the interval (ie our sample mean or proportion). Therefore, our “maximum error” or “margin of error” is the amount from the midpoint to the endpoint. These are given below: Therefore, if we require our degree of accuracy for μ or  to be less than a certain value, e, then: For the mean: So.. If you want to half the width of interval, you need to make sample 4 times as big – because of √ relationship For the proportion: For the difference of two means: Recall: to find z use InvN with area = area less than endpoint, std dev = 1, mean = 0

  7. Sample Size – finding it! (Merit) You need to solve the equation given on the previous page to find the required sample size to get an estimate within a certain level of accuracy: E.g. For the Proportion: SKY TV are wanting to estimate the proportion of households that have SKY TV. How large a sample would need to be taken to be 95% confident that the sample proportion is within 2% of the true percentage? USE GC: (if they don’t give you a sample prop then use p = ½ as this is the worst possible scenario – this is when p(1-p) is largest)). E.g. For the Mean: A researcher wants to estimate the mean amount households donate to a particularl aid agency to within 5% of the true amount with 90% confidence. In previous surveys they know the standard deviaton of the amount donated is $15. Calculate the minimum sample size needed to meet the condition. 90% gives z = 1.645

  8. Sample Size – finding it! (merit) E.g. For the difference of two means: A manufacturing analyst wants to see if there is a difference between the performance of 2 brands of long life batteries. He intends to choose the same device to test how long on average both brands work for.He intends to test the same number of each type. He wants to know how many of each type that he should test in order to ensure that the margin of error for the difference of the two means is less than 5% at the 90% confidence level. Previous data shows that brand 1 has a sd of 0.9hrs and brand 2 of 0.7hrs.

  9. Justify or refute claims about a population parameter (merit) This means to use the results of your confidence interval to justify or refute a statement. CI for the Mean: e.g. A customer claims that the weight of a can of baked beans is different to the 375g claimed on the label. A random sample of 30 cans has a mean of 369g and a standard deviation of 11g. Is her claim justified? Use a 95% CI to justify your answer. 95% CI is Then make a comment like: CI for the proportion: Similar process if given information regarding Proportions. Use confidence interval for the proportion and then justify / refute. CI for difference of two means: If looking at difference of two means (mentioned earlier): If the interval contains 0 then there is insufficient evidence to suggest that there is a difference between the two populations means at the given confidence level (eg 95%). If the interval does not contain 0 then there is sufficient evidence to suggest that there is likely to be a difference between the two population means at the given confidence level. (you might “suggest” that one seems higher than the other given that its sample mean was higher). Always answer in CONTEXT 365.06< μ < 372.93 Since 375 lies outside this interval there is sufficient evidence to suggest that the mean weight of a can of baked beans is different to 375g at the 95% conf. level.

More Related