Chi-Square Applications

Slides:



Advertisements
Similar presentations
Goodness Of Fit. For example, suppose there are four entrances to a building. You want to know if the four entrances are equally used. You observe 400.
Advertisements

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.
Inference about the Difference Between the
Hypothesis Testing IV Chi Square.
Statistical Inference for Frequency Data Chapter 16.
Statistics Are Fun! Analysis of Variance
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Thirteen Nonparametric Methods: Chi-Square Applications GOALS.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
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.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods: Chi- Square Applications Chapter 17.
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.
AGENDA SIRS Forms Quiz 4 Chi-Square Goodness of Fit
Nonparametric Methods: Goodness of Fit Tests Chapter 17 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics: A First Course Fifth Edition.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Chi-Square Applications Chapter GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an.
Nonparametric Methods: Goodness-of-Fit Tests Chapter 15 Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
1 Math 10 M Geraghty Part 8 Chi-square and ANOVA tests © Maurice Geraghty 2015.
Chi-Square Applications
1 Chi-square Test Dr. T. T. Kachwala. Using the Chi-Square Test 2 The following are the two Applications: 1. Chi square as a test of Independence 2.Chi.
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.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Nonparametric Methods: Chi-square Distribution.
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.
Chi-Square Applications Chapter GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Nonparametric Methods: Chi-Square Applications
Other Chi-Square Tests
Nonparametric Methods: Goodness-of-Fit Tests
Test of independence: Contingency Table
Chapter 11 – Test of Independence - Hypothesis Test for Proportions of a Multinomial Population In this case, each element of a population is assigned.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Nonparametric Methods: Nominal Level Hypothesis Tests
Chi-square test or c2 test
5.1 INTRODUCTORY CHI-SQUARE TEST
CHAPTER 11 CHI-SQUARE TESTS
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Chapter 12 Tests with Qualitative Data
Nonparametric Methods: Goodness-of-Fit Tests
John Loucks St. Edward’s University . SLIDES . BY.
Chapter 11 Goodness-of-Fit and Contingency Tables
The Analysis of Categorical Data and Chi-Square Procedures
Inferential Statistics and Probability a Holistic Approach
Inferential Statistics and Probability a Holistic Approach
Chapter 11: Inference for Distributions of Categorical Data
Chapter 10 Analyzing the Association Between Categorical Variables
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 11 Chi-Square Tests.
The Analysis of Categorical Data and Goodness of Fit Tests
Virtual University of Pakistan
Analyzing the Association Between Categorical Variables
CHAPTER 11 CHI-SQUARE TESTS
Hypothesis Tests for a Standard Deviation
The Analysis of Categorical Data and Goodness of Fit Tests
CHAPTER 11 Inference for Distributions of Categorical Data
The Analysis of Categorical Data and Goodness of Fit Tests
Section 11-1 Review and Preview
The Analysis of Categorical Data and Goodness of Fit Tests
Nonparametric Methods: Chi-square Distribution
Chapter Sixteen McGraw-Hill/Irwin
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Presentation transcript:

Chi-Square Applications 15 Chapter Chi-Square Applications Introduction Goodness-of-Fit Test: Equal Expected Frequencies Chi-Square Characteristics Goodness-of-Fit Test: Unequal Expected Frequencies Limitation of Chi-Square Contingency Table Analysis McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, Inc. All rights reserved.

Introduction Chi-Square For these tests, such as weights if steel ingots, incomes of minorities, and years of employment, we assume the populations follow the normal distribution. However, there are tests available in which no assumption regarding the shape of the population is necessary. The chi-square can be used for data measured with a nominal scale(data are classified into categories where there is no natural order.)

Goodness-of-Fit Test: Equal Expected Frequencies The goodness-of-fit test This is one of the most commonly used statistical test. The purpose is to compare an observe distribution to an expected distribution. Example: Ms. Jan Kilpatrick is the marketing manager for a manufacturer of sport cards. She plans to begin a series of cards with pictures of former Major League Baseball players. At the end of the day she sold a total of 120 cards. The number of cards sold for each player is shown in the table. Can she conclude the sales are not the same for each player?

Goodness-of-Fit Test: Equal Expected Frequencies

Goodness-of-Fit Test: Equal Expected Frequencies There are 120 cards in the sample, we expect that 20( 𝑓 𝑒 ) cards, i.e., the expected frequency 𝑓 𝑒 , will fall in each of the six categories(cells). The null hypothesis, 𝐻 0 is that there is no difference between the set of observed frequencies and the set of expected frequencies. The alternate hypothesis, 𝐻 1 is that there is difference between the set of observed frequencies and the set of expected frequencies. The test statistic follow the chi-square distribution, designated as 𝑥 2 : With k-1 degree of freedom

Goodness-of-Fit Test: Equal Expected Frequencies

A Portion of the Chi-Square Table The decision rule is to reject 𝐻 0 if the computed value of chi-square is greater than 11.070. If it is less than or equal to 11.070, do not reject 𝐻 0 .

Goodness-of-Fit Test: Equal Expected Frequencies The computed 𝑥 2 of 34.40 is in the rejection region beyond the critical value of 11.070. The decision, therefore, is to reject 𝐻 0 at the .05 level of significance. We can conclude that it is unlikely that card sales are the same among the six players.

