H0: p1 = p2 Ha: p1 > p2 WARM – UP

Slides:



Advertisements
Similar presentations
Proportions and Inference 1 and 2 – proportion z-tests
Advertisements

Inference on Proportions. What are the steps for performing a confidence interval? 1.Assumptions 2.Calculations 3.Conclusion.
Hypothesis Testing When “p” is small, we reject the Ho.
AP Statistics Section 11.2 B. A 95% confidence interval captures the true value of in 95% of all samples. If we are 95% confident that the true lies in.
EQ: When is a result statistically significant?
Owners of a chain of ice cream shops recently examined sales figures and noticed that on a randomly selected day, 21 of 103 ice cream customers form their.
A RE YOU READY FOR THE QUIZ ? 1. Yes, I’ve been working hard. 2. Yes, I like this material on hypothesis test. 3. No, I didn’t sleep much. 4. No, some.
Stat 217 – Day 21 Cautions/Limitations with Inference Procedures.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
WARM – UP 1. What is the Critical Value t* for a distribution of 26 observation with probability 0.10 to the Right? 2. What is the Critical Value t* for.
AP Statistics: Chapter 20
WARM – UP ( just do “a.” ) The Gallup Poll asked a random sample of 1785 adults, “Did you attend church or synagogue in the last 7 days?” Of the respondents,
Significance Tests for Proportions Presentation 9.2.
Two-Sample Proportions Inference Notes: Page 211.
Inference for Two Proportions Chapter 22
Chapter 9 Comparing Means
Two-Sample Proportions Inference. Sampling Distributions for the difference in proportions When tossing pennies, the probability of the coin landing on.
Example 1: a) Describe the shape, center, and spread of the sampling distribution of. Because n 1 p 1 = 100(0.7) = 70, n 1 (1 − p 1 ) = 100(0.3) = 30,
Statistics Pooled Examples.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
CHAPTER 21: Comparing Two Proportions
8.1 Inference for a Single Proportion
Confidence Intervals and Hypothesis tests with Proportions.
Hypothesis Testing for Proportions
Inference for Proportions
Tests About a Population Proportion
When should you find the Confidence Interval, and when should you use a Hypothesis Test? Page 174.
Inference on Proportions
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion.
Confidence Intervals and Tests of Proportions. Assumptions for inference when using sample proportions: We will develop a short list of assumptions for.
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
2 sample interval proportions sample Shown with two examples.
Section 11.3: Large-Sample Inferences Concerning a Difference Between Two Population or Treatment Proportions.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Inference on Proportions. Assumptions: SRS Normal distribution np > 10 & n(1-p) > 10 Population is at least 10n.
Comparing Two Proportions. AP Statistics Chap 13-2 Two Population Proportions The point estimate for the difference is p 1 – p 2 Population proportions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley AP Statistics Objectives Ch22.
WARM – UP Are twin births on the rise in the United States? In % of all births produced twins. In 2009 Data from an SRS of 469 mothers in a large.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Hypothesis Tests for 1-Proportion Presentation 9.
-2.22 Write the null and alternative hypotheses. In the 1950’s only about 40% of high school graduates went on to college. Has that percentage changed?
AP Test Practice. A student organization at a university is interested in estimating the proportion of students in favor of showing movies biweekly instead.
Chapter 10 Comparing Two Populations or Groups Sect 10.1 Comparing two proportions.
Comparing Two Proportions Chapter 21. In a two-sample problem, we want to compare two populations or the responses to two treatments based on two independent.
H0: p1 = p2 Ha: p1 > p2 WARM – UP
Comparing Two Proportions
Statistics Hypothesis Test PHANTOMS
One-Sample Inference for Proportions
Essential Statistics Inference about a Population Proportion
Comparing Two Proportions
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Section 8.2 Day 4.
Confidence Intervals for Proportions
Chapter Review Problems
Section 12.2: Tests about a Population Proportion
Bell Work: A company with a fleet of 150 cars found that the emissions systems of 7 out of the 22 they tested failed to meet pollution control guidelines.
WARM – UP A company is criticized because only 9 of 43 randomly choosen people in executive-level positions are women. The company explains that although.
Warm-UP: A Centers for Disease Control report of randomly selected Americans, found that 411 of 1012 men and 535 of 1062 women suffered from some form.
WARM – UP.
WARM - UP Is the coin Fair?
Comparing Two Proportions
EQ: When is a result statistically significant?
EQ: When is a result statistically significant?
Essential Statistics Inference about a Population Proportion
Presentation transcript:

