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=19) 2 (n=11) 3 (n=17) 4 (n=11) 5 (n=21) Unnested p-value Unnested Effect Size Unnested StatTest Nested p-value
protein 0.54 0.031 Kruskal Wallis, Eta sq 0.96
Mean (sd) 3.4 (0.2) 3.4 (0.2) 3.4 (0.2) 3.5 (0.2) 3.4 (0.1) 3.4 (0.2)
Median (Min,Max) 3.4 (2.9, 3.9) 3.5 (3.0, 3.9) 3.4 (3.0, 3.7) 3.5 (3.0, 3.8) 3.4 (3.2, 3.6) 3.3 (2.9, 3.7)
Time 0.53 0.027 Kruskal Wallis, Eta sq 0.97
Mean (sd) 9.0 (1.1) 8.8 (1.2) 9.1 (1.2) 9.2 (1.1) 9.3 (1.0) 8.9 (1.1)
Median (Min,Max) 10.0 (7.1, 10.4) 8.5 (7.5, 10.4) 10.0 (7.1, 10.0) 10.0 (7.5, 10.1) 10.0 (8.0, 10.2) 9.5 (7.5, 10.0)