13.1 Test for Goodness of Fit.  Perform and analyze a chi-squared test for goodness of fit.

Slides:



Advertisements
Similar presentations
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)
Advertisements

1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Goodness-of-Fit Tests.
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Statistical Inference for Frequency Data Chapter 16.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
Statistics Are Fun! Analysis of Variance
CJ 526 Statistical Analysis in Criminal Justice
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.
Chi-square Goodness of Fit Test
Goodness of Fit Test for Proportions of Multinomial Population Chi-square distribution Hypotheses test/Goodness of fit test.
1 Chapter 20 Two Categorical Variables: The 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.
Chi-Square Distributions
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
Testing Distributions Section Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.
AP STATISTICS LESSON 13 – 1 (DAY 1) CHI-SQUARE PROCEDURES TEST FOR GOODNESS OF FIT.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
CJ 526 Statistical Analysis in Criminal Justice
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.
Chi-Square as a Statistical Test Chi-square test: an inferential statistics technique designed to test for significant relationships between two variables.
Other Chi-Square Tests
Hypothesis Testing for Variance and Standard Deviation
3 Unique Chi-Square Tests
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.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
United Stats Of AMERICA. Unit 7 chapters Jordo, Rob III, Kins and Toph.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 17 l Chi-Squared Analysis: Testing for Patterns in Qualitative Data.
Section 8-5 Testing a Claim about a Mean: σ Not Known.
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.
Other Chi-Square Tests
Chi-Square Test James A. Pershing, Ph.D. Indiana University.
Comparing Counts.  A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
13.2 Inference for Two Way Tables.  Analyze Two Way Tables Using Chi-Squared Test for Homogeneity and Independence.
11.1 Inference for the Mean of a Population.  Perform a one sample t-test for the mean of a population  Perform a matched pairs t-test.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
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.
The table below gives the pretest and posttest scores on the MLA listening test in Spanish for 20 high school Spanish teachers who attended an intensive.
Lecture 11. The chi-square test for goodness of fit.
Inference for Tables Catapult Discovery Question: –How does a cat land (feet, side, nose/face)? –Write your predictions in percent. Collect data for.
Chi squared. A biologist randomly selects 20 fruit flies. All of them are placed in a tube with vinegar on one side and mustard on the other side. Do.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
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 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
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 &
13.2 Inference for Two Way Tables.  Analyze Two Way Tables Using Chi-Squared Test for Homogeneity and Independence.
Inference for Tables Chi-Square Tests Chi-Square Test Basics Formula for test statistic: Conditions: Data is from a random sample/event. All individual.
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.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chi-square test or c2 test
Lecture Nine - Twelve Tests of Significance.
Chapter 13 Test for Goodness of Fit
Test for Goodness of Fit
Sun. Mon. Tues. Wed. Thurs. Fri. Sat.
Chapter 10 Analyzing the Association Between Categorical Variables
Analyzing the Association Between Categorical Variables
13.1 Test for Goodness of Fit
Presentation transcript:

13.1 Test for Goodness of Fit

 Perform and analyze a chi-squared test for goodness of fit.

 Chi-Squared ( ) test for goodness of fit- a single test that can be applied to see if the observed sample distribution is different from the hypothesized population distribution.  H₀:The distribution of the sample data is the SAME as the population  Ha:The distribution of the sample data is DIFFERENT than the population

Chi-Squared test statistic:

 Random Sample  All expected counts are greater than 1  No more than 20% of expected counts are less than 5  Degrees of freedom = n-1 where, n= # of categories

 1- L₁: (observed); L₂: (expected); L₃: (L₁- L₂)²/ L₂  2- sum(L ₃)= x²  3- x²cdf(x²,1000,df)

 Area under the curve= 1  Skewed to the right  As the degrees of freedom increase, the closer to a normal distribution your curve becomes

 Ex 1: The “graying of America” is the recent belief that with better medicine and healthier lifestyles, people are living longer, and consequently a larger percentage of the population is of retirement age. Is this perception accurate? (Is there evidence that the distribution of ages changed drastically in 1996 from 1980?)  US Population by age group, 1980 Age Group Population(in thousandths) Percent , , , older25, Total 226,

 We select an SRS of 500. We first calculate our expected counts AgeCount1980 pop %Expected Counts (.4139) (.2768) (.1964) (.1128)56.4

 H₀: the distribution of the ages in 1996 is the SAME as it was in 1980  Ha: the distribution of the ages in 1996 is DIFFERENT than it was in 1980  Assumptions: -random sample -all expected counts are ≥ 1 -no more than 20% of expected counts are < 5 (See chart of expected counts)  Chi-squared test (goodness of fit) w/ α=0.05  P(x²>8.214)= 0.042) df=4-1=3  Since p<α, it is statistically significant, therefore we reject H₀. There is enough evidence to say the distribution of ages in 1996 is different than it was in 1980

 Ex 2: A wheel at a carnival game is divided into 5 equal parts. You suspect the wheel is unbalanced. The results of 100 spins are listed below. Perform a goodness of fit test. Is there evidence the wheel is not balanced?  H₀:The wheel is balanced  Ha: The wheel is unbalanced OutcomesFree SpinYou LoseTeddy Bear Baseball Card Airplane Frequency

 Assumptions: -random sample -all expected counts are ≥ 1 -no more than 20% of expected counts are < 5 Chi-Squared Test (goodness of fit) w/ α=0.05 P(x²>6.8)=0.146 df=4 Since p∡α, it is not statistically significant, therefore we do not reject H₀. There is not enough evidence to say the wheel is unbalanced. Expected counts Free SpinYou LoseTeddy Bear Baseball Card Airplane Frequency20