Moluscs+R

Grass Bush Grass Grass Bush Grass

1 Black Green Orange Red Yellow

5 2 1 9 3 2 Black Green Orange Red Yellow

4 5 4 4 3 3 Black Green Orange Red Yellow

7 1 1 2 9 4 Black Green Orange Red Yellow

7 1 2 2 8 5 Black Green Orange Red

4 6 9 1 6 Black Orange Red Yellow

6 1 6 7

Chi Squared Test


 * || Black || Green || Orange || Red || Yellow || total ||
 * 1 || 5 || 2 || 1 || 9 || 3 || 20 ||
 * 2 || 4 || 5 || 4 || 4 || 3 || 20 ||
 * 3 || 7 || 1 || 1 || 2 || 9 || 20 ||
 * 4 || 7 || 1 || 2 || 2 || 8 || 20 ||
 * 5 || 4 || 6 || 9 || 1 || 0 || 20 ||
 * 6 || 6 || 0 || 1 || 6 || 7 || 20 ||
 * Total || 33 || 15 || 18 || 24 || 30 ||  ||
 * Expected || 5.5 || 2.5 || 3 || 4 || 5 ||  ||


 * X2 || 1.68 || 9.3 || 10.5 || 12.4 || 16.65 ||  ||
 * x || 1.30 || 3.05 || 3.24 || 3.52 || 4.08 ||  ||

We decided into combining green and orange as they had expected value less than or equal to 3. Also, by combining them the degree of freedom reduces aswell.


 * __Shrub__**
 * || Black || Green || Orange || Red || Yellow || total ||
 * 2 || 4 || 5 || 4 || 4 || 3 || 20 ||
 * 5 || 4 || 6 || 9 || 1 || 0 || 20 ||
 * Total || 8 || 11 || 13 || 5 || 3 ||  ||
 * Expected || 4 || 5.5 || 6.5 || 2.5 || 1.5 ||  ||


 * || Black || Green || Orange || Red || Yellow || total ||
 * X2 || 0 || 0.09 || 7.21 || 1.8 || 3 || 12.1 ||
 * x || 0 || 0.3 || 2.69 || 1.34 || 1.73 || 3.48 ||
 * __Shrub combining green and orange__**
 * || Black || Green/orange || Red || Yellow || total ||
 * 2 || 4 || 9 || 4 || 3 || 20 ||
 * 5 || 4 || 15 || 1 || 0 || 20 ||
 * Total || 8 || 24 || 5 || 3 ||  ||
 * Expected || 4 || 12 || 2.5 || 1.5 ||  ||


 * || Black || Green/orange || Red || Yellow || total ||
 * X2 || 0 || 1.5 || 1.8 || 3 || 6.3 ||
 * x || 0 || 1.22 || 1.34 || 1.73 || 2.51 ||


 * __Grass__**
 * || Black || Green || Orange || Red || Yellow || total ||
 * 1 || 5 || 2 || 1 || 9 || 3 || 20 ||
 * 3 || 7 || 1 || 1 || 2 || 9 || 20 ||
 * 4 || 7 || 1 || 2 || 2 || 8 || 20 ||
 * 6 || 6 || 0 || 1 || 6 || 7 || 20 ||
 * Total || 25 || 4 || 5 || 19 || 27 ||  ||
 * Expected || 6.25 || 1 || 1.25 || 4.25 || 6.75 ||  ||


 * || Black || Green || Orange || Red || Yellow || total ||
 * X2 || 0.44 || 2 || 0.6 || 8.4 || 0.009 || 11.45 ||
 * x || 0.66 || 1.41 || 0.77 || 2.90 || 0.095 || 5.835 ||
 * __Grass combining green and orange__**
 * || Black || Green || Red || Yellow || total ||
 * 1 || 5 || 3 || 9 || 3 || 20 ||
 * 3 || 7 || 2 || 2 || 9 || 20 ||
 * 4 || 7 || 3 || 2 || 8 || 20 ||
 * 6 || 6 || 1 || 6 || 7 || 20 ||
 * Total || 25 || 9 || 19 || 27 ||  ||
 * Expected || 6.25 || 2.25 || 4.25 || 6.75 ||  ||


 * || Black || Green || Red || Yellow || total ||
 * X2 || 0.44 || 1.168 || 8.4 || 0.009 || 10.02 ||
 * x || 0.66 || 1.1.08 || 2.90 || 0.095 || 3.16 ||