# Chi Square

**Topics:**Chi-square test, Chi-square distribution, Pearson's chi-square test

**Pages:**14 (4858 words)

**Published:**July 8, 2013

Then calculate 2 using this formula, as shown in Table B.1. Note that we get a value of 2.668 for 2. But what does this number mean? Here's how to interpret the 2 value: 1. Determine degrees of freedom (df). Degrees of freedom can be calculated as the number of categories in the problem minus 1. In our example, there are two categories (green and yellow); therefore, there is I degree of freedom. 2. Determine a relative standard to serve as the basis for accepting or rejecting the hypothesis. The relative standard commonly used in biological research is p >0.05. The p value is the probability that the deviation of the observed from that expected is due to chance alone (no other forces acting). In this case, using p >0.05, you would expect any deviation to be due to chance alone 5% of the time or less. 3. Refer to a chi-square distribution table (Table B.2). Using the appropriate degrees of 'freedom, locate the value closest to your calculated chi-square in the table. Determine the closestp (probability) value associated with your chi-square and degrees of freedom. In this case (2=2.668), the p value is about 0.10, which means that there is a 10% probability that any deviation from expected results is due to chance only. Based on our standard p > 0.05, this is within the range of acceptable deviation. In terms of your hypothesis for this example, the observed chi-squareis not significantly different from expected. The observed numbers are consistent with those expected under Mendel's law. Step-by-Step Procedure for Testing Your Hypothesis and Calculating Chi-Square 1. State the hypothesis being tested and the predicted results. Gather the data by conducting the proper experiment (or, if working genetics problems, use the data provided in the problem). 2. Determine the expected numbers for each observational class. Remember to use numbers, not percentages.

Chi-square should not be calculated if the expected value in any category is less than 5.

3. Calculate 2 using the formula. Complete all calculations to three significant digits. Round off your answer to two significant digits. 4. Use the chi-square distribution table to determine significance of the value. a. Determine degrees of freedom and locate the value in the appropriate column. b. Locate the value closest to your calculated 2 on that degrees of freedom df row. c. Move up the column to determine the p value.

5. State your conclusion in terms of your hypothesis.

a. If the p value for the calculated 2 is p > 0.05, accept your hypothesis. 'The deviation is small enough that chance alone accounts for it. A p value of 0.6, for example, means that there is a 60% probability that any deviation from expected is due to chance only. This is within the range of acceptable deviation. b. If the p value for the calculated 2 is p < 0.05, reject your hypothesis, and conclude that some factor other than chance is operating for the deviation to be so great. For example, a p value of 0.01 means that there is only a 1% chance that this deviation is due to chance alone. Therefore, other factors must be involved. The chi-square test will be used to test for the "goodness to fit" between observed and expected data from several laboratory investigations in this lab manual. Table B.1

Calculating Chi-Square

| Green| Yellow|

Observed (o)| 639| 241|

Expected (e)| 660| 220|

Deviation (o - e)| -21| 21|

Deviation2 (d2)| 441| 441|

d2/e| 0.668| 2|

2 = d2/e = 2.668| .| .|

Table B.2

Chi-Square Distribution

Degrees ofFreedom(df)|

Probability (p)|

| 0.95| 0.90| 0.80| 0.70| 0.50| 0.30| 0.20| 0.10| 0.05| 0.01| 0.001| 1| 0.004| 0.02| 0.06| 0.15| 0.46| 1.07| 1.64| 2.71| 3.84| 6.64| 10.83| 2| 0.10| 0.21| 0.45| 0.71| 1.39| 2.41| 3.22| 4.60| 5.99| 9.21| 13.82| 3| 0.35| 0.58| 1.01| 1.42| 2.37| 3.66|...

Please join StudyMode to read the full document