Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.

Slides:



Advertisements
Similar presentations
© 2010 Pearson Prentice Hall. All rights reserved Chapter Inference on Categorical Data 12.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Lesson Test for Goodness of Fit One-Way Tables.
15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Hypothesis Testing Using a Single Sample
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Goodness-of-Fit Test.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
Chapter 16 Chi Squared Tests.
CHAPTER 11: CHI-SQUARE TESTS.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
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.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing.
Chi-Square Tests and the F-Distribution
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.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
EDRS 6208 Analysis and Interpretation of Data Non Parametric Tests
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Section 10.1 Goodness of Fit. Section 10.1 Objectives Use the chi-square distribution to test whether a frequency distribution fits a claimed distribution.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Chapter 11: Applications of Chi-Square. Chapter Goals Investigate two tests: multinomial experiment, and the contingency table. Compare experimental results.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 11 Goodness of Fit Test (section 11.2)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
Chapter 10 Chi-Square Tests and the F-Distribution
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Copyright © 2010 Pearson Education, Inc. Slide
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Comparing Counts.  A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
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.
Statistics 300: Elementary Statistics Section 11-2.
381 Goodness of Fit Tests QSCI 381 – Lecture 40 (Larson and Farber, Sect 10.1)
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
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.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a goodness-of-fit.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
5.1 INTRODUCTORY CHI-SQUARE TEST
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
CHAPTER 11 CHI-SQUARE TESTS
Lecture Slides Elementary Statistics Twelfth Edition
Elementary Statistics: Picturing The World
Inference on Categorical Data
Goodness of Fit Test - Chi-Squared Distribution
Inference on Categorical Data
CHAPTER 11 CHI-SQUARE TESTS
Section 11-1 Review and Preview
Presentation transcript:

Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit

Characteristics of the Chi-Square Distribution 1. It is not symmetric.

Characteristics of the Chi-Square Distribution 1. It is not symmetric. 2. The shape of the chi-square distribution depends upon the degrees of freedom, just like Student’s t-distribution.

Characteristics of the Chi-Square Distribution 1. It is not symmetric. 2. The shape of the chi-square distribution depends upon the degrees of freedom, just like Student’s t-distribution. 3. As the number of degrees of freedom increases, the chi-square distribution becomes more symmetric as is illustrated in Figure 1.

Characteristics of the Chi-Square Distribution 1. It is not symmetric. 2. The shape of the chi-square distribution depends upon the degrees of freedom, just like Student’s t-distribution. 3. As the number of degrees of freedom increases, the chi-square distribution becomes more symmetric as is illustrated in Figure The values are non-negative. That is, the values of are greater than or equal to 0.

The Chi-Square Distribution

A goodness-of-fit test is an inferential procedure used to determine whether a frequency distribution follows a claimed distribution.

Expected Counts Suppose there are n independent trials an experiment with k > 3 mutually exclusive possible outcomes. Let p 1 represent the probability of observing the first outcome and E 1 represent the expected count of the first outcome, p 2 represent the probability of observing the second outcome and E 2 represent the expected count of the second outcome, and so on. The expected counts for each possible outcome is given by E i =  i = np i for i = 1, 2, …, k

EXAMPLEFinding Expected Counts A sociologist wishes to determine whether the distribution for the number of years grandparents who are responsible for their grandchildren is different today than it was in According to the United States Census Bureau, in 2000, 22.8% of grandparents have been responsible for their grandchildren less than 1 year; 23.9% of grandparents have been responsible for their grandchildren 1or 2 years; 17.6% of grandparents have been responsible for their grandchildren 3 or 4 years; and 35.7% of grandparents have been responsible for their grandchildren for 5 or more years. If the sociologist randomly selects 1,000 grandparents that are responsible for their grandchildren, compute the expected number within each category assuming the distribution has not changed from 2000.

Test Statistic for Goodness-of-Fit Tests Let O i represent the observed counts of category i, E i represent the expected counts of an category i, k represent the number of categories, and n represent the number of independent trials of an experiment. Then, approximately follows the chi-square distribution with k – 1 degrees of freedom provided (1) all expected frequencies are greater than or equal to 1 (all E i > 1) and (2) no more than 20% of the expected frequencies are less than 5. NOTE: E i = np i for i = 1,2,..., k. i = 1, 2, …, k

The Chi-Square Goodness-of-Fit Test If a claim is made regarding a distribution, we can use the following steps to test the claim provided 1.the data is randomly selected

The Chi-Square Goodness-of-Fit Test If a claim is made regarding a distribution, we can use the following steps to test the claim provided 1.the data is randomly selected 2. all expected frequencies are greater than or equal to 1.

The Chi-Square Goodness-of-Fit Test If a claim is made regarding a distribution, we can use the following steps to test the claim provided 1.the data is randomly selected 2. all expected frequencies are greater than or equal to no more than 20% of the expected frequencies are less than 5.

Step 1: A claim is made regarding a distribution. The claim is used to determine the null and alternative hypothesis. H o : the random variable follows the claimed distribution H 1 : the random variable does not follow the claimed distribution

Step 2: Calculate the expected frequencies for each of the k categories. The expected frequencies are np i for i = 1, 2, …, k where n is the number of trials and p i is the probability of the ith category assuming the null hypothesis is true.

Step 3: Verify the requirements fort he goodness-of-fit test are satisfied. (1) all expected frequencies are greater than or equal to 1 (all E i > 1) (2) no more than 20% of the expected frequencies are less than 5.

EXAMPLETesting a Claim Using the Goodness-of-Fit Test A sociologist wishes to determine whether the distribution for the number of years grandparents who are responsible for their grandchildren is different today than it was in According to the United States Census Bureau, in 2000, 22.8% of grandparents have been responsible for their grandchildren less than 1 year; 23.9% of grandparents have been responsible for their grandchildren 1or 2 years; 17.6% of grandparents have been responsible for their grandchildren 3 or 4 years; and 35.7% of grandparents have been responsible for their grandchildren for 5 or more years. The sociologist randomly selects 1,000 grandparents that are responsible for their grandchildren and obtains the following data.

Solution: Step 1. Construct the Hypothesis H 0 : The distribution for the number of years grandparents who are responsible for their grandchildren is the same today as it was in H 1 : The distribution for the number of years grandparents who are responsible for their grandchildren is different today from what it was in 2000.

Step 2. Compute the expected counts for each category, assuming that the null hypothesis is true. Number of YearsFrequency(O i ) (observed count) Expected Frequency(E i ) (expected count) Less than 1 year or 2 years or 4 years or more years331357

Solution(cont’d): Step 3. Verify that the requirements for the goodness-of-fit test are satisfied. 1. All expected frequencies( or expected counts ) are bigger than or equal to 1? 2. No more than 20% of the expected frequencies are less than 5.

Step 4. Find the critical values, determine the critical region. α=0.05, k = 4, degree of freedom = k-1 =3 Look in table IV, χ α 2 =7.815 C:=(7.815, infinity)

Step 5. Compute the test statistic χ 2 = ( )^2/228+( )^2/239 +( )^2/176+( )^2/357 =6.605 Step 6. Compare the test statistics with the critical values the test statistic < the critical value or the test statistic does not lie in th critical region. Step 7. Conclusion? There is no sufficient evidence at the α=0.05 level of significance to reject the null hypothesis, i.e., the claim of the distribution for the number of years grandparents who are responsible for their grandchildren is the same today as it was in 2000 Or ….