H0: p1 = p2 Ha: p1 > p2 WARM – UP In 1991, researchers at the National Cancer Institute released the results of a study that investigated the effects of a weed-killing herbicide on house pets. Of an SRS of 827 dogs in regular use herbicide settings, 473 of them developed lymphoma. Of an SRS of 130 dogs from homes with NO herbicide usage, 19 developed lymphoma. Is there evidence that treating lawns is harmful to pets? pi = The true proportion of dogs developing Lymphoma living in… p1 = homes using weed killers and p2 = NOT using weed killers. TWO Proportion z – Test H0: p1 = p2 Ha: p1 > p2 CONDITIONS 1. SRS – Both sample data were collected randomly 2. Appr. Normal: 827· (.572) ≥ 10 AND 827 · (1 –.572) ≥ 10 130 · (.146) ≥ 10 AND 130 · (1 –.146) ≥ 10 Since the P-Value is less than α = 0.05 we REJECT H0 . There is strong evidence to suggest that lawn weed killers are harmful to pets.

z – Confidence Interval HW Page 508: 3, 4, 11 TWO Proportion z – Confidence Interval SRS – The data was collected randomly for both 2. 1012 · (0.406) ≥ 10 AND 1012 · (1 – 0.406) ≥ 10 1062 · (0.504) ≥ 10 AND 1062 · (1 – 0.504) ≥ 10 We can be 95% Confident that the true difference in the proportion of men and women suffering from arthritis is between -0.140 and -0.055 pm – pw = Negative # So men suffer less than women

HW Page 509: 12, 14, 16

WARM – UP More Confidence Intervals z – Confidence Interval The painful wrist condition called Carpal Tunnel syndrome can be treated with surgery or wrist splints. In September 2002 a study of 176 random patients revealed that the half that had surgery, 80% showed improvement. Of the other half who use wrist splints, 54% showed improvement. Construct a 95% confidence interval for this difference. pi = The true proportion of patients who improved. p1 = after surgery and p2 = after wearing wrist splints. TWO Proportion z – Confidence Interval CONDITIONS 1. SRS – Both sample data were collected randomly 2. Population of Patients having surgery ≥ 10 · (88) Population of Patients wearing splints ≥ 10 · (88) 3. 88 · (0.8) ≥ 10 AND 88 · (1 – 0.8) ≥ 10 88 · (0.54) ≥ 10 AND 88 · (1 – 0.54) ≥ 10

Conclusion: We can be 95% Confident that the true difference in the proportion of patients who had surgery and showed improvement and the proportion of patients who wore wrist splints and showed improvement is between 0.116 and .384.

WARM - UP A study done in 2001 ask random non-smoking teenagers about their parents attitudes about smoking. Three years later of the 284 students who said their parents disapproved of it, 54 of them were now smokers. Among the 41 students who said their parents were lenient about it, 11 became smokers. Is there evidence that parental attitudes influence teenagers’ behaviors? pi = The true proportion of students who become smokers… p1 = Parents who disapprove and p2 = Parents who were lenient TWO Proportion z – Test H0: p1 = p2 Ha: p1 ≠ p2 CONDITIONS 1. SRS – Both sample data were collected randomly 2. 284 · (0.19) ≥ 10 AND 284 · (1 – 0.19) ≥ 10 41 · (0.27) ≥ 10 AND 41 · (1 – 0.27) ≥ 10

H0: p1 = p2 Ha: p1 ≠ p2 Conclusion: Since the P-Value is NOT less than α = 0.05 the data IS NOT significant . Fail to REJECT H0 . There is NO evidence to suggest that Parent attitudes affect teenage smoking behavior.

