Theory
This section covers the statistical models implemented across masreml and masbayes. Each page follows the same 7-section structure: Assumption · Linear model · GEBV calculation · Variance component & h² · When to Use · See it in code · References.
Pages
- Biallelic & Multi-allelic — how the genotype matrix is built differently for SNP (biallelic) vs microhaplotype (multi-allelic) data, and what each construction feeds downstream.
- Mixed Model & BLUP Family (Frequency-based) — PBLUP, GBLUP, GWABLUP (Meuwissen et al. 2024). One MME, three relationship matrices.
- Bayesian Alphabet (Probabilistic) — BayesA (scaled inverse-\(\chi^2\)) and BayesR (4-component mixture), sharing the same linear model.
- Continuous and Binary Trait — what changes when the response is binary: liability-scale modelling, Laplace approximation in
masreml, Albert-Chib augmentation inmasbayes, and the observed-versus-liability heritability transform.
Note
Every “See it in code” section uses the bundled demo dataset and calls only real exported functions of masreml / masbayes (cross-checked against the package source).