Skip to contents

Formula: GY_ij = beta + e_ij (eq. 1.2), one grand mean for all levels.

Usage

Msm002(groups)

Arguments

groups

List of equal-length observation vectors, one per level.

Value

List with estimate, beta, sd_residual, method.

References

Montesinos Lopez, Montesinos Lopez & Crossa (2022), Multivariate Statistical Machine Learning Methods for Genomic Prediction, Springer, eq. (1.2) p.9. DOI 10.1007/978-3-030-89010-0.

Examples

# one grand mean for every level of the factor
Msm002(list(c(4.1, 4.5, 3.9), c(5.2, 5.0, 5.6), c(4.8, 4.4, 4.9)))$beta
#> [1] 4.711111