2005 Form A AP Statistic Exam Question #4 WARM – UP 2005 Form A AP Statistic Exam Question #4 Some boxes of a certain brand of breakfast cereal include a voucher for a free video rental inside the box. The company that makes the cereal claims that a voucher can be found in 20 percent of the boxes. However, based on their experiences eating this cereal at home, a group of students believe that the proportion of boxes with vouchers in less than 0.2. This group of students purchased 65 boxes of the cereal to investigate the company’s claim. The students found a total of 11 vouchers for free video rentals in the 65 boxes. Suppose it is reasonable to assume that the 65 boxes purchased by the students are a SRS of all boxes of this cereal. Based on this sample, is there support for the students’ belief that the proportion of boxes with vouchers is less than 0.2? Provide statistical evidence to support your answer.

WARM – UP 2005 Form A AP Statistic Exam Question #4

WARM – UP 2005 Form A AP Statistic Exam Question #4 - Page 12

z – Confidence Interval Chapter 22 (continued) WARM - UP In 1991, researchers at the National Cancer Institute released the results of a study that investigated the effects of a weed-killing herbicide on house pets. Of an SRS of 827 dogs in regular use herbicide settings, 473 of them developed lymphoma. Of an SRS of 130 dogs from homes with NO herbicide usage, 19 developed lymphoma. Construct a 95% Confidence Interval for the difference. TWO Proportion z – Confidence Interval CONDITIONS 1. SRS – Both sample data were collected randomly 2. Population of Dogs is ≥ 10 · (827) Population of Dogs is ≥ 10 · (130) 3. 827 · (0.5719) ≥ 10 AND 827 · (1 – 0.5719) ≥ 10 130 · (0.1462) ≥ 10 AND 130 · (1 – 0.1462) ≥ 10

Conclusion: We can be 95% Confident that the true difference in the proportion of Dogs developing lymphoma while living in homes that use the herbicide and the proportion of Dogs developing lymphoma while living in homes that use NO herbicides is between 0.356 and 0.495

EXAMPLE A random poll of conducted in 2002 asked if we should have or should not have gone to war in Iraq. 42 of 99 Independents said “Should Not have” while 75 of 98 Republicans said “Should have”. Is there evidence that there exists a significant difference in the proportion of Independent and Republicans that favored the war at that time? pi = The true proportion of the political party that supported the war. pI = Independents and pR = Republicans TWO Proportion z – Test H0: pI = pR Ha: pI ≠ pR

Population of Republicans is ≥ 10 · (98) pi = The true proportion of the political party that supported the war. pI = Independents and pR = Republicans TWO Proportion z – Test H0: pI = pR Ha: pI ≠ pR SRS – The data was collected randomly Population of Independents is ≥ 10 · (99) Population of Republicans is ≥ 10 · (98) 99 · (0.5758) ≥ 10 AND 99 · (1 – 0.5758) ≥ 10 98 · (0.7653) ≥ 10 AND 98 · (1 – 0.7653) ≥ 10 Since the P-Value is less than α = 0.05 the data IS significant . There is strong evidence to REJECT H0 . There is evidence to suggest that Independents and Republicans supported the war differently.

Population of Republicans is ≥ 10 · (98) Since the P-Value is less than α = 0.05 the data IS significant . There is strong evidence to REJECT H0 . There is evidence to suggest that Independents and Republicans supported the war differently. SRS – The data was collected randomly Population of Independents is ≥ 10 · (99) Population of Republicans is ≥ 10 · (98) 99 · (0.5758) ≥ 10 AND 99 · (1 – 0.5758) ≥ 10 98 · (0.7653) ≥ 10 AND 98 · (1 – 0.7653) ≥ 10

TWO PROPORTION Z – SIGNIFICANCE TEST H0: p1 = p2 Ha: p1 >, <, or ≠ p2 The Null Hypothesis states that there is NO Difference between the population proportions. If this is true then the observations really come from a single population, so instead of p1 and p2 separately we use pp = (p-pooled) in the test. TWO PROPORTION ASSUMPTIONS / CONDITIONS Same as Conf. Intervals