Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for.

Slides:



Advertisements
Similar presentations
Chapter 12: Inference for Proportions BY: Lindsey Van Cleave.
Advertisements

Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan 10/23/12 Sections , Single Proportion, p Distribution (6.1)
Hypothesis Testing: Intervals and Tests
Chapter 8: Estimating with Confidence
Chapter 10: Estimating with Confidence
Hypothesis Testing I 2/8/12 More on bootstrapping Random chance
Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: p-value STAT 250 Dr. Kari Lock Morgan SECTION 4.2 Randomization distribution p-value.
Statistics: Unlocking the Power of Data Lock 5 Inference Using Formulas STAT 101 Dr. Kari Lock Morgan Chapter 6 t-distribution Formulas for standard errors.
Stat 512 – Lecture 12 Two sample comparisons (Ch. 7) Experiments revisited.
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
STAT 101 Dr. Kari Lock Morgan Exam 2 Review.
Connecting Simulation- Based Inference with Traditional Methods Kari Lock Morgan, Penn State Robin Lock, St. Lawrence University Patti Frazer Lock, St.
Dr. Kari Lock Morgan Department of Statistics Penn State University Teaching the Common Core: Making Inferences and Justifying Conclusions ASA Webinar.
Inference for Categorical Variables 2/29/12 Single Proportion, p Distribution Intervals and tests Difference in proportions, p 1 – p 2 One proportion or.
Introducing Inference with Simulation Methods; Implementation at Duke University Kari Lock Morgan Department of Statistical Science, Duke University
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
More Randomization Distributions, Connections
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 250 Dr. Kari Lock Morgan Chapter 5 Normal distribution Central limit theorem Normal.
Normal Distribution Chapter 5 Normal distribution
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Statistics: Unlocking the Power of Data Lock 5 Synthesis STAT 250 Dr. Kari Lock Morgan SECTIONS 4.4, 4.5 Connecting bootstrapping and randomization (4.4)
Using Lock5 Statistics: Unlocking the Power of Data
CHAPTER 8 Estimating with Confidence
Section Inference for Experiments Objectives: 1.To understand how randomization differs in surveys and experiments when comparing two populations.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 101 Dr. Kari Lock Morgan 10/18/12 Chapter 5 Normal distribution Central limit theorem.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Simple Linear Regression SECTION 9.1 Inference for correlation Inference for.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Chapter 8 Delving Into The Use of Inference 8.1 Estimating with Confidence 8.2 Use and Abuse of Tests.
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.1.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.1.
Section A Confidence Interval for the Difference of Two Proportions Objectives: 1.To find the mean and standard error of the sampling distribution.
Statistics: Unlocking the Power of Data Lock 5 Exam 2 Review STAT 101 Dr. Kari Lock Morgan 11/13/12 Review of Chapters 5-9.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 250 Dr. Kari Lock Morgan Chapter 5 Normal distribution (5.1) Central limit theorem.
Inference for Proportions Section Starter Do dogs who are house pets have higher cholesterol than dogs who live in a research clinic? A.
Ch 8 Estimating with Confidence 8.1: Confidence Intervals.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
Statistics: Unlocking the Power of Data Lock 5 Section 6.2 Confidence Interval for a Single Proportion.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for.
Review Statistical inference and test of significance.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Simple Linear Regression SECTION 9.1 Inference for correlation Inference for.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Inference: Conclusion with Confidence
Inference for Proportions
CHAPTER 10 Comparing Two Populations or Groups
Chapter 4. Inference about Process Quality
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
CHAPTER 10 Comparing Two Populations or Groups
Chapter Review Problems
Introduction to Inference
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 6 Statistical Inference & Hypothesis Testing
Estimating a Population Proportion
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
Inference for Proportions
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
CHAPTER 10 Comparing Two Populations or Groups
Presentation transcript:

Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for standard errors Normal based inference

Statistics: Unlocking the Power of Data Lock 5 Confidence Interval Formula From original data From bootstrap distribution From N(0,1) IF SAMPLE SIZES ARE LARGE…

Statistics: Unlocking the Power of Data Lock 5 Formula for p-values From randomization distribution From H 0 From original data Compare z to N(0,1) for p-value IF SAMPLE SIZES ARE LARGE…

Statistics: Unlocking the Power of Data Lock 5 Standard Error Wouldn’t it be nice if we could compute the standard error without doing thousands of simulations? We can!!!

Statistics: Unlocking the Power of Data Lock 5 ParameterDistributionStandard Error Proportion Normal Difference in Proportions Normal Meant, df = n – 1 Difference in Meanst, df = min(n 1, n 2 ) – 1 Correlationt, df = n – 2 Standard Error Formulas

Statistics: Unlocking the Power of Data Lock 5 SE Formula Observations n is always in the denominator (larger sample size gives smaller standard error) Standard error related to square root of 1/n Standard error formulas use population parameters… (uh oh!) For intervals, plug in the sample statistic(s) as your best guess at the parameter(s) For testing, plug in the null value for the parameter(s), because you want the distribution assuming H 0 true

