2.3 Nested summary of yard
2.3.1 By cow:
Of the 5 yards, each that had at least one instance of a cow having milk with high protein content and a cow having milk with low protein content. Cows in some yards may have a lower mean time in weeks since calving, but there is no evidence to suggest that is a difference among yards.
rm_covsum_nested(data = Milk, id = c("Cow"), covs = c("protein", "Time"), maincov = "Yard")| Full Sample (n=79) | 1 (n=11) | 2 (n=14) | 3 (n=13) | 4 (n=22) | 5 (n=19) | Unnested p-value | Unnested Effect Size | Unnested StatTest | Nested p-value | |
|---|---|---|---|---|---|---|---|---|---|---|
| protein | 0.34 | 0.044 | Kruskal Wallis, Eta sq | 0.98 | ||||||
| Mean (sd) | 3.4 (0.2) | 3.4 (0.2) | 3.5 (0.2) | 3.5 (0.2) | 3.4 (0.2) | 3.4 (0.2) | ||||
| Median (Min,Max) | 3.4 (2.9, 3.9) | 3.4 (3.0, 3.8) | 3.5 (3.2, 3.7) | 3.5 (3.2, 3.9) | 3.3 (3.0, 3.8) | 3.4 (2.9, 3.7) | ||||
| Time | 0.27 | 0.095 | Kruskal Wallis, Eta sq | 0.99 | ||||||
| Mean (sd) | 9.0 (1.1) | 9.3 (1.2) | 9.3 (1.0) | 9.1 (1.2) | 8.5 (1.1) | 9.3 (1.1) | ||||
| Median (Min,Max) | 10.0 (7.1, 10.4) | 10.0 (7.5, 10.1) | 10.0 (7.5, 10.0) | 10.0 (7.5, 10.4) | 8.0 (7.5, 10.2) | 10.0 (7.1, 10.0) |