Skip to contents

Formula: GY_ij = beta_i + e_ij (eq. 1.3), a separate fixed effect per level.

Usage

Msm003(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.3) p.16. DOI 10.1007/978-3-030-89010-0.

Examples

# one mean per level
Msm003(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.166667 5.266667 4.700000