Chi-Squared Tests in Ecology
The Chi-Squared Test (χ2)
Mangrove (Avicennia marina var. resinifera)
Mangroves are doing well in USA these days…
Mangrove forests vs shrimp farming
Pneumatophores�
Soil porosity is related to the average size of soil particles…
Experimental Design
To calculate the expected values, we multiply the marginal total or each row by the marginal total of each column.
The Flat Periwinkle�(Littorina littoralis)
Periwinkles feed on a number of seaweed species
Food preference is a form of animal behavior
State your null hypothesis for this investigation (H0)
Use the chi-squared test to determine if the observed differences are significant or if they can be attributed to chance alone.
Enter the observed values and calculate the chi-squared value
Here’s how you do it…
Now Complete the Chart…
Check your Chi-square table for 3 degrees of freedom.
Woodlice (Pillbugs) Experiment
Category | O | E | O-E | (O-E)2 | (O-E)2/E |
Dry | 15 | 25 | -10 | 100 | 4 |
Humid | 35 | 25 | +10 | 100 | 4 |
Chi-squared value is 8 for 1DF
Chi-Square Homework Worksheet�
Flavor | Preference |
Cherry | 32 |
Strawberry | 28 |
Orange | 16 |
Lime | 14 |
Grape | 10 |
What is the null hypothesis? �
Flavor | Preference |
Cherry | 32 |
Strawberry | 28 |
Orange | 16 |
Lime | 14 |
Grape | 10 |
A science teacher living in the desert noticed that native mesquite trees differed in terms of number of parasitic mistletoe plants they contained. Mesquite trees in residential neighborhoods tended to have fewer parasitic plants than trees found in undisturbed areas.�
Mesquite and Mistletoe
Tree # | “wild” trees | Residential trees |
1 | 26 | 6 |
2 | 11 | 8 |
3 | 16 | 1 |
4 | 9 | 0 |
5 | 3 | 0 |
6 | 14 | 0 |
7 | 5 | 3 |
8 | 8 | 3 |
9 | 14 | 3 |
10 | 15 | 1 |
Here is his data. Calculate the chi-squared value for the null hypothesis.