Chapter 8 Inference for Proportions

Slides:



Advertisements
Similar presentations
Inference on Proportions. What are the steps for performing a confidence interval? 1.Assumptions 2.Calculations 3.Conclusion.
Advertisements

1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Objectives (BPS chapter 15)
Two Sample Hypothesis Testing for Proportions
Chapter 9 Chapter 10 Chapter 11 Chapter 12
Chapter 6 Inference for a Mean
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
Significance Tests for Proportions Presentation 9.2.
CHAPTER 23 Inference for Means.
Chapter 13: Inference in Regression
Chapter 8 Inference for Proportions
Chapter 9 Testing a Claim
More About Significance Tests
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
Confidence Intervals and Hypothesis tests with Proportions.
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Inference for Proportions
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
Essential Statistics Chapter 131 Introduction to Inference.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
BPS - 5th Ed. Chapter 191 Inference about a Population Proportion.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
CHAPTER 20: Inference About a Population Proportion
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Confidence Intervals and Tests of Proportions. Assumptions for inference when using sample proportions: We will develop a short list of assumptions for.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Essential Statistics Chapter 141 Thinking about Inference.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
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:
AP STATISTICS LESSON INFERENCE FOR A POPULATION PROPORTION.
The z test statistic & two-sided tests Section
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Chapter 9: Testing a Claim Section 9.2 Tests About a Population Proportion.
Inference about a Population Proportion BPS chapter 19 © 2010 W.H. Freeman and Company.
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 8 First Part.
Introduction to Inference: Confidence Intervals and Hypothesis Testing Presentation 4 First Part.
Chapter 16: Inference in Practice STAT Connecting Chapter 16 to our Current Knowledge of Statistics ▸ Chapter 14 equipped you with the basic tools.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
1 Chapter 9: Introduction to Inference. 2 Thumbtack Activity Toss your thumbtack in the air and record whether it lands either point up (U) or point down.
BPS - 5th Ed. Chapter 151 Thinking about Inference.
Inference on Proportions. Assumptions: SRS Normal distribution np > 10 & n(1-p) > 10 Population is at least 10n.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
+ Chapter 9 Testing a Claim 9.1Significance Tests: The Basics 9.2Tests about a Population Proportion 9.3Tests about a Population Mean.
Inference on Proportions
Elementary Statistics
Daniela Stan Raicu School of CTI, DePaul University
Estimating a Population Proportion
Inference on Proportions
Inference on Proportions Confidence Intervals and Hypothesis Test
Inference on Proportions
Presentation transcript:

Chapter 8 Inference for Proportions Statistics 303 Chapter 8 Inference for Proportions

Section 8.1: Confidence Interval for Proportions The same principles used for the confidence interval for the mean are used for the confidence interval of the population proportion. Here we want to obtain a plausible range of values for the population proportion, π Keep in mind, π, should have a value between 0 and 1

Confidence Interval for Proportions Previously, we used p as an estimate of π, so that initially we might consider p when trying to construct confidence intervals for π However, using p can lead to confidence intervals which contain values outside of 0 and 1 Why would this be a problem?

Confidence Interval for Proportions The confidence interval has the following form: z* is the same as before

Confidence Interval for Proportions Thus, we can rewrite the confidence interval for a population proportion explicitly in this form. This formula should be used when n is larger than 5.

Sample Size To get a desired margin of error (m) by adjusting the sample size n we use the following: Determine the desired margin of error (m). Use the following formula: where p* is a guessed value for the proportion of successes in the future sample.

Confidence Interval Example “A recent fire in a warehouse that contained 100,000 radios damaged an unknown number of the radios. A freight broker who purchases damaged goods offers to purchase the entire contents from the insurance company that provides coverage for the warehouse. The freight broker will eventually sort through all the radios and sell those that are not damaged. Before the broker makes an offer to the insurance company, he would like to know what proportion of the 100,000 radios are damaged and cannot be sold” (from Graybill, Iyer and Burdick, Applied Statistics, 1998). Find a 99% confidence interval for the proportion of the 100,000 radios which are damaged.