Chi-Square Characteristics Chi-square value are never negative. – This is because the difference between 𝑓 𝑒 and 𝑓 𝑜 is squared that is, ( 𝑓 𝑜 − 𝑓 𝑒 ) 2 . There is a family of chi-square distributions.– the number of degrees of freedom is determined by k-1, where k is the number of categories. Therefore, the shape of chi-square distribution does not depend on the size of the sample, but on the number of categories used. The chi-square is positively skewed.- however, as the number of degrees of freedom increases, the distribution begins to approximate the normal distribution.

Exercise The human resources director at Georgetown Paper,Inc is concerned about absenteeism among hourly workers. She decides to sample the records to determine whether absenteeism is distributed evenly throughout the six-day workweek. The null hypothesis to be tested is : Absenteeism is distributed evenly throughout the week. The sample results are: Use the .01 significance level and the five-step hypothesis testing procedure.

Goodness-of-Fit Test: Unequal Expected Frequencies The American Hospital Administrators Association(AHAA) reports the following information concerning the number of times senior citizens are admitted to a hospital during a one-year period. Forty percent are not admitted; 30 percent are admitted once; 20 percent are admitted twice; and the remaining 10 percent are admitted three or more times. A survey of 150 residents of Bartow Estates, a community devoted to active seniors located in Central Florida, revealed 55 residents were not admitted during the last year, 50 were admitted once, 32 were admitted twice, and the rest of those in the survey were admitted three or more times. Can we conclude the survey at Bartow Estates is consistent with the information suggested by the AHHA? Use the .05 significance level.

Goodness-of-Fit Test: Unequal Expected Frequencies The null and alternate hypothesis are: 𝐻 0 : There is no difference between local and national experience for hospital admissions. 𝐻 1 : There is a difference between local and national experience for hospital admissions.

Goodness-of-Fit Test: Unequal Expected Frequencies Compute the chi-square statistic(1.3723) Find the critical value from the appendix (7.815) The computed value of 𝑥 2 lies to the left of 7.815. thus, we cannot reject the null hypothesis. We conclude that there is no evidence of a difference between the experience at Bartow Estates and that reported by the AHHA.

Limitation of Chi-Square The limitation If there is an unusually small expected frequency in a cell, chi-square might result in an erroneous conclusion. Two generally accepted rules regarding small cell frequencies are: If there are only two cells, the expected frequency in each cell should be 5 or more. The computation of chi-square would be permissible in the following problem, involving a minimum 𝑓 𝑒 of 6.

Limitation of Chi-Square The limitation For more than two cells, chi-square should not be used if more than 20 percent of the 𝑓 𝑒 cells have expected frequencies less than 5. According to this rule, it would not be appropriate to use the goodness-of-fit test on the following data.(3 of the 7 cells have expected frequencies( 𝑓 𝑒 ) less than 5).

Contingency Table Analysis A contingency table simultaneously summarizes two nominal-scaled variables of interest. We can use the chi-square statistic to formally test for a relationship between two nominal-scaled variables. Example: Does a male released from federal prison make a different adjustment to civilian life if he returns to his hometown or if he goes elsewhere to live? The two variables are adjustment to civilian life and place of residence. Note that both variables are measured on the nominal scale.

Contingency Table Analysis The null and alternate hypothesis are: 𝐻 0 : There is no relationship between adjustment to civilian life and where the individual lives after being released from prison. 𝐻 1 : There is a relationship between adjustment to civilian life and where the individual lives after being released from prison. The .01 level of significance will be used to test the hypothesis. The agency’s psychologists interviewed 200 randomly selected former prisoners and classified the adjustment of each individual to civilian life as outstanding, good, fair, or unsatisfactory. The classification for the 200 former prisoners were tallied as follows:

Contingency Table Analysis The tallies in each box, or cell, were counted. The counts are given in the following contingency table. In this case, the federal Correction Agency wondered whether adjustment to civilian life is contingent on or related to where the prisoner goes after release from prison.

Contingency Table Analysis For a chi-square test of significance where two traits are classified in a contingency table, the degrees of freedom are found by: df = (number of rows - 1)(number of columns) In this problem: df = (r-1)(c-1) = (2-1)(4-1) = 3 The critical value for 3 degrees of freedom and the .01 level is 11.345 The decision rule is to reject the null hypothesis if the computed value of 𝑥 2 is greater than 11.345.

Contingency Table Analysis The total column shows that 120 of the 200 former prisoners(60 percent) returned to their hometown. If there were no relationship between adjustment and residency after release from prison, we would expect 60 percent of the 40 ex-prisoners who made outstanding adjustment to the civilian life to reside in their hometown. Expected Frequency

Contingency Table Analysis Compute the value of chi-square starting with the upper left cell . Since the computed value of chi-square(5.729) lies in the region to the left of 11.345, the null hypothesis is not rejected at the .01 significance level. We conclude there is no evidence of a relationship between adjustment to civilian life and where the prisoner resides after being released from prison.

Exercise A social scientist sampled 140 people and classified them according to income level and whether or not they played a state lottery in the last month. The sample information is reported below. Is it reasonable to conclude that playing the lottery is related to income level? Use the .05 significance level