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.

Slides:



Advertisements
Similar presentations
CHI-SQUARE(X2) DISTRIBUTION
Advertisements

Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
Hypothesis: It is an assumption of population parameter ( mean, proportion, variance) There are two types of hypothesis : 1) Simple hypothesis :A statistical.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
Making Inferences for Associations Between Categorical Variables: Chi Square Chapter 12 Reading Assignment pp ; 485.
12.The Chi-square Test and the Analysis of the Contingency Tables 12.1Contingency Table 12.2A Words of Caution about Chi-Square Test.
CJ 526 Statistical Analysis in Criminal Justice
Chapter 16 Chi Squared Tests.
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
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
BCOR 1020 Business Statistics
Hypothesis Testing :The Difference between two population mean :
Chi-Square Tests and the F-Distribution
1 Nominal Data Greg C Elvers. 2 Parametric Statistics The inferential statistics that we have discussed, such as t and ANOVA, are parametric statistics.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 15 The.
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.
Chi-Square Test Dr Kishor Bhanushali. Chi-Square Test Chi-square, symbolically written as χ2 (Pronounced as Ki-square), is a statistical measure used.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Hypothesis Testing.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
CJ 526 Statistical Analysis in Criminal Justice
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chi-Square as a Statistical Test Chi-square test: an inferential statistics technique designed to test for significant relationships between two variables.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
Chi-Square Tests Chi-Square Tests Chapter1414 Chi-Square Test for Independence Chi-Square Tests for Goodness-of-Fit Copyright © 2010 by The McGraw-Hill.
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.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Data Analysis for Two-Way Tables. The Basics Two-way table of counts Organizes data about 2 categorical variables Row variables run across the table Column.
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.
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.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 12. The Chi-Square Test.
1 Testing of Hypothesis Two Sample test Dr. T. T. Kachwala.
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.
1 Estimation of Population Mean Dr. T. T. Kachwala.
Chapter 13. The Chi Square Test ( ) : is a nonparametric test of significance - used with nominal data -it makes no assumptions about the shape of the.
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.
Chapter 12 Chi-Square Tests and Nonparametric Tests.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
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 &
Chi-Två Test Kapitel 6. Introduction Two statistical techniques are presented, to analyze nominal data. –A goodness-of-fit test for the multinomial experiment.
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,
CHI-SQUARE(X2) DISTRIBUTION
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
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Chi-squared Distribution
Data Analysis for Two-Way Tables
Chi-Square Test Dr Kishor Bhanushali.
Chapter 11 Chi-Square Tests.
Chi – square Dr. Anshul Singh Thapa.
Analyzing the Association Between Categorical Variables
Chapter 11 Chi-Square Tests.
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Presentation transcript:

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 square as a test of Goodness of Fit  2 statistics measures difference between f o and f e is always positive if f e is small, it is over estimated (limitation of  2 statistics )

Chi-square as a Test of Independence 3 Objective If we classify a population into two attributes with several classes, we can use Chi-square test to determine whether or not the two attributes are independent of each other.

Chi-square as a test of Independence 4 Contingency Table: It is a table of classification of two attributes into a number of classes. One of the attributes is classified along the rows, while the second attribute is classified along the columns.

Chi-square as a test of Independence 5 Observed and Expected Frequency 1.Observed frequency is based on actual observation (Study or Survey) 2.Expected frequency is based on theoretical calculations. The expected or theoretical frequency can be obtained for any cell as follows: f e =expected frequency of cell RT =Row total corresponding to that cell CT =Column total corresponding to that cell N =Total number of observation

Degree of Freedom (for Contingency table of size m * n) 6 Degree of Freedom is the number of independent observations that can be arbitrarily assigned without violating the restrictions of the problem. For example: Table of size 2*2; = 1 Degree of Freedom for table of size m x n, is given by the following formula: = (m-1)  (n-1){where m is the number of rows & n is the number of columns}. For example: Table of size 2*2 : m = 2, n = 2; = 1*1 = 1 Table of size 3*2 : m = 3, n = 2; = 2*1 = 2

The Chi-Square Distribution 7  2 Critical 1.The sampling distribution of the statistic  2 can be closely approximated by a continuous curve known as Chi-square distribution. 2.As in case of t distribution, there is different  2 distribution for each different number of degrees of freedom. However in practical research work, only a few values of  are popular (0.05, 0.01, 0.1). 3.Chi-square distribution is a skewed distribution & is defined by level of significance  & degree of freedom as indicated below (for  = 0.05) : 0.05

Summarized procedure for Chi-Square Test of Independence 8 Step (i)H 0 : The two attributes are independent H 1 : One attribute depends on the other attribute Step (ii)Assuming α = 0.05,  2 distribution & = (m-1) * (n-1)  2 Critical = {from table} Step (iii) Calculate  2 statistic

Summarized procedure for Chi Square as a Test of Independence 9 Step (iv & v) : Decision Rule & Conclusion  2 Critical If  2 statistic is in acceptance area Accept H 0 : the two attributes are independent If  2 statistic is in rejection area Reject H 0 : the two attributes are independent Accept H 1 : One attribute depends on the other

Chi-square as a Test of Goodness of Fit 10 Objective To assess whether or not there is a significant difference between observed frequency f o & expected frequency f e The term Goodness of Fit signifies how well the theoretical distribution like Binomial, Poisson or Normal distribution fits or represents the observed frequency distribution

Chi-square as a Test of Goodness of Fit 11 The following is the summarized procedure: Step (i)H 0 : f o = f e (Theoretical distribution is a good fit) H 1 : Not all f o are equal to f e (Theoretical distribution is not a good fit) Step (ii) Assuming α =0.05,  2 critical = {from table depending on } ( depends on the Probability Distribution) Step (iii) Calculate  2 statistic

Chi-square as a Test of Goodness of Fit 12 Step (iv & v) : Decision Rule & Conclusion  2 Critical If  2 statistic lies in acceptance area Accept H 0 : f o = f e i..e Theoretical distribution is a Good Fit If  2 statistic lies in rejection area Reject H 0 : f o = f e Accept H 1 : Not all f o are equal to f e i.e. Theoretical distribution is not a Good Fit for the given f o

Precaution about using Chi-square Test 13 When the expected frequencies f e are too small, the value of  2 will be overestimated 1.To avoid making incorrect inferences from  2 test follow the general rule that an expected frequency of less than five in one cell of the contingency table is too small to use. 2.One of the suggested adjustments for small value of f e is combining frequency of the cells in the table. i.e. if the table contains more than one cell with an expected frequency of less than 5, we can combine them in order to get an expected frequency of 5 or more.

14 Thanks and Good Luck Dr. T. T. Kachwala