AP STATS SECTION 13.1 Test for Goodness of Fit (aka χ 2 )

Slides:



Advertisements
Similar presentations
1 2 Test for Independence 2 Test for Independence.
Advertisements

Chapter 7 Sampling and Sampling Distributions
Chapter 13: Chi-Square Test
Chi-Square and Analysis of Variance (ANOVA)
Lesson 14 - R Chapter 14 Review:
Please enter data on page 477 in your calculator.
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chi-Square Tests Chapter 12.
Chapter 11 Other Chi-Squared Tests
CHI-SQUARE(X2) DISTRIBUTION
Chi-square test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
AP Statistics Tuesday, 15 April 2014 OBJECTIVE TSW (1) identify the conditions to use a chi-square test; (2) examine the chi-square test for independence;
Chapter 26: Comparing Counts
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Presentation 12 Chi-Square test.
Chapter 13 Chi-Square Tests. The chi-square test for Goodness of Fit allows us to determine whether a specified population distribution seems valid. The.
Testing Distributions Section Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.
1 Psych 5500/6500 Chi-Square (Part Two) Test for Association Fall, 2008.
13.1 Goodness of Fit Test AP Statistics. Chi-Square Distributions The chi-square distributions are a family of distributions that take on only positive.
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Chi-square test or c2 test
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
13.1 Test for Goodness of Fit.  Perform and analyze a chi-squared test for goodness of fit.
Chapter 26 Chi-Square Testing
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
The Practice of Statistics Third Edition Chapter (13.1) 14.1: Chi-square Test for Goodness of Fit Copyright © 2008 by W. H. Freeman & Company Daniel S.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
AGENDA:. AP STAT Ch. 14.: X 2 Tests Goodness of Fit Homogeniety Independence EQ: What are expected values and how are they used to calculate Chi-Square?
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
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.
Section 13.2 Chi-Squared Test of Independence/Association.
Statistics 300: Elementary Statistics Section 11-3.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
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.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
AP Statistics Chapter 13 Section 1. 2 kinds of Chi – Squared tests 1.Chi-square goodness of fit – extends inference on proportions to more than 2 proportions.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Chi-Square hypothesis testing
Chapter 9: Non-parametric Tests
Presentation 12 Chi-Square test.
Chi-square test or c2 test
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Confidence Intervals and Hypothesis Tests for Variances for One Sample
Chapter 13 Test for Goodness of Fit
Test for Goodness of Fit
Hypothesis Testing Review
Community &family medicine
Chi Square Two-way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 11: Inference for Distributions of Categorical Data
Chapter 10 Analyzing the Association Between Categorical Variables
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Inference for Relationships
Day 66 Agenda: Quiz Ch 12 & minutes.
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Analyzing the Association Between Categorical Variables
CHAPTER 11 Inference for Distributions of Categorical Data
Copyright © Cengage Learning. All rights reserved.
Inference for Two Way Tables
13.1 Test for Goodness of Fit
Lecture 42 Section 14.3 Mon, Nov 19, 2007
Chi Square Test of Homogeneity
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Presentation transcript:

AP STATS SECTION 13.1 Test for Goodness of Fit (aka χ 2 )

What is Chi- Squared? Definition: 1) A single test that can be applied to see if the observed sample distribution is different from the hypothesized population distribution. 2) A test to compare several proportions at the same time.

What is Chi – Squared? Shape: Degree of freedom = number of categories – 1 Only positive values (no such thing as a negative proportion). Skewed to the right. As the number of categories increases, the shape becomes less skewed. (see pg. 708) Area under the curve is still 1

Goodness of Fit Test Lets look at how things are different with this test… Hypothesis: Ho: observed percents = expected percents Ha: observed percents expected percents **These must be written in context! Test Stat: Where O = observed counts and E = expected counts

Goodness of Fit Test Assumptions: All expected counts are at least 5. Independent (if needed) SRS P – Value: Option #1: Table E (pg. 842) look for χ 2 in the row Option #2: Calculator Value (sort of) Conclusions: Stay the same.

Goodness of Fit Test Lets go through an example (pg. 703) with PHANTOMS. P = Parameter of interest is χ 2. H = Ho: the 1996 age group distribution = the 1980 age group distribution Ha: the 1996 age group distribution the 1980 age group distribution A =We will come back to this in a minute…

Goodness of Fit Test We need to organize our data to continue: Now we need to figure out what the expected values are. Look at 0 – 24 years first. If the years are equal: 500(41.39) = CategoryObservedExpected(O-E) 2 /E years – 44 yrs – 64 yrs

Goodness of Fit Test Here are all of the expected counts and calculations: So now we can go back to the assumptions: SRS – says so in the problem on pg. 703 Independence not needed here. All expected counts are at least 5. CategoryObservedExpected(O-E) 2 /E years yrs yrs

Goodness of Fit Test N = χ 2 goodness of fit test T = now we calculate the value of χ 2 from the last column of the table. So our χ 2 value is: 8.21 CategoriesObservedExpected(O-E) 2 /E 0-24 years yrs yrs

Goodness of Fit Test O = to find the p-value, go to Table E df = 3 and χ 2 = 8.21 From Table E, or p-value is between.025 and.05 M = if we still assume α=.10, we would reject the Ho. S= There is evidence that the age distribution for 1996 is not the same as the age distribution for 1980.

Calculator Issues Not really a function for goodness of fit test. Here is what you can do… First, plug in the observed count to list 1, and expected to list 2. In list 3, define it as (L1-L2) 2 /L2 Now go to List- Math - #5 (sum) and sum up list 3 to get χ 2. Now go to Distr - #7 (χ 2 cdf) and hit enter. In the home screen, you have to plug in the following three items: (χ 2,big number, df), for the big number is good. The number you get is the more accurate p-value. So now you see why I think that Table E is faster…