Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.

Slides:



Advertisements
Similar presentations
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Advertisements

Independent Samples: Comparing Proportions Lecture 35 Section 11.5 Mon, Nov 20, 2006.
8-2 Basics of Hypothesis Testing
8-3 Testing a Claim about a Proportion
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Lecture Slides Elementary Statistics Twelfth Edition
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Claims about a Population Mean when σ is Known Objective: test a claim.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
The Probability of a Type II Error and the Power of the Test
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Procedure for Hypothesis Testing 1. Establish the null hypothesis, H 0. 2.Establish.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Hypothesis Testing for Proportions
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Section 8-4 Testing a Claim About a Mean:  Known Created by.
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.
Testing of Hypothesis Fundamentals of Hypothesis.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Confidence Interval Estimation for a Population Proportion Lecture 31 Section 9.4 Wed, Nov 17, 2004.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion.
Testing Hypotheses about a Population Proportion Lecture 30 Sections 9.3 Wed, Oct 24, 2007.
1 Section 8.3 Testing a claim about a Proportion Objective For a population with proportion p, use a sample (with a sample proportion) to test a claim.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Section 9.2 Hypothesis Testing Proportions P-Value.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Section 3.3: The Story of Statistical Inference Section 4.1: Testing Where a Proportion Is.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Making Decisions about a Population Mean with Confidence Lecture 33 Sections 10.1 – 10.2 Fri, Mar 30, 2007.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Wed, Nov 1, 2006.
© Copyright McGraw-Hill 2004
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 31, 2006.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Testing Claims about a Population Proportion Objective: Test a claim about a population proportion.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Section 10.4: Hypothesis Tests for a Population Mean.
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.
Making Decisions about a Population Mean with Confidence Lecture 35 Sections 10.1 – 10.2 Fri, Mar 25, 2005.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Hypothesis Testing Involving One Population Chapter 11.
Significance Test for the Difference of Two Proportions
Testing Hypotheses about a Population Proportion
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Hypothesis Tests for 1-Sample Proportion
Testing a Claim About a Mean:  Known
Making Decisions about a Population Mean with Confidence
Hypothesis tests for the difference between two proportions
Hypothesis Tests for Proportions
Hypothesis Tests for Two Population Standard Deviations
Making Decisions about a Population Mean with Confidence
Testing Hypotheses about a Population Proportion
Making Decisions about a Population Mean with Confidence
Independent Samples: Comparing Proportions
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
Testing Hypotheses about a Population Proportion
Testing Hypotheses about a Population Proportion
Testing Hypotheses about a Population Proportion
Testing a Claim About a Mean:  Known
Presentation transcript:

Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004

Discovering Characteristics of a Population Our question about a population must first be described in terms of a population parameter. Our question about a population must first be described in terms of a population parameter. Then our question about that parameter generally falls into one of two categories. Then our question about that parameter generally falls into one of two categories. What is the value of the parameter? What is the value of the parameter? That is, estimate its value. That is, estimate its value. Does the evidence tend to support or refute a claim about the value of the parameter? Does the evidence tend to support or refute a claim about the value of the parameter? That is, test a hypothesis concerning the parameter. That is, test a hypothesis concerning the parameter.

Example A standard assumption is that a newborn baby is as likely to be a boy as it is to be a girl. A standard assumption is that a newborn baby is as likely to be a boy as it is to be a girl. However, some believe that boys are more likely. However, some believe that boys are more likely. A random sample of 1000 live births shows that 520 are boys and 480 are girls. A random sample of 1000 live births shows that 520 are boys and 480 are girls. Does this evidence support or refute the standard assumption? Does this evidence support or refute the standard assumption?

The Steps of Testing a Hypothesis The basic steps are The basic steps are 1. State the null and alternative hypotheses. 1. State the null and alternative hypotheses. 2. State the significance level. 2. State the significance level. 3. Compute the value of the test statistic. 3. Compute the value of the test statistic. 4. Compute the p-value. 4. Compute the p-value. 5. State the conclusion. 5. State the conclusion. See page 519. See page 519.

Step 1: State the Null and Alternative Hypotheses Let p = proportion of live births that are boys. Let p = proportion of live births that are boys. The null and alternative hypotheses are The null and alternative hypotheses are H 0 : p = H 0 : p = H 1 : p > H 1 : p > 0.50.

State the Null and Alternative Hypotheses The null hypothesis should state a hypothetical value p 0 for the population proportion. The null hypothesis should state a hypothetical value p 0 for the population proportion. H 0 : p = p 0. H 0 : p = p 0. The alternative hypothesis must contradict the null hypothesis in one of three ways: The alternative hypothesis must contradict the null hypothesis in one of three ways: H 1 : p < p 0. (Direction of extreme is left.) H 1 : p < p 0. (Direction of extreme is left.) H 1 : p  p 0. (Direction of extreme is left and right.) H 1 : p  p 0. (Direction of extreme is left and right.) H 1 : p > p 0. (Direction of extreme is right.) H 1 : p > p 0. (Direction of extreme is right.)

