Inferences about two proportions Assumptions 1.We have proportions from two simple random samples that are independent (not paired) 2.For both samples,

Slides:



Advertisements
Similar presentations
Testing a Claim about a Proportion Assumptions 1.The sample was a simple random sample 2.The conditions for a binomial distribution are satisfied 3.Both.
Advertisements

Section 9.3 Inferences About Two Means (Independent)
Hypothesis Testing Using a Single Sample
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups.
Two Sample Hypothesis Testing for Proportions
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Paired or Dependent Groups.
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
Chapter 9 Hypothesis Testing 9.4 Testing a Hypothesis about a Population Proportion.
Overview of Lecture Parametric Analysis is used for
8-4 Testing a Claim About a Mean
8-3 Testing a Claim about a Proportion
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Comparing Means
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.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Slide 1 Copyright © 2004 Pearson Education, Inc..
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Claims about a Population Mean when σ is Known Objective: test a claim.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Inference about Two Population Standard Deviations.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing for Proportions
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 11 Inferences About Population Variances n Inference about a Population Variance n.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Chapter 9 Section 2 Testing the Difference Between Two Means: t Test 1.
Chapter 10 Inferences from Two Samples
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Inferences Concerning Variances
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 26 Chapter 11 Section 1 Inference about Two Means: Dependent Samples.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Section 8-6 Testing a Claim about a Standard Deviation or Variance.
Lecture Slides Elementary Statistics Twelfth Edition
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
1 Section 8.4 Testing a claim about a mean (σ known) Objective For a population with mean µ (with σ known), use a sample (with a sample mean) to test a.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
Essential Statistics Chapter 191 Comparing Two Proportions.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Part 1: Chapters 7 to 9. 95% within 2 standard deviations 68% within 1 standard deviations 99.7% within 3 standard deviations.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Math 4030 – 10a Tests for Population Mean(s)
Chapter 8 Hypothesis Testing with Two Samples.
Inferences on Two Samples Summary
Elementary Statistics
Section 12.2: Tests about a Population Proportion
Inference about Two Means: Independent Samples
Independent Samples: Comparing Means
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 8 Inferences from Two Samples
Inferences from Matched Pairs
Presentation transcript:

Inferences about two proportions Assumptions 1.We have proportions from two simple random samples that are independent (not paired) 2.For both samples, np ≥ 5 and nq ≥ 5 Possible alternative hypotheses: Null Hypothesis: p 1 = p 2

Test Statistic: where p 1 - p 2 = 0 (assumed in null hypothesis) (pooled estimate of p 1 and p 2 ) Critical values and P-values come from the z-score tables

Example A drug company wants to determine that their new headache drug is effective. They give 500 people their new drug, and 400 people a placebo. In the experimental group, 350 said their headache went away in 15 minutes. In the placebo group, 235 said their headache went away in 15 minutes. Is the success rate higher in the experimental group?

Define hypotheses: Let’s use a 0.01 significance level Because we’re working with a proportion, we use a normal distribution.

Value of the test statistic: Since we are working with a 0.01 significance level, and this is a right-tailed test, the critical value is Since the test statistic is larger than the critical value, we reject the null hypothesis. The sample data support the claim that a larger proportion of people recovered in 15 minutes using the new drug than using the placebo.

P­Value : P(z > 3.516) = Much smaller than our critical value. This would again lead us to reject the null hypothesis. Confidence Intervals for two proportions

Example: The 99% confidence interval for our drug test results: We are 99% confident that the difference between the population proportions is between 0.03 and 0.195

Inferences about two means Assumptions 1.The two samples are simple random samples, and are independent 2.Either both samples are large (>30), or both samples come from normally distributed populations. Test Statistic: Degrees of freedom is the smaller of n 1 -1 and n 2 -1

Example You want to test the theory that talking to plants makes a difference. You put 23 bean plants in one greenhouse and talk to them nicely each day. You put 21 bean plants in another greenhouse and ignore them. After 4 weeks, you find that the mean height of the talked-to plants is 38cm, with a standard deviation of 5cm. The mean height of the ignored plants is 34cm, with a standard deviation of 7cm. Test the claim that the results are different.

Define hypotheses: Let’s use a 0.05 significance level Because we’re working with sample means, σ unknown, we use a t distribution. Degrees of freedom = 20

Value of the test statistic: This is a two-tailed test with a 0.05 significance level. From our critical t table, our critical values are and Since the test statistic is larger than the critical value, we reject the null hypothesis. The sample data support the claim that plants that are talked to grow differently than plants that are ignored.

Confidence Intervals for two means P-Value: Since it is a two-tailed test with the test statistic to the right of center, we want to find twice the area to the right of the test statistic: 2. P(t > 2.163) = 2. (0.020) = 0.04 (using technology) Since this is less than our significance level, we reject the null hypothesis

Example: The 95% confidence interval for our plant results above: We are 95% confident that the difference between the populations is between 0.14cm and 7.86cm. In other words, we are 95% confident that the plants that are talked to grow between 0.14cm and 7.86cm higher than plants that are ignored.

Matched Pairs When comparing two populations where the samples are not independent, we must use the Matched Pairs test (8.4) Example of matched pairs: People are given a test while listening to music, and another test in silence. Claim: the mean test score while listening to music is higher than the mean test score in silence

Homework 8.2: 5, 7, 11, : 1, 3, 5, 7, 15