
Introduction 
Introduction: The Chisquare Analysis In general the chisquare analysis is used when there is a need to examine the similarities between two or more populations or variables on some characteristics of interest. (other statistical test do pairwise comparison, but the chisquare can handle more than one variable or population at the same time). It is often compared to the ttest for comparing mean since it compares non normal population distributions. 1. Know what is meant by categorical data. Categorical data is a grouping of data according to similar characteristics in a way to show the relative frequencies of each group or category. Example: For the category called Air Collision the classes or groups within that category could be: (1) between two collisions in the air, (2) collisions with ground, (3) collisions with water, (4) other types of collisions. Table 11.1 and Figure 11.1 show
an example of a classification with frequency out of 100 collisions for
Air Collision:
2. Know when to use the chisquare analysis. The chisquare analysis is appropriate when we need to do the following: (1) Test whether two or more distributions are identical. (2) Compare a distribution with a reference distribution such as the normal distribution. (3) Compare the proportions or frequencies of categorical data (GoodnessofFit) (4) Compare the independence of two characteristics (such as air collision and flight maintenance schedules) or how tehy are related to or independent of each other (Test of Independence) (5) Test whether different populations are similar (or homogeneous) to some common characteristics. (Test of Homogeneity) (6) Use to make inference about the population variance. 3. Know the maximum expected frequencies needed for a chi square test. A ruleofthumb for proper interpretation of chisquare tests is not to have the expected frequency of groups or classes of cells within the category less than 5 When situations occurs in which frequencies are less than 5, groups or cells may be combined into larger cells or groups. Rows or columns of categorical data should not be combined if no meaningful interpretation can not be made of the new grouping. 4. Know the meaning of the 3 different types of chisquare analysis techniques. (1) Goodnessoffit test is a chisquare test technique used to study similarities between proportions or frequencies between groupings (or classification) of categorical data. (comparing a distribution of data with another distribution of data where the expected frequencies are known). (2) Tests of Independence is a chisquare technique used to determine whether two characteristics (such as food spoilage and refrigeration temperature) are related or independent. (3) Test of Homogeneity is a chisquare technique used to study whether different populations are similar (or homogeneous or equal) in reference to some characteristic or attribute (such as "do students national identity affects the time spend doing homework?"). 5. Know the test statistics used to determine the chisquare statistics. The chisquare, statistics is: , where O represents the observed frequencies and E represents the expected frequencies. The observed frequencies, O is the proportions relative to the total from experimental studies or observations of group or class within the category of interest (a distributions similar toFigure 11.1). The observed frequencies are also called the observed cell frequencies. The expected frequencies, E is the known proportions of frequencies of each group or class of data within the category's grouping. These known frequencies or proportions are often generated from mathematical formulas or established standards or theoretical arguments or historical data. The expected frequencies are also called the expected cell frequencies. 6. Know how to determine the degree of freedom required for each type of chisquare tests. The degree of freedom, df, is a parameter used to look up chisquare values from the chisquare distribution table. It is related to thesample size or number of classification of data within a category. For the goodnessoffit test the df = k1, where k is the number of groups or cells within the category. Example: For Table 11.1, k = 4 and df = 41 = 3, so the degree of freedom is 3. For both the independence and homogeneity tests the df = (r1)(c1), where r = number of rows and c = number of columns in the contingency table. For study involving variance, df = n1, where n is the sample size. 7. Know how to determine the expected values, E. Unless otherwise given the expected value, E (the theoritical or known frequency) for each groups or cells in a chisquare frequency table can be obtained or calculated as follows: Goodnessoffit: E = np, where n = sample size and p = proportion for each group within a category (cell). Independence and Homogeneity: 8. Know the general strategy used for determining chisquare analysis. (1) Set up Hypothesis: Null Hypothesis, H_{0} ( )is grouping or categories the same or equal to known p? The alternate hypothesis, H_{a} is H_{0} is not true . H_{0:} O = E, Frequencies are close for observed and expected distributions. (2) Choose , the significance level of the test. (3) Look up for appropriate degrees of freedom in the chisquare table. (4) Determine or compute , the theoretical value, E, for each category or grouping within category. Where n is the sample size and p is the proportion. (5) Compute (6) If , conclude that the material, product, process, or grouping differs from the standard or expected proportions in the categories; Otherwise, there is no reason to believe that they differ or they are
not the same, the null hypothesis.