Explaining the Data The observation is 520 males out of 1000 births, or 52%. The observation is 520 males out of 1000 births, or 52%. Since we did not observe 50%, how do we explain the discrepancy? Since we did not observe 50%, how do we explain the discrepancy? Chance, or Chance, or The true proportion is not 50%, but something larger, maybe 52%. The true proportion is not 50%, but something larger, maybe 52%.

Step 2: State the Significance Level The significance level  should be given in the problem. The significance level  should be given in the problem. If it isn’t, then use  = If it isn’t, then use  = In this example, we will use  = In this example, we will use  = 0.05.

The Sampling Distribution of p^ To decide whether the sample evidence is significant, we will compare the p-value to . To decide whether the sample evidence is significant, we will compare the p-value to . From the value of , we may find the critical value(s). From the value of , we may find the critical value(s).  is the probability that the sample data are at least as extreme as the critical value(s), if the null hypothesis is true.  is the probability that the sample data are at least as extreme as the critical value(s), if the null hypothesis is true.

The Sampling Distribution of p^ Therefore, when we compute the p-value, we do it under the assumption that H 0 is true, i.e., that p = p 0. Therefore, when we compute the p-value, we do it under the assumption that H 0 is true, i.e., that p = p 0.

The Sampling Distribution of p^ We know that the sampling distribution of p^ is normal with mean p and standard deviation We know that the sampling distribution of p^ is normal with mean p and standard deviation Thus, we assume that p^ has mean p 0 and standard deviation: Thus, we assume that p^ has mean p 0 and standard deviation:

Step 3: The Test Statistic Test statistic – The z-score of p^, under the assumption that H 0 is true. Test statistic – The z-score of p^, under the assumption that H 0 is true. Thus, Thus,

The Test Statistic In our example, we compute In our example, we compute Therefore, the test statistic is Therefore, the test statistic is Now, to find the value of the test statistic, all we need to do is to collect the sample data and substitute the value of p^. Now, to find the value of the test statistic, all we need to do is to collect the sample data and substitute the value of p^.

Computing the Test Statistic In the sample, p^ = In the sample, p^ = Thus, Thus, z = (0.52 – 0.50)/ = z = (0.52 – 0.50)/ = 1.26.

Step 4: Compute the p-value To compute the p-value, we must first check whether it is a one-tailed or a two-tailed test. To compute the p-value, we must first check whether it is a one-tailed or a two-tailed test. We will compute the probability that Z would be at least as extreme as the value of our test statistic. We will compute the probability that Z would be at least as extreme as the value of our test statistic. If the test is two-tailed, then we must take into account both tails of the distribution to get the p- value. If the test is two-tailed, then we must take into account both tails of the distribution to get the p- value.

Compute the p-value In this example, the test is one-tailed, with the direction of extreme to the right. In this example, the test is one-tailed, with the direction of extreme to the right. So we compute So we compute P(Z > 1.26) =

Compute the p-value An alternative is to evaluate An alternative is to evaluate normalcdf(0.52, E99, 0.50, ) on the TI-83. It should give the same answer (except for round-off). It should give the same answer (except for round-off).

Step 5: State the Conclusion Since the p-value is greater than , we should not reject the null hypothesis. Since the p-value is greater than , we should not reject the null hypothesis. State the conclusion in a sentence. State the conclusion in a sentence. “The data do not support the claim, at the 5% level of significance, that more than 50% of live births are male.” “The data do not support the claim, at the 5% level of significance, that more than 50% of live births are male.”

Testing Hypotheses on the TI-83 The TI-83 has special functions designed for hypothesis testing. The TI-83 has special functions designed for hypothesis testing. Press STAT. Press STAT. Select the TESTS menu. Select the TESTS menu. Select 1-PropZTest… Select 1-PropZTest… Press ENTER. Press ENTER. A window with several items appears. A window with several items appears.

Testing Hypotheses on the TI-83 Enter the value of p 0. Press ENTER and the down arrow. Enter the value of p 0. Press ENTER and the down arrow. Enter the numerator x of p^. Press ENTER and the down arrow. Enter the numerator x of p^. Press ENTER and the down arrow. Enter the sample size n. Press ENTER and the down arrow. Enter the sample size n. Press ENTER and the down arrow. Select the type of alternative hypothesis. Press the down arrow. Select the type of alternative hypothesis. Press the down arrow. Select Calculate. Press ENTER. Select Calculate. Press ENTER. (You may select Draw to see a picture.) (You may select Draw to see a picture.)

Testing Hypotheses on the TI-83 The display shows The display shows The title “1-PropZTest” The title “1-PropZTest” The alternative hypothesis. The alternative hypothesis. The value of the test statistic Z. The value of the test statistic Z. The p-value. The p-value. The value of p^. The value of p^. The sample size. The sample size. We are interested in the p-value. We are interested in the p-value.