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=15) 2 (n=16) 3 (n=17) 4 (n=16) 5 (n=15) Unnested p-value Unnested Effect Size Unnested StatTest Nested p-value
protein 0.58 0.038 Kruskal Wallis, Eta sq 0.95
Mean (sd) 3.4 (0.2) 3.4 (0.2) 3.4 (0.2) 3.5 (0.2) 3.5 (0.2) 3.4 (0.2)
Median (Min,Max) 3.4 (2.9, 3.9) 3.4 (3.0, 3.7) 3.4 (2.9, 3.9) 3.4 (3.0, 3.8) 3.5 (3.1, 3.8) 3.4 (3.1, 3.6)
Time 0.21 0.089 Kruskal Wallis, Eta sq 0.98
Mean (sd) 9.0 (1.1) 8.9 (1.2) 9.2 (1.2) 8.5 (1.1) 9.0 (1.1) 9.5 (0.9)
Median (Min,Max) 10.0 (7.1, 10.4) 9.3 (7.5, 10.0) 10.0 (7.5, 10.4) 8.0 (7.5, 10.0) 9.8 (7.5, 10.1) 10.0 (7.1, 10.0)