Snailbob+R

Grass Grass Grass Wood Wood Wood

1 Black Green Orange Yellow

6 1 6 7 2 Black Green Orange Red Yellow

5 2 1 9 3 3 Black Green Orange Red Yellow

5 2 4 4 5 4 Black Green Orange Red Yellow

7 1 3 3 6 5 Black Green Orange Red Yellow

5 3 4 3 5 6 Black Green Orange Yellow

6 3 6 5


 * || Black || Green || Orange || Red || Yellow ||  || χ² test ||
 * Grass (observed) || 6 || 1 || 6 || 0 || 7 ||  || 3.49 ||
 * Grass(observed) || 5 || 2 || 1 || 9 || 3 ||  || 9 ||
 * Grass(observed) || 5 || 2 || 4 || 4 || 5 ||  || 0.58 ||
 * Total || 11 || 5 || 11 || 13 || 15 ||  || χ² test total: ||
 * Grass(expected) || 3.6 || 1.6 || 3.6 || 4.3 || 5 ||  || 13.07 ||
 * Grass(expected) || 3.6 || 1.6 || 3.6 || 4.3 || 5 ||  ||   ||
 * Grass(expected) || 3.6 || 1.6 || 3.6 || 4.3 || 5 ||  ||   ||
 * Wood(observed) || 7 || 1 || 3 || 3 || 6 ||  || χ² test ||
 * Wood(observed) || 5 || 3 || 4 || 3 || 5 ||  || 0.26 ||
 * Wood(observed) || 6 || 3 || 6 || 0 || 5 ||  || 0.29 ||
 * Total || 18 || 7 || 13 || 6 || 16 ||  || 0.03 ||
 * Wood(expected) || 6 || 2.3 || 4.3 || 2 || 5.3 ||  || χ² test total: ||
 * Wood(expected) || 6 || 2.3 || 4.3 || 2 || 5.3 ||  || 0.58 ||
 * Wood(expected) || 6 || 2.3 || 4.3 || 2 || 5.3 ||  ||   ||
 * Wood(expected) || 6 || 2.3 || 4.3 || 2 || 5.3 ||  ||   ||

P value for grass area: P value equals 0.0419

P value for wood area: Chi2=0.58 DF=6 P value equals 0.9653

From these results, our P value indicates that the differences in phenotypes are not significant and therefore we must accept the null hypothesis. Selection is not a factor for the different phenotypic frequencies in the two habitats; rather, it is genetic drift that has caused these differences.