Goodness of Fit Example - 4 Categories from Zar (1999)

Biostatistics BI 45, Saint Anselm College

 

 

Step 1) State the biological question.

 

Is there a difference between the theoretical or expected distribution of 9 (yellow/smooth):3 (yellow/wrinkled):3 (green/smooth):1 (green/wrinkled) of seed shape and color and the observed distribution of seeds produced in a controlled experimental mating?

 

Step 2) Translate the biological question into statistical hypotheses.

 

Ho: The sample is from a population with a previously determined (expected) distribution of 9 (yellow/smooth):3 (yellow/wrinkled):3 (green/smooth):1 (green/wrinkled) of seed shape and colors.

 

Ha: The sample is not from a population with a previously determined (expected) distribution of 9 (yellow/smooth):3 (yellow/wrinkled):3 (green/smooth):1 (green/wrinkled) of seed shape and color.

 

Step 3) State the alpha level. alpha =0.05

 

Step 4) State the statistical test.

 

 

Because we are comparing an observed distribution with an expected distribution we would use a Chi Square goodness of fit test.

 

Step 5) State the assumptions of the test.

 

We assume that the data were obtained from a randomly sampled population and that the categories are mutually exclusive.

 

Step 6) Calculate the observed Chi Square statistic from your data.

 

Yellow/smooth

Yellow/wrinkled

Green/smooth

Green/wrinkled

Total

observed

152

39

53

6

250

expected

(9x250)/16=140.6250

(3x250)/16=46.8750

(3x250)/16=46.8750

(1x250)/16=15.26250

 

 

 

 

Step 7) Find the df and critical value of Chi Square from the table of critical values.

 

 

 

 

 

 

Step 8) Compare the critical and observed Chi Square values and reject or do no treject the null hypothesis.

 

 

 

 

 

Step 9) Interpret the results of the analysis as it relates to the biological question raised in 1).

 

We rejected the null hypothesis in Step 8. There is a difference between the observed and expected distributions of seeds (X2=8.972, df=3, p<0.05).

 

 

 

BI 45 Homepage

Saint Anselm College Homepage

Blackboard at Saint Anselm College

Dr. Jay's Homepage

 

Trademark and Disclaimers

Copyright © 2001 Jay Pitocchelli. All rights reserved. The contents of this page are the intellectual property of Dr. Jay Pitocchelli for distribution to students enrolled in Biostatistics BI 45 at Saint Anselm College. These pages may not be copied, photocopied, reproduced, translated, or published in any electronic or machine-readable form in whole or in part without prior written approval of Jay Pitocchelli. Students enrolled in Biostatistics BI 45 at Saint Anselm College have permission to print this material for their lecture notes. All formulae and critical values from: Zar, J. H. 1999. Biostatistical Analysis. (4th ed.). New Jersey, Prentice Hall.