FINAL EXAM NAME: PART I. 1. WHY DO CONFIDENCE INTERVALS WORK? If we took many random samples from a population, the distribution of the sample means or sample proportions would follow the normal model under suitably guarded conditions. We found that in both cases the model is in fact centered at the population parameter. Consequently for 95% of all possible samples the sample mean or proportion would be closer to the center of the sampling distribution than 2ððĖ , ðð 2 ððĨĖ . We have to make sure that the standard deviation we use in creating confidence intervals is NOT the population standard deviation but the sample standard deviation which is normally smaller. Why do confidence intervals work? Assume that we take 100 random samples and created 95% confidence intervals about each of the 100 sample proportions. The length of these intervals are 2ððĖ and they center at the respective sample proportion. We expect that 95% of these intervals will capture the population parameter. Since in the long run 95% of the intervals created this way would capture the population proportion, we can say that an individual interval created this way has a 95% chance of capturing the population mean. This is why we call a 2 standard deviations wide interval about an individual sample a 95% confidence interval. It is important to understand that a 95% confidence interval always has a 5% chance of being wrong. 95 wrong sample mean 2s normal population 5% 2σ larger smaller ðððĖ 2 standard deviations five population parameter standard deviation 95% sampling distribution sample proportion ððĖ sample mean ð correct 2. Please define the following terms: 1. Q1 25% of the values are below Q1. The median of the first half of the values. 2. SD The average deviation from the mean. 3. Type I error Falsely rejecting the null when it is indeed true. 4. The P-value in a hypothesis test The chance of observing a sample statistic when the null is true. 5. Empirical Rule 68% of the data lies within one standard deviation of the mean, 95% of the data lies within two standard deviations of the mean, 99% of the data lies within three standard deviations of the mean. 3. TRUE-FALSE Please record your answers on the answer sheet below. 1. A 95% confidence interval captures 95% of the population values. F 2. Samples of size 10 taken from a population with p=.1 will have a right skewed sampling proportion distribution. T 3. In a right skewed distribution the median is greater than the mean. F 4. A large P-value is evidence in favor of Ho. F 5. The power of the test can be increased by lowering the alpha value. T 6. If we cannot reject Ho based on the evidence then we must accept it as true. F 7. The alternative hypothesis is accepted if we reject Ho. T 8. One way to increase the precision of a confidence interval is to increase the confidence level. F 9. The smaller is the P-value the more likely it is that we might end up making a Type II error. F 10. If we choose a large α-level then chances are good that we will falsely reject a true null-hypothesis. T 11. It is easier to find significant evidence to reject the null hypothesis in a test at α=.01 than at α=.05 level. F 12. Outliers have a huge effect on the median. F 13. In a boxplot 50% of the data falls inside of the box. T 14. The z-score for Q3 in a normal distribution is z=1. F The histogram below shows average math achievement scores for 38 nations. 15. Q1 is below 450. T 16. The IQR is less than 200. T 17. the distribution is left skewed. T 18. more than 20% of the nations scored above 600. F Based on a sample of 36 students who took my class in recent years, I estimated the mean age of TCNJ students taking IntroStats with a 95% confidence interval to fall between (19.1, 21.3) years. Determine if the following statements are True or False 1 19. There is a 95% chance that TCNJ Introstats students are between 19.1 to 21.3 years old on average. T 20. 95% of all TCNJ Introstats students are between 19.1 to 21.3 years old. F 21. The sample mean was 20.2. T 22. A 98% confidence interval would be wider. T 23. The margin of error was 2.2. F 24. For a larger sample size, assuming other statistics would have been the same, the margin of error would have been larger. F 25. With 95% chance the interval we created contains the average age of Introstats students at TCNJ. T 4. An advisory panel recommended that the FDA allow an experimental AIDS vaccine to go forward testing on 5000 volunteers. The AIDS vaccine was designed to boost the immune system of HIV-infected individuals and had been tested on a small number of patients, with mixed results but no apparent side effects. (Time magazine, Gorman, 6 February 1995). In making its recommendation to the FDA, the advisory board was faced with a choice similar to that at the end of a hypothesis test. The null hypothesis was that the vaccine was not effective and therefore should not be tested further, whereas the alternative hypothesis was that it might have some benefit. a) State what was a Type I versus a Type II error for the decision the panel was required to make. Type I error: Falsely rejecting that the vaccine is not effective and shouldn’t be tested further, thus incorrectly concluding that the vaccine might have some benefit. Type II error: Failing to reject that the vaccine is not effective and shouldn’t be tested further, when actually the vaccine might have some benefit. b) Explain which one of these mistakes would be more detrimental for AIDS patients. Type I is more detrimental for AIDS patients because they will believe that they are benefiting from the medicine, when they are actually not. 5. 60% of TCNJ students are female. 15% of All TCNJ students are education majors. We also know that 80% of all education majors are female. Fill in the contingency table for 1000 hypothetical TCNJ students based on the above information and then use your contingency table to calculate the following percentages. Education Non-education Total Female 120 480 1600 Male 30 370 400 Total 150 850 1000 30 a) What percentage of all students are male education majors? 1000 = 0.03 = 3% 30 b) What percentage of the male students are education majors? = 400 0.075 = 7.5% 480 c) What percentage of non-education majors are female? 850 = 0.565 = 56.5% 6. The Coca Cola Co. claims that Diet coke bottles are filled to contain an average of 295ml of soda with a standard deviation of 3ml and the contents are known to be normally distributed. In your spare time you measure the contents of the six bottles in a six pack and find that the mean for the six bottles is only 290 ml. What is the probability for such low average in a six pack if the Coca Cola company is telling the truth about filling the bottles on average with 295 ml? Population: All diet coke bottles Parameters: ð = 295, ð = 3 Sample size: n = 6 Sample statistics: xĖ = 290 a) RUN a Hypothesis test! Ho: ð = 295 Ha: ð ≠ 295 b) P-value: < 0.0001 ð·(xĖ < 290) = P (z < 290 − 295 ) = ð(ð§ < −4.098) < 0.0001 3 √6 c) Interpret your P-value and explain whether or not you believe the Cola Companies claim after the test and why. At ðž = 0.05, there is reason to reject that the mean volume of soda is 295 mL and that Coca Cola bottles are actually being filled less. There is less than 0.01% chance that in a sample of 6 bottles, the mean volume is 290 mL, given that the true mean volume is 295 mL. 7. Fill in the missing words! (2 point each) When testing a mean and finding a standard error from the data -- and especially when the sample size, n, is small, we obtain P-values for the test not from the data values but instead from the t-distribution on n - 1 degrees of freedom. 30 40 histogram Normal distribution large standard error data values population size sample size degrees of freedom small t-distribution 8. According to the U.S. Bureau of Labor Statistics, one out of every 80 Americans (1.3%) was fired or laid off in 1995. Are employees with cancer fired or laid off at the same rate? To answer this question, Working Women magazine and Amgen, a company that makes drugs to lessen chemotherapy side effects, conducted a telephone survey of 100 cancer survivors who worked while undergoing treatment. Of these 100 cancer patients, 7 were fired or laid off due to their illness. The journalist created a 95% confidence interval based on the survey results and he reported that the 95% confidence interval was (0.019, 0.121). 1. Understand the problem! Population: American employees with cancer Variable: fired or not fired Sample size: n = 100 2. What procedure was used to create the confidence interval? Telephone survey for cancer survivors based on survey results 3. What was the sample statistic? 7 pĖ = 100 = 0.07 4. What was the margin of error? ME = 0.051 5. What would be a valid criticism for the above procedure? Phone surveys can be subject to non-response bias, voluntary bias, which can affect the survey results to be skewed in one result. 9. a) According to a Gallup poll taken on September 10th, 1998, 31% of 645 adults thought that Clinton should be impeached. The Gallup web page said: “In a survey of 645 adults, 31% responded that President Clinton should be impeached. The margin of error was 4 percentage points with 95% confidence.” Explain what this means and verify that the statement is accurate.” This statement means that 95% of the time, the true proportion of adults who want Clinton impeached lies between 27% and 35% of adults. This statement is accurate because the margin of error should be about 3.5%, which rounds to 4%. b) In early June 1999, a similar poll found that 19% responded that Clinton should be impeached. DO you think that the difference of the results of the polls can be explained by chance variation in the samples taken or does it represent a real difference of opinion in June versus September? Calculate a 95% confidence interval and answer the question. 0.19(0.81) s=√ 645 = 0.015 ME = 0.015(1.96) = 0.03 CI: (0.16, 0.22) Since the two confidence intervals do not overlap, there is a real difference of opinion in June versus September. I. Determine which procedure to use in each problem. 2-sample t-test for the difference of means Matched pairs t-test for the mean of the differences 2-sample z-test for difference of proportions One sample z-test for proportions One sample t-test for means In each case choose an appropriate method and state whether we would run a test or create a confidence interval. Circle conditions are violated if that is the case. 1. A publishing company claims that students who receive instruction based on their new textbook will score higher on a certain competency exam than students who use the current text. To examine this claim, 16 students were assigned to two classes, 8 in each, with one class using the new book and the other using the current text. The grades obtained on a standard competency exam given at the end of the semester are given in the table. Assume the scores are normally distributed for both groups. Is it reasonable to suppose that students using the new textbook scored higher on the average than students using the current text? A) t-test B) 2-sample t-test C) z-test D) paired t Confidence interval Hypothesis test E) difference of proportions Conditions are violated 2. Are parents equally strict with boys and girls? In a random sample of families, researchers asked a brother and sister form each family to rate how strict their parents were. A) t-test B) 2-sample t-test C) z-test D) paired t E) difference of proportions Confidence interval Hypothesis test Conditions are violated 3. According to USA Today (20 April 1998, Snapshots), a poll of 9000 people in 1976 found that between 8%-10% of the adult population believed in reincarnation. A more recent poll of 1000 adults taken in 1997 however found that 250 of the 1000 people held that belief. Based on these results would you conclude that the proportion of all adults who believe in reincarnation was higher in 1997 than it was in 1976? A) t-test B) 2-sample t-test C) z-test D) paired t E) difference of proportions Confidence interval Hypothesis test Conditions are violated 4. Mothers of twins were surveyed and asked how often in the last month they were stopped and asked whether the twins were identical. A) t-test B) 2-sample t-test C) z-test D) paired t Confidence interval Hypothesis test E) difference of proportions Conditions are violated 5. Are parents equally strict with boys and girls? In a random sample of families, researchers asked a brother and sister form each family to rate how strict their parents were. A) t-test B) 2-sample t-test C) z-test D) paired t E) difference of proportions Confidence interval Hypothesis test Conditions are violated 6. According to the Sacramento Bee American adults get an average of 6.95 hours of sleep with a standard deviation of 2 hours and the distribution is normal. A survey of 190 randomly selected students at UCLA found that they averaged 7.3 hours of sleep the previous night. Do you think that sleep patterns of UCLA students are different from that of American adults? A) t-test B) 2-sample t-test C) z-test D) paired t Confidence interval Hypothesis test E) difference of proportions Conditions are violated 7. Random samples of 50 men and 50 women are asked to imagine buying a birthday present for their best friend. We want to estimate the difference in how much they are willing to spend. A) t-test B) 2-sample t-test C) z-test D) paired t E) difference of proportion Confidence interval Hypothesis test Conditions are violated 8. The number of push-ups that students were able to do was recorded for boys and girls in a gym class. Estimate how many more push-ups boys can do than girls based on the data. Boys Girls 17 25 25 6 31 15 15 17 25 2 30 14 29 19 25 25 27 10 17 27 13 30 33 8 A) t-test B) 2-sample t-test C) z-test Confidence interval D) paired t Hypothesis test E) difference of proportions Conditions are violated 9. To study the epidemiology of AIDS researchers must have an accurate knowledge of the sexual behavior of the population. Collecting accurate information on sexual practices however is not easy. In 1989 questions about sexual behavior were added to the General Social Survey. Data was collected for example about the number of heterosexual partners the respondents have had since they were 18 years of age. Based on the summary of the sample data estimate the difference in heterosexual partners for men and women in this population. MALE (=number of female partners of male respondents) N=1682 Mean=11.719 SD= 24.279 Q1=1 Median= 4 Q3=10 Min = 0 Max =253 A) t-test Confidence interval FEMALE (=number of male partners of female respondents) N=1850 Mean= 3.322 SD=3.322 Q1=1 Median = 1 Q3=3 Min= 0 Max =100 B) 2-sample t-test C) z-test D) paired t Hypothesis test Conditions are violated Final exam Name: COMPUTER PART: Use your CD and calculator to answer the questions! 1. Blood Pressure When Vincenzo Baranello's blood pressure is in control, his systolic blood pressure reading has a mean of 140. For the last six times he has monitored his blood pressure, he has obtained the values: 140, 150, 155, 155, 160, 140 The calculated sample statistics for this sample are: xĖ = 150, s = 8.37 a) Create a 95% confidence interval for his current average blood pressure using the computer! (141.22, 158.78) b) Interpret the interval. We are 95% confident that the interval from 141.22 to 158.78 captures the true average current blood pressure. c) Does this interval indicate that his blood pressure is not in control? Yes, this indicates that his blood pressure is not in control because the controlled blood pressure has a mean of 140, which is not captured within the 95% confidence interval. 2. We took random samples of premature and full term delivery babies and followed the children born until they finished high school. We found a higher high school dropout rate for preemies, 195 out of 232, than for the full terms, 210 out of 276. Based on this data we want to run a hypothesis test to determine if the dropout rate for preemies is indeed higher. Answer all the questions! Understand the problem Population 1: preemies Population 2: full terms Variable 1: dropout rate 195 Statistic 1: ðĖ1 = 232 = 0.84 Sample size 1: ð1 = 232 Variable 2: dropout rate 210 Statistic 2: ðĖ2 = 276 = 0.76 Sample size 2: ð2 = 276 Parameter of interest: ðĖ1 − ðĖ2 = 0 Statistic of interest: ðĖ1 − ðĖ2 = 0.08 Ho: ðĖ1 − ðĖ2 = 0 Ha: ðĖ1 − ðĖ2 > 0 1. What kind of test procedure should we use? A) t-test B) 2-sample t-test C) z-test D) paired t E) difference of proportions Will the test be one tail or two tail? 2. The sampling distribution for what variable will give us information about the likelihood of our evidence? Check the conditions! What kind of model will describe the sampling distribution of the difference of sample proportions under the assumption? Conditions: 1) SRS, independent samples 2) 10% condition 3) Success/failure – 16 (232) > 10, 24(276) > 10 The sampling distribution model that we need to use is pictured on the next page. 3. Analyze the picture above. What does the Mean value represent? Null Why is this value set to zero? ðŧð = ðĖ1 − ðĖ2 = 0 What do the values on the x axis represent? Z values 0.08−0 What was our test statistic equal to? 0.0356 = 2.25 There is a mistake on the density tool. Find it! Two-tailed should be one-tailed What does the complicated formula in the box calculates in general! Standard error The Standard deviation in this case measures the variability where and of what variable? Measures variability of the difference in proportions about the null 4. Use Statcrunch to calculate the P- value = 0.013 5. Interpret the P-value, state and interpret your decision in context. Means do not say “reject the null” but instead tell the reader who does not know stats what have you decided and why. There is a 1.3% chance to observe that the proportion of 232 preemies who drop out is higher than the proportion of 276 full term babies who drop out, if in fact there is no difference between the population of preemies and full term babies who drop out. Therefore, we can conclude that there are more preemies that drop out than full term babies. 6. Create a 95% confidence interval in Statcrunch based on the sample evidence for the difference in dropout rates between preemies and full term born children. (0.01, 0.15) 6. Write a sentence explaining what the confidence interval tells us. We are 95% confident that the interval contains the true difference in proportion of dropout rates between preemies and full term. 3. An agronomist hopes that a new fertilizer she has developed will enable grape growers to increase the yield of each grapevine by more than 5 pounds. To test this fertilizer she applied it to 44 vines and used the traditional growing strategies on 47 other vines. The fertilized vines produced a mean of 58.4 pounds of grapes with standard deviation 3.7 pounds, while the unfertilized vines yielded an average of 52.1 pounds with standard deviation 3.4 pounds of grapes. Do these experimental results confirm the agronomist’s expectations? (a) Create a confidence interval for the increase in yield to answer the question. (4.815, 7.785) (b) What does the confidence interval tell us? Is it likely that the fertilizer increases the yield by more than 5 pounds? The confidence interval tells us that 95% of the time, the true difference in yield between fertilized and traditional grapevines lies between 4.815 and 7.785 pounds. It is likely that the fertilizer increases the yield by more than 5 pounds, because 5 is contained in the interval. © Could you run the same test if the agronomist had used the same vines for testing the fertilizers? Say for one year he uses the traditional growing method and then next year he uses the fertilizer for a year but for the same vines. What is the difference? How could you still test for difference in the harvest amount? Set up this test based on assuming that the following amounts yielded on a sample of 20 vines. Test for no difference. Traditional method Fertilizer 42 51 54 56 45 51 50 49 44 47 49 50 45 57 51 52 53 60 41 39 47 55 59 56 48 57 52 56 47 50 56 59 52 55 49 59 57 58 46 47 Vine number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Ho: ðð − ððĄ = 0 Ha: ðð − ððĄ ≠ 0 Paired t-test p-value: < 0.0001 d) If you wanted to test the claim that using the new fertilizer vines produce 5lbs more grapes on average how would that change your null assumption? Run the test again using this new null. Ho: ðð − ððĄ = 5 Ha: ðð − ððĄ > 5 Paired t-test p-value: 0.8768
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )