Two Population Means Hypothesis Testing and Confidence Intervals For Differences in Proportions.

Slides:



Advertisements
Similar presentations
Chapter 10, part D. IV. Inferences about differences between two population proportions You will have two population proportions, p1 and p2. The true.
Advertisements

Inference on Proportions. What are the steps for performing a confidence interval? 1.Assumptions 2.Calculations 3.Conclusion.
Chapter 8: Estimating with Confidence
Sampling: Final and Initial Sample Size Determination
Section 9.3 Inferences About Two Means (Independent)
Note 10 of 5E Statistics with Economics and Business Applications Chapter 7 Estimation of Means and Proportions Large-Sample Estimation.
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
Hypothesis Tests for Proportions. The Random Variable Recall –Normal distribution –Mean  = p –Standard Deviation =
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Sample size computations Petter Mostad
Two Population Means Hypothesis Testing and Confidence Intervals With Known Standard Deviations.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Chapter Goals After completing this chapter, you should be able to:
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
6-5 The Central Limit Theorem
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
1 BA 275 Quantitative Business Methods Hypothesis Testing using the p-Value Statistical Inference on Two Populations Quiz #6 Agenda.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
1 Confidence Intervals for Means. 2 When the sample size n< 30 case1-1. the underlying distribution is normal with known variance case1-2. the underlying.
Hypothesis Testing :The Difference between two population mean :
Statistics Pooled Examples.
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Confidence Intervals Confidence Interval for a Mean
Chapter 8: Confidence Intervals
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Confidence Interval Proportions.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 10-1 Chapter 2c Two-Sample Tests.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Chapter 10 – Sampling Distributions Math 22 Introductory Statistics.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
STA291 Statistical Methods Lecture 18. Last time… Confidence intervals for proportions. Suppose we survey likely voters and ask if they plan to vote for.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Determination of Sample Size: A Review of Statistical Theory
1 Sampling Distributions. Central Limit Theorem*
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
Ch 12 – Inference for Proportions YMS 12.1
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
What is a Confidence Interval?. Sampling Distribution of the Sample Mean The statistic estimates the population mean We want the sampling distribution.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Comparing Two Proportions. AP Statistics Chap 13-2 Two Population Proportions The point estimate for the difference is p 1 – p 2 Population proportions.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
1 Section 8.5 Testing a claim about a mean (σ unknown) Objective For a population with mean µ (with σ unknown), use a sample to test a claim about the.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
What parameter is being tested? Categorical  proportionNumeric  mean.
Sample Size Needed to Achieve High Confidence (Means)
Chapter 6 Test Review z area ararea ea
Chapter 14 Single-Population Estimation. Population Statistics Population Statistics:  , usually unknown Using Sample Statistics to estimate population.
Can't Type? press F11 Can’t Hear? Check: Speakers, Volume or Re-Enter Seminar Put ? in front of Questions so it is easier to see them. 1 Welcome to Unit.
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Parameter Estimation.
Testing the Difference Between Two Means
One-Sample Inference for Proportions
Comparing Two Proportions
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Estimation & Hypothesis Testing for Two Population Parameters
Monthly utility bills factor into local cost of living measures
Problems: Q&A chapter 6, problems Chapter 6:
CHAPTER 6 Statistical Inference & Hypothesis Testing
Hypothesis Testing and Confidence Intervals
Summary of Tests Confidence Limits
Hypothesis Testing and Confidence Intervals
Confidence Intervals.
Hypothesis Testing and Confidence Intervals
Determining Which Method to use
Independent Samples: Comparing Proportions
Interval Estimation Download this presentation.
How Confident Are You?.
Presentation transcript:

Two Population Means Hypothesis Testing and Confidence Intervals For Differences in Proportions

SITUATION: 2 Populations Population 1 Population 2 Men - Republican?Women - Republican?TV in Cuba - Good?TV in China - Good?HS >$100K?College > $100K?Trad. Course “A”?Internet Course “A”? Yes = 1 No = 0

Notation