Statistics: Unlocking the Power of Data Lock 5 Hormone Replacement Therapy Until 2002, hormone replacement therapy (HRT), estrogen and/or progesterone, was commonly prescribed to post-menopausal women. This changed in 2002, when the results of a large clinical trial were published 8506 women were randomized to take HRT, 8102 were randomized to placebo. 166 HRT and 124 placebo women developed invasive breast cancer Does hormone replacement therapy cause increased risk of breast cancer?

Statistics: Unlocking the Power of Data Lock 5 Interval for Proportion First: What are the chances a woman not taking HRT develops invasive breast cancer? Give a 90% confidence interval. What is the sample statistic? What is z* for a 90% interval? What is the standard error?

Statistics: Unlocking the Power of Data Lock 5 Sample Statistic 8506 women were randomized to take HRT, 8102 were randomized to placebo. 166 HRT and 124 placebo women developed invasive breast cancer

Statistics: Unlocking the Power of Data Lock 5 z*

Statistics: Unlocking the Power of Data Lock 5 Standard Error

Statistics: Unlocking the Power of Data Lock 5 Standard Error

Statistics: Unlocking the Power of Data Lock 5 Interval for Proportion

Statistics: Unlocking the Power of Data Lock 5 Bootstrap Interval

Statistics: Unlocking the Power of Data Lock 5 Interpretation “We are 90% confident that the true proportion of post-menopausal women not taking HRT who develop invasive breast cancer is between and 0.018” Do you believe this sentence is accurate? a) Yes b) No

Statistics: Unlocking the Power of Data Lock 5 Your Turn! 8506 women were randomized to take HRT, 8102 were randomized to placebo. 166 HRT and 124 placebo women developed invasive breast cancer Give a 95% confidence interval for the proportion of women taking HRT who develop invasive breast cancer: a) (0.013, 0.027) b) (0.015, 0.025) c) (0.017, 0.023) d) (0.019, 0.021)

Statistics: Unlocking the Power of Data Lock 5 Testing When testing, use the null value for p, rather than the sample statistic So, if testing whether the proportion of people not taking HRT who develop invasive breast cancer is less than 0.1, the standard error would be

Statistics: Unlocking the Power of Data Lock 5 Hormone Replacement Therapy 8506 women were randomized to take HRT, 8102 were randomized to placebo. 166 HRT and 124 placebo women developed invasive breast cancer Does hormone replacement therapy cause increased risk of breast cancer?

Statistics: Unlocking the Power of Data Lock 5 Hypothesis Test State hypotheses. Calculate z-statistic. Compare to standard normal distribution to find p-value. Make a conclusion.

Statistics: Unlocking the Power of Data Lock 5 Hypotheses Does hormone replacement therapy cause increased risk of invasive breast cancer? p 1 = proportion of women taking HRT who get invasive breast cancer p 2 = proportion of women not taking HRT who get invasive breast cancer a) H 0 : p 1 = p 2, H a : p 1 ≠ p 2 b) H 0 : p 1 = p 2, H a : p 1 > p 2 c) H 0 : p 1 = p 2, H a : p 1 < p 2

Statistics: Unlocking the Power of Data Lock 5 Calculate z-statistic null value = 0 What to use for p 1 and p 2 ??? Have to assume null is true…

Statistics: Unlocking the Power of Data Lock 5 Null Values Testing a difference in proportions: H 0 : p 1 = p 2 Use the overall sample proportion from both groups (called the pooled proportion) as an estimate for both p 1 and p 2 Note that this is in between the sample proportions for each group.

Statistics: Unlocking the Power of Data Lock 5 Standard Error

Statistics: Unlocking the Power of Data Lock 5 Standard Error

Statistics: Unlocking the Power of Data Lock 5 z-statistic

Statistics: Unlocking the Power of Data Lock 5 p-value

Statistics: Unlocking the Power of Data Lock 5 p-value

Statistics: Unlocking the Power of Data Lock 5 Conclusion Does this provide evidence that hormone replacement therapy increases risk of invasive breast cancer? a) Yes b) No

Statistics: Unlocking the Power of Data Lock 5 Your Turn! Same trial, different variable of interest women were randomized to take HRT, 8102 were randomized to placebo. 502 HRT and 458 placebo women developed any kind of cancer. Does hormone replacement therapy cause increased risk of cancer in general? a) Yes b) No

Statistics: Unlocking the Power of Data Lock 5 Margin of Error For a single proportion, what is the margin of error? a) b) c)

Statistics: Unlocking the Power of Data Lock 5 Margin of Error You can choose your sample size in advance, depending on your desired margin of error! Given this formula for margin of error, solve for n.

Statistics: Unlocking the Power of Data Lock 5 Margin of Error

Statistics: Unlocking the Power of Data Lock 5 Margin of Error Suppose we want to estimate a proportion with a margin of error of 0.03 with 95% confidence. How large a sample size do we need? (a)About 100 (b)About 500 (c)About 1000 (d) About 5000

Statistics: Unlocking the Power of Data Lock 5 To Do Read Sections 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Do HW 6a (due Friday, 4/10)