200 likes | 334 Views
Are you ready for the quiz?. Yes, I’ve been working hard. Yes, I like this material on hypothesis test. No, I didn’t sleep much. No, some other reason. I guess we will find out. Chapter 22. Comparing Two Proportions.
E N D
Are you ready for the quiz? • Yes, I’ve been working hard. • Yes, I like this material on hypothesis test. • No, I didn’t sleep much. • No, some other reason. • I guess we will find out.
Chapter 22 Comparing Two Proportions
When the conditions are met, we are ready to find the confidence interval for the difference of two proportions: The confidence interval is where The critical value z* depends on the particular confidence level, C, that you specify. Confidence Intervals for Proportion Differences
HW 10 – Problem 5 • A study examined parental influence on teenage smoking. • A group of students who’d never smoked were asked about their parents attitude. • A year later they were asked if they had started smoking. • Parental attitude- • Disapproved – 54 out of 286 smoked • Lenient – 11 out of 38 smoked
HW 10 – Problem 5 • Create a 95% confidence Interval • Interpret that interval
Consider the 95% level: There’s a 95% chance that p is no more than 2 SEs away from . So, if we reach out 2 SEs, we are 95% sure that p will be in that interval. In other words, if we reach out 2 SEs in either direction of , we can be 95% confident that this interval contains the true proportion. This is called a 95% confidence interval. A Confidence Interval
A Confidence Interval (Changing our interpretation) • Consider the 95% level: • There’s a 95% chance that p1-p2 is no more than 2 SEs away from our observed difference. • So, if we reach out 2 SEs, we are 95% sure that p1-p2 will be in that interval. In other words, if we reach out 2 SEs in either direction of our observed difference, we can be 95% confident that this interval contains the true proportion. • This is called a 95% confidence interval.
What is the 95% CI? • The true difference lies in the interval of more than 95% of all random samples • The true difference is probably in the CI • 95% of all random samples produce intervals that contain the true difference • The true difference is less than 5% from the confidence interval
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke is 5% less to 25.2% more than for teens whose parents disapproved. • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke is 5% less to 25.2% more than for teens with lenient parents
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke is 5% less to 25.2% more than for teens whose parents disapproved. • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke is 5% less to 25.2% more than for teens with lenient parents
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke (p1) is 5% less to 25.2% more than for teens whose parents disapproved. • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke is 5% less to 25.2% more than for teens with lenient parents
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke (p1) is 5% less to 25.2% more than for teens whose parents disapproved. • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke is 5% less to 25.2% more than for teens with lenient parents
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke (p1) is 5% less to 25.2% more than for teens whose parents disapproved (p2). • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke is 5% less to 25.2% more than for teens with lenient parents
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke (p1) is 5% less to 25.2% more than for teens whose parents disapproved (p2). • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke (p2) is 5% less to 25.2% more than for teens with lenient parents (p1)
We are 95% confident… • The proportion of teens with lenient parents who’ll later smoke (p1) is 5% less to 25.2% more than for teens whose parents disapproved (p2). • About 5% of teens whose parents disapproved will later smoke and 25.2% of teens with lenient parents will someday smoke • 5% to 25.2% less teens whose parents disapproved than teens with lenient parents will later smoke • The proportion of teens whose parents disapproved who will later smoke (p2) is 5% less to 25.2% more than for teens with lenient parents (p1)
We use the pooled value to estimate the standard error: Now we find the test statistic: When the conditions are met and the null hypothesis is true, this statistic follows the standard Normal model, so we can use that model to obtain a P-value. Two-Proportion z-Test (cont.)
HW 10 – Problem 9 • A study investigated whether regular mammograms resulted in fewer deaths from breast cancer. • Women would never had mammograms, 30,761, only 197 died of breast cancer. • Women who had mammograms, 30,360, only 162 died of breast cancer. • Do these results suggest mammograms reduce breast cancer deaths? (Test at significance level=0.01)
What is our hypothesis? We want to know if screenings improve (or lower) the death rate • Ho: p1 – p2 =0 Ha: p1 – p2>0 • Ho: p1 – p2 =0 Ha: p1 – p2<0 • Ho: p1 – p2 =0 Ha: p1 – p2≠0
At significance of 0.01, what is your test result? • Reject Null. There is enough evidence to support the claim of a difference. • Accept Null. There is NOT enough evidence to support the claim of a difference. • Fail to Reject the Null. There is NOT enough evidence to support the claim of a difference.
Upcoming in class • Quiz #5 today. • Homework #10 due Sunday • Exam #2 is Wed. Nov 28th