Individual Responses Proportion of Responses Each Individual Response is: 1 = YES or 0 = NO –Bernoulli Distribution: Mean = p; Variance = pq (where q = (1-p)) The Average or Proportion of n responses (n large) by the Central Limit Theorem is: –Distributed approximately normal with mean = p –Variance = pq/n

Differences in Proportions Proportion of “1’s” from Population 1 has: –a normal distribution (approximately) –true mean: p 1 (which we don’t know) –true variance p 1 q 1 /n 1 Proportion of “1’s” from Population 2 has: –a normal distribution (approximately) –true mean: p 2 (which we don’t know) –true variance p 2 q 2 /n 2

Distribution of the Difference in Proportions True mean: p 1 - p 2 True variance p 1 q 1 /n 1 + p 2 q 2 /n 2 True standard deviation: SQRT(p 1 q 1 /n 1 + p 2 q 2 /n 2 ) –But since p 1 and p 2 are unknown, what should we use for the standard deviation in confidence intervals and hypothesis tests? For all confidence intervals and for all hypothesis tests except H0: p1- p2 = 0 For hypothesis tests of the form H0: p1- p2 = 0

Hypothesis Tests and Confidence Intervals H 0 : p 1 - p 2 = v Where v ≠ 0 H 0 : p 1 - p 2 = 0 Z-Statistics for Difference in Proportions Confidence Interval

Example Midas wants to compare customer satisfaction between NY and LA operations. Can it conclude: (1) A greater proportion in LA are satisfied? (2) Customer satisfaction in LA exceeds NY by > 2%? (3) Give a 95% confidence interval for difference in customer satisfaction. Results out of 400 in LA were satisfied 160 out of 200 in NY were satisfied

(1) Is a greater proportion in LA? H 0 : p 1 - p 2 = 0 H A : p 1 - p 2 > 0 Select α =.05 Reject H 0 (Accept H A ) if z > z.05 = > 1.645; so it can be concluded that a greater proportion of Midas customers are satisfied customers in LA compared to New York. This is a hypothesis test with v = 0. Use

(2) Is Customer Satisfaction more than 2% greater in LA? H 0 : p 1 - p 2 =.02 H A : p 1 - p 2 >.02 Select α =.05. Reject H 0 (Accept H A ) if z > z.05 = > 1.645, so it can be concluded that customer satisfaction in LA exceeds that in New York by more than 2%. This is a hypothesis test with v ≠ 0. Use

95% Confidence Interval for the Difference in Proportions

Excel – Differences in Proportions =COUNTA(A2:A401) =COUNTA(B2:B201) =F1+F2 =COUNTIF(A2:A401,“YES”) =COUNTIF(B2:B201,“YES”) =F5+F6 =F5/F1 =F6/F2 =F7/F3 =(F9-F10-0)/SQRT(F11*(1-F11)*(1/F1+1/F2)) =1-NORMSDIST(E14) =(F9-F10-.02)/SQRT((F9*(1-F9)/F1)+(F10*(1-F10)/F2)) =1-NORMSDIST(E19) =(F9-F10)-NORMSINV(.975)*SQRT((F9*(1-F9)/F1)+(F10*(1-F10)/F2)) =(F9-F10)+NORMSINV(.975)*SQRT((F9*(1-F9)/F1)+(F10*(1-F10)/F2))

Determining Sample Sizes Usual Assumptions: –Sample Sizes equal n 1 = n 2 = n –Take the “worst case scenario” for the standard deviation -- when p 1 = p 2 =.5 (unless you have reason to believe otherwise) –Use the “±” part of the confidence interval How many people need to be surveyed in each city to estimate the difference in customer satisfaction to within ± 4%?

No Idea of the Proportions

In a Recent Survey 90% in LA and 75% in NY Were Satisfied

Review Hypothesis Tests for difference in proportions of the form p 1 - p 2 = 0 –By hand and by Excel Hypothesis Tests for difference in proportions of the form p 1 - p 2 = d –By hand and by Excel Confidence Intervals for difference in proportions –By hand and by Excel Estimating Sample Sizes –No idea of the proportions –Some idea of the proportions