Lecture 42 Section 14.3 Mon, Nov 19, 2007

Slides:



Advertisements
Similar presentations
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Goodness-of-Fit Tests.
Advertisements

Inference about the Difference Between the
Statistical Inference for Frequency Data Chapter 16.
A GEICO Direct magazine had an interesting article concerning the percentage of teenage motor vehicle deaths and the time of day. The following percentages.
Business Statistics - QBM117
Goodness of Fit Test for Proportions of Multinomial Population Chi-square distribution Hypotheses test/Goodness of fit test.
Presentation 12 Chi-Square test.
The Chi-Square Test Used when both outcome and exposure variables are binary (dichotomous) or even multichotomous Allows the researcher to calculate a.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Testing Distributions Section Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 26 Chi-Square Testing
Chapter 12: The Analysis of Categorical Data and Goodness- of-Fit Test.
Warm up On slide.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
Test of Independence Lecture 43 Section 14.5 Mon, Apr 23, 2007.
Chapter Outline Goodness of Fit test Test of Independence.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Wed, Nov 1, 2006.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Statistics 300: Elementary Statistics Section 11-2.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Lecture 11. The chi-square test for goodness of fit.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chi-Square Goodness of Fit Test. In general, the chi-square test statistic is of the form If the computed test statistic is large, then the observed and.
Section 13.2 Chi-Squared Test of Independence/Association.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Warm up On slide.
Presentation 12 Chi-Square test.
Lecture Nine - Twelve Tests of Significance.
Testing Hypotheses about a Population Proportion
Testing a Claim About a Mean:  Not Known
Hypothesis Testing Review
Chapter 12 Tests with Qualitative Data
What does it mean to say that the results of an experiment are (or are not) statistically significant? The significance level,  (conventionally set to.
Chi-Square Goodness of Fit
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Lecture 18 Section 8.3 Objectives: Chi-squared distributions
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Statistical Inference about Regression
Chapter 10 Analyzing the Association Between Categorical Variables
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Making Decisions about a Population Mean with Confidence
Hypothesis tests for the difference between two proportions
Sampling Distribution of a Sample Proportion
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Making Decisions about a Population Mean with Confidence
Lecture 42 Section 14.4 Wed, Apr 17, 2007
Lecture 37 Section 14.4 Wed, Nov 29, 2006
Lecture 38 Section 14.5 Mon, Dec 4, 2006
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Analyzing the Association Between Categorical Variables
Lecture 43 Sections 14.4 – 14.5 Mon, Nov 26, 2007
Testing Hypotheses about a Population Proportion
Making Decisions about a Population Mean with Confidence
Copyright © Cengage Learning. All rights reserved.
Testing Hypotheses about a Population Proportion
Testing Hypotheses about a Population Proportion
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 8 Inferences from Two Samples
Chapter 13: Chi-Square Procedures
Testing Hypotheses about a Population Proportion
Lecture 46 Section 14.5 Wed, Apr 13, 2005
Displaying Distributions – Qualitative Variables
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Presentation transcript:

Lecture 42 Section 14.3 Mon, Nov 19, 2007 Test of Goodness of Fit Lecture 42 Section 14.3 Mon, Nov 19, 2007

The Effect of the Sample Size What if the previous sample distribution persisted in a much larger sample, say n = 600? Would it be significant? 1 2 3 4 5 6 80 (100) 100 140 120 90 70

TI-83 – Goodness of Fit Test The TI-83 will not automatically do a goodness-of-fit test, but the TI-84 may.

TI-83 – Goodness of Fit Test The following procedure will compute 2. Enter the observed counts into list L1. Enter the expected counts into list L2. Evaluate the expression (L1 – L2)2/L2. Select LIST > MATH > sum and apply the sum function to the previous result, i.e., sum(Ans). The result is the value of 2.

The List of Expected Counts To get the list of expected counts, you may Store the list of hypothetical probabilities in L3. Multiply L3 by the sample size and store in L2.

The List of Expected Counts For example, if the probabilities for 3 categories are p1 = 0.25 , p2 = 0.44, and p3 = 0.31 and the sample size is n = 184, then Store {0.25, 0.44, 0.31} in L3. Compute L3*184 and store in L2. Do not round off. {0.25, 0.44, 0.31}*184 L2.

Case Study 8 (revisited) Who gets pulled over. Test the hypothesis that the distribution of the race of people who get pulled over matches the distribution of race in the population.

The Hypotheses Let H0 : p1 = 0.73, p2 = 0.20, p3 = 0.06. p1 = proportion of whites pulled over. p2 = proportion of blacks pulled over. p3 = proportion of Hispanics pulled over. H0 : p1 = 0.73, p2 = 0.20, p3 = 0.06. H1 : H0 is not true.  = 0.05.

The Observed Counts We have p1^ = 0.65, p2^ = 0.24, p3^ = 0.07. The sample size is n = 520,079. The observed counts are O1 = 0.65  520079 = 338051. O2 = 0.24  520079 = 124819. O3 = 0.07  520079 = 36406.

The Expected Counts Hypothetically, we have p1 = 0.73, p2 = 0.20, p3 = 0.06. In a sample size of size n = 520,079, the expected counts are E1 = 0.73  520079 = 379658. E2 = 0.20  520079 = 104016. E3 = 0.06  520079 = 31205.

The Counts We get the table Whites Blacks Hispanics 338051 (379658) 124819 (104016) 36406 (31205)

The Test Statistic The test statistic is Its value is

Compute the p-value In this example, df = 2. To find the p-value, use the TI-83 to calculate the probability that 2(2) would be at least as large as 9587.16. p-value = 2cdf(9587.16, E99, 2) = 0 (Too small to measure).

Conclusion We reject H0. We conclude that the rates at which the different races are pulled over are not in proportion to their representation in the population.

Conclusion Does mean that the police are practicing racial profiling? State demographics.