Hypothesis Testing and Confidence Intervals

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

Two Population Means Hypothesis Testing and Confidence Intervals For Differences in Proportions.
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.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Sample size computations Petter Mostad
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.
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 :
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
June 18, 2008Stat Lecture 11 - Confidence Intervals 1 Introduction to Inference Sampling Distributions, Confidence Intervals and Hypothesis Testing.
Chapter 8: Confidence Intervals
Confidence Interval Proportions.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
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.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 12 Inference About A Population.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Statistics 300: Elementary Statistics Section 6-5.
Determination of Sample Size: A Review of Statistical Theory
1 Sampling Distributions. Central Limit Theorem*
Section 6-5 The Central Limit Theorem. THE CENTRAL LIMIT THEOREM Given: 1.The random variable x has a distribution (which may or may not be normal) with.
8 Sampling Distribution of the Mean Chapter8 p Sampling Distributions Population mean and standard deviation,  and   unknown Maximal Likelihood.
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.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
AP Statistics Unit 5 Addie Lunn, Taylor Lyon, Caroline Resetar.
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.
8.1 Estimating µ with large samples Large sample: n > 30 Error of estimate – the magnitude of the difference between the point estimate and the true parameter.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
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.
Estimating a Population Proportion ADM 2304 – Winter 2012 ©Tony Quon.
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.
Chapter 9 Hypothesis Testing.
Parameter Estimation.
Testing the Difference Between Two Means
One-Sample Inference for Proportions
Comparing Two Proportions
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances.
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:
Hypothesis tests for the difference between two proportions
Hypothesis Tests for Proportions
CHAPTER 6 Statistical Inference & Hypothesis Testing
Hypothesis Testing and Confidence Intervals
Summary of Tests Confidence Limits
Day 63 Agenda:.
Confidence Intervals.
Hypothesis Testing and Confidence Intervals
From Samples to Populations
Determining Which Method to use
Independent Samples: Comparing Proportions
Independent Samples: Comparing Proportions
Interval Estimation Download this presentation.
How Confident Are You?.
Presentation transcript:

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

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

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: p1 (which we don’t know) true variance p1q1/n1 Proportion of “1’s” from Population 2 has: true mean: p2 (which we don’t know) true variance p2q2/n2

Distribution of the Difference in Proportions True mean: p1 - p2 True variance p1q1/n1 + p2q2/n2 True standard deviation: SQRT(p1q1/n1 + p2q2/n2) But since p1 and p2 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 Z-Statistics for Difference in Proportions H0: p1- p2 = v Where v ≠ 0 H0: p1- p2 = 0 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 -- 350 out of 400 in LA were satisfied 160 out of 200 in NY were satisfied

(1) Is a greater proportion in LA? H0: p1 - p2 = 0 HA: p1 - p2 > 0 Select α = .05 Reject H0 (Accept HA) if z > z.05 = 1.645 2.425 > 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? H0: p1 - p2 = .02 HA: p1 - p2 > .02 Select α = .05. Reject H0 (Accept HA) if z > z.05 = 1.645 1.679 > 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 n1 = n2 = n Take the “worst case scenario” for the standard deviation -- when p1 = p2 = .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 Confidence Intervals for difference in proportions Hypothesis Tests for difference in proportions of the form p1 - p2 = 0 By hand and by Excel Hypothesis Tests for difference in proportions of the form p1 - p2 = d Confidence Intervals for difference in proportions Estimating Sample Sizes No idea of the proportions Some idea of the proportions