Confidence Interval Example Suppose a random sample of 200 radios is taken from the warehouse and 34 of them were damaged. Next we use the formula: 2.576 (99% C.I.) 200 99% Confidence Interval for the true proportion:

Confidence Interval Example A confidence interval of (0.101, 0.239) is not very narrow. How large of a sample size would be needed to have a margin of error (m) of 0.01? 2.576 We can use 0.17 as a good guess since it is estimated from the data. 0.01 The freight broker should use a sample of size 9,364 to achieve a margin of error of 0.01.

Tests of Significance: One Proportion Steps for Testing a Population Proportion (Section 8.1) Before using the techniques of the following slides, it is recommended that we check the following rule of thumb: nπ0 > 10 and n(1- π0) > 10 where n is the sample size and π0 is the hypothesized proportion as shown in the following slides.

Tests of Significance: Proportions Steps for Testing a Population Proportion 1. State the null hypothesis: 2. State the alternative hypothesis: 3. State the level of significance. RECALL: we assume a = 0.05 unless otherwise stated 4. Calculate the test statistic

Tests of Significance: Proportions Steps for Testing a Population Proportion 5. Find the P-value: For a two-sided test: For a one-sided test:

Tests of Significance Large-Sample Significance Test for a Population Proportion Draw an SRS of size n from a large population with unknown proportion π of successes. To test the hypothesis H0: π = π0, compute the z statistic In terms of a standard normal random variable Z, the approximate P-value for a test of H0 against Ha: π > π0 is P(Z > z) Ha: π < π0 is P(Z < z) Ha: π ≠ π0 is 2P(Z > |z|)

Tests of Significance: Proportions Steps for Testing a Population Proportion 6. Reject or fail to reject H0 based on the P-value. If the P-value is less than or equal to a, reject H0. It the P-value is greater than a, fail to reject H0. 7. State your conclusion. Your conclusion should reflect your original statement of the hypotheses. Furthermore, your conclusion should be stated in terms of the alternative hypotheses For example, if Ha: π ≠ π0 as stated previously If H0 is rejected, “There is significant statistical evidence that the population proportion is different than π0.” If H0 is not rejected, “There is not significant statistical evidence that the population mean is different than π0.”

Two Examples of Significance Tests Example 1: Orange Trees The owner of an orange grove wants to determine if the proportion of diseased trees in the grove is more than 10%. He will use this information to determine if it will be cost effective to spray the entire grove. The owner would like to know the exact value of p, but he realizes that he cannot know the exact value unless he examines every one of the 6,010 trees, which would be too expensive. He decides to take a simple random sample of 150 trees and examine them for the disease. He finds that 12 of the 150 trees are diseased. (adapted from Graybill, Iyer and Burdick, Applied Statistics, 1998).

Two Examples of Significance Tests Orange Trees Example Information given: Sample size: n = 150.

Two Examples of Significance Tests Orange Trees Example We first check the rule of thumb: nπ0 = 150(0.10) = 15 > 10 and n(1- π0) =150(1- 0.10) = 150(0.90) = 135 > 10 The assumptions for the following test are approximately met.

Two Examples of Significance Tests Orange Trees Example 1. State the null hypothesis: 2. State the alternative hypothesis: 3. State the level of significance from “more than” assume a = 0.05

Two Examples of Significance Tests Orange Trees Example 4. Calculate the test statistic. 5. Find the P-value.

Two Examples of Significance Tests Orange Trees Example 6. Do we reject or fail to reject H0 based on the P-value? 7. State the conclusion. P-value = 0.7939 is greater than a = 0.05. Therefore, we fail to reject H0 “There is not significant statistical evidence that the true proportion of diseased orange trees is greater than 10%.”

Two Examples of Significance Tests Example 2: Immunization Shots The superintendent of a large school district wants to know if the proportion of first graders in her district that have received their immunization shots is different from last year. Last year, 74% of the first grade children had received their immunization shots. The superintendent random selects 100 first grade students and 77 of them have received their immunization shots.

Two Examples of Significance Tests Immunization Shots Example Information given: Sample size: n = 100.

Two Examples of Significance Tests Immunization Shots Example We first check the rule of thumb: nπ0 = 100(0.74) = 74 > 10 and n(1- π0) =100(1- 0.74) = 100(0.26) = 26 > 10 The assumptions for the following test are approximately met.

Two Examples of Significance Tests Immunization Shots Example 1. State the null hypothesis: 2. State the alternative hypothesis: 3. State the level of significance from “is different from” assume a = 0.05

Two Examples of Significance Tests Immunization Shots Example 4. Calculate the test statistic. 5. Find the P-value.

Two Examples of Significance Tests Immunization Shots Example 6. Do we reject or fail to reject H0 based on the P-value? 7. State the conclusion. P-value = 0.4966 is greater than a = 0.05. Therefore, we fail to reject H0 “There is not significant statistical evidence that this year’s true proportion of first grade students with immunization shots is different than last years proportion of 0.74.”

Section 8.2: Comparing Two Proportions Examples of Comparing Two Proportions “A national survey is conducted to compare the percentage of clergy favoring the ordination of women to the priesthood to the percentage of nonclergy in favor of such a move.” (from Milton, McTeer, and Corbet, Introduction to Statistics, 1997) Comparing high school drop-out rates for two races or for gender. Comparing students’ to non-students’ views on a particular policy concerning parking.

Comparing Two Proportions Confidence interval The confidence interval is for the difference of population proportions ( ) for two groups. An approximate confidence interval for is

Comparing Two Proportions Example: Fear In an experiment designed to study the effect of fear as a behavior modifier, psychologists performed the following experiment: 400 randomly selected students were randomly divided into two groups of 200 each. Each group was urged to get flu shots. Group I was shown slides and given a gory verbal description of the effects of flu, the high degree of contagion of the disease, and the danger of death resulting from contracting the disease. The presentation was made in such a way that it was extremely frightening. Group II was simply given a brochure describing the disease, and no attempt was made to induce fear in the subjects. Of the 200 subjects in group I, 44 elected to receive the vaccine, whereas 39 of those in group II did so. (from Milton, McTeer, and Corbet, Introduction to Statistics, 1997) Find a 95% confidence interval for .

Comparing Two Proportions Example: Fear Estimated proportions: Confidence Interval: (95% C.I. for )

Comparing Two Proportions Significance Test The test statistic for comparing two proportions is

Comparing Two Proportions The null hypothesis can be any of the following: The alternative hypothesis can be any of the following (depending on the question being asked): The other steps are the same as those used for the tests we have looked at previously.

Comparing Two Proportions Example: “A child protection agency conducted a poll of adults in the state and asked them the question, ‘Is a hard spanking sometimes necessary to discipline a child?’ The agency wants to determine whether or not there is a difference between the proportion of men who believe that a hard spanking is sometimes necessary and the proportion of women who have this belief.” Out of 571 men asked the question, 421 responded ‘Yes’. Of 611 women asked, 367 answered ‘Yes’. (from Graybill, Iyer and Burdick, Applied Statistics, 1998) Perform a test to see if there is any difference between the true proportions of men and women at a 0.01 significance level.

Comparing Two Proportions Example: Information given: Sample sizes: n1 = 571, n2 = 611.

Comparing Two Proportions Example: Spanking 1. State the null hypothesis: 2. State the alternative hypothesis: 3. State the level of significance from “a difference between” a = 0.01

Comparing Two Proportions Example: Spanking 4. Calculate the test statistic. 5. Find the P-value.

Comparing Two Proportions Example: Spanking 6. Do we reject or fail to reject H0 based on the P-value? 7. State the conclusion. P-value = less than .0004 is less than a = 0.01. Therefore, we reject H0 “There is significant statistical evidence (at the 0.01 level of significance) that there is a difference between the proportion of men who believe that a hard spanking is sometimes necessary and the proportion of women who have this belief.”