GeneSuite
Documentation / Understand the methods

3. Variance-component estimation and inference

Advanced notes: contents · Abbreviations

1 Variance-component estimation and likelihood geometry

Restricted likelihood originates with Patterson and Thompson (1971). The derivative-based computations below connect to average-information estimation (Gilmour et al., 1995; Johnson and Thompson, 1995).

For \(V(\theta)\) positive definite and a fixed full-rank \(X\), the restricted maximum likelihood (REML) objective is, up to a constant independent of \(\theta\),

\[ \ell_R=-\tfrac12\{\log|V|+\log|X^\top V^{-1}X|+y^\top Py\}. \]

Its score for parameter \(\theta_i\) is

\[ s_i=\tfrac12\{y^\top PV_iPy-\operatorname{tr}(PV_i)\}, \]

and the expected information is

\[ \mathcal I_{ij}=\tfrac12\operatorname{tr}(PV_iPV_j). \]

These expressions connect identification to computation: indistinguishable projected derivative directions produce singular information. A converged optimizer at one point on a flat ridge does not identify a unique covariance decomposition.

Positive-definite trait covariances can be parameterized as \(\Sigma=LL^\top\) with positive diagonal elements of \(L\), often represented on a log scale. Scores and information must be transformed to the chosen parameter scale. Boundary estimates, such as a zero component variance, require separate interpretation: ordinary interior normal approximations and simple chi-square likelihood-ratio references need not apply.

Likelihood comparisons also require matching observed responses and normalization. The next section explains the restriction on comparing fixed-effect specifications using REML.

3 Iteration, derivatives and constraints

A covariance-estimation iteration commonly requires evaluating predictions, quadratic forms, log determinants and trace contractions. Computing a best linear unbiased prediction (BLUP) once is therefore substantially less work than fitting covariance parameters. Repeated trial steps can reuse some structural information while changing numerical factors or covariance operators.

For covariance models linear in the current parameters, the average-information matrix has the familiar form

\[ \mathcal A_{ij}=\tfrac12y^\top PV_iPV_jPy. \]

For nonlinear parameterizations the appropriate derivatives and curvature terms must be handled consistently; a formula on the variance scale cannot simply be reused unchanged on a log-Cholesky scale. The original algorithm is described by Gilmour et al. (1995).

Step control must keep the covariance admissible. A factorization failure at an inadmissible trial point is not evidence that the initial scientific model is impossible. Conversely, silently adding a ridge to rescue a trial changes the fitted objective unless that modification is explicitly part of the model.

4 What constitutes a credible fitted covariance model?

Boundary likelihood theory can differ from ordinary interior asymptotics; Self and Liang (1987) gives the general nonstandard framework. Its mixture distributions must not be applied without checking the conditions of the particular model.

Inspect the objective, parameter-scale score, active constraints and sensitivity to defensible starting values. Small changes in the objective with large changes in component allocation suggest weak identification. A small optimizer step alone is not a convergence certificate; a boundary solution may require one-sided optimality conditions, such as the Karush–Kuhn–Tucker (KKT) conditions, rather than interior zero-score conditions.

For component variances and correlations, report the parameterization, boundary estimates and method used for uncertainty. Wald intervals near zero variances or correlations near their limits can be misleading. Profile likelihood, bootstrap and posterior summaries are alternatives with distinct assumptions; none is automatically supplied by having an accepted coefficient solve.

5 Contemporary estimation routes at large scale

Modern variance-component estimation includes both established likelihood algorithms implemented at larger scale and alternatives with different estimating criteria. The following is a selected overview of published work relevant to genetic evaluation, checked against the literature in November 2026. Publication year alone does not determine which method is appropriate.

Route What is estimated or approximated? Evidence and qualification
Sparse direct average-information REML (AI-REML) Restricted likelihood using structured factors, selected inverse entries or selected solves Established foundation for complex animal models; fill and repeated solves can dominate cost (Gilmour et al., 1995; Johnson and Thompson, 1995)
Expectation-maximization REML (EM-REML) and hybrid optimization The same likelihood through different update rules Useful for initialization or difficult steps; feasibility and convergence depend on the model and parameterization
Stochastic genomic REML, including BOLT-REML Likelihood derivatives or related calculations using random probes and iterative solves An established large-data direction; biobank evidence does not establish performance for every pedigree or multitrait model (Loh et al., 2015)
Stochastic Lanczos REML Iterative approximation and reuse of spectral information for genomic likelihood calculations Particularly useful when covariance structure permits shifted-system reuse; not every multicomponent model has that structure (Border and Becker, 2019)
Monte Carlo single-step genomic REML (MC-ss-GREML) Trace-related quantities from simulated effects and repeated joint pedigree/genomic solves A 2025 extension tested on complex cattle models and a large pedigree/genomic application (Bermann et al., 2025)
Multi-component randomized Haseman–Elston regression (RHE-mc) Moment equations for multiple covariance components A scalable alternative criterion, not an algorithm for maximizing REML (Pazokitoroudi et al., 2020)
Genomic method R and genetic parameters via predictivity (GPP) Parameters inferred from partial/whole-data prediction relationships or predictivity formulas Recent genomic applications in 2024 and 2026; sampling, selection history, uncertainty and target time slice require assessment (Gowane et al., 2026b; Hollifield et al., 2024)
Bayesian covariance inference A posterior distribution under specified priors Sampling and deterministic posterior approximations require their own convergence and calibration checks (Sorensen and Gianola, 2002)

5.1 Which advances preserve the inferential target?

Replacing an exact trace by an unbiased stochastic estimate can preserve the underlying restricted-likelihood target while introducing finite-run error. Probe count, solve tolerance and optimization accuracy then determine how closely that target is approached. Replacing a genomic relationship by a low-rank or algorithm for proven and young (APY) approximation instead changes the covariance supplied to that likelihood unless equivalence is established. These are different sources of approximation; see large-scale computation.

BOLT-REML and stochastic Lanczos methods illustrate developments from large human-genetic datasets. The 2025 MC-ss-GREML work is directly concerned with joint pedigree and genomic animal models. Its simulation-and-solve construction makes the trace computation feasible without claiming that prediction alone completes covariance estimation (Bermann et al., 2025).

Moment-based methods can be especially attractive when fitting many genomic components, but changing the estimating criterion can change finite-sample behaviour, efficiency and uncertainty calculations. A negative unconstrained moment estimate is not a valid variance to insert silently into a prediction model; constrained fitting or a declared inferential treatment is required. Likewise, genotype-based population partitions do not automatically identify all components in a selected, heterogeneous animal population.

Method R uses prediction relationships between partial and complete data to assess a variance setting; GPP uses predictivity and accuracy relationships. Neither should be described simply as faster optimization of the same REML objective. Distinguish a historical-base variance from a realised parameter in a selected cohort. The 2026 GPP paper has a published correction to two figure axis labels; use the corrected article (Gowane et al., 2026a).

5.2 What evidence is needed for an estimation claim?

Separate uncertainty from finite biological sampling, random numerical probes, inexact inner solves and incomplete outer optimization. A coefficient residual checks a solve at the current covariance parameters; it does not establish that the covariance score is sufficiently small or that a posterior approximation is calibrated. Reusing random probes across trial parameters can stabilize comparisons but does not remove their sampling variability.

Report the fitted criterion, admissibility constraints, optimizer stopping rule, probe and solve accounting, and the uncertainty method. Validate parameter recovery and interval behaviour under relevant selection and missingness patterns, then assess representative large models. Reducing the dataset or removing genomic information can change the statistical problem even when the remaining optimization is exact. The qualification framework sets out the corresponding evidence layers.

5.3 New information changes the parameters to be estimated

Functional annotations can replace one common marker variance by several feature variances or a variance function. Phenomics can replace a small trait covariance by genetic and environmental factor structures or covariance functions over time. The restricted-likelihood score remains applicable to a specified Gaussian model, but its derivative operators and parameter space change. Faster traces alone do not identify additional components.

For \(K_a=W D(\alpha)W^\top\), the annotation derivatives are weighted marker cross-products; Chapter 14 derives them. For latent-factor or trajectory models, scale and rotation constraints and derivatives of loadings or basis-coefficient covariances enter the estimation problem (Meyer, 1998; Thompson et al., 2003). Full Bayesian inference can pool weakly informed parameters and integrate their uncertainty, while a penalized or empirical fit needs its corresponding inferential interpretation.

Distinguish fixed external features from features learned using the same phenotypes, and external covariance information from prior assumptions. A preprocessing step that already shrinks predictions cannot simply be treated as equally precise raw observations in another estimation stage. See phenomics for joint and staged alternatives and the information each requires.

6 Heritability depends on the target population and scale

For a single-trait additive model with unit-diagonal relationship in the reference population and independent residual variance, \(h^2=\sigma_a^2/(\sigma_a^2+\sigma_e^2)\). If other environmental components belong to the phenotype, they also enter the relevant denominator. Inbreeding, heterogeneous residuals and reaction norms can make the appropriate prior or phenotypic variance depend on the individual or environment.

Thus a variance ratio computed from a single coefficient is not a universal heritability. State which variance is averaged, which population is referenced, and whether the reported quantity is on an observed or latent scale.

NoteImplementation in gsuite

Implemented estimation includes sparse-direct REML and specified matrix-free stochastic routes in the model catalog, plus packed single-step EM-REML. The solver guide explains the distinction between solving at supplied covariances and estimating them. Packed REML currently uses whole unstructured blocks and excludes several combinations available for prediction, including factor-analytic covariances, serial residuals and genetic bases. The other published estimation methods reviewed here are not all separate gsuite interfaces.

Next: relationship and genomic models.

For recent large-scale and predictivity-based estimation developments, see Chapter 13.

7 References

Bermann, M., Legarra, A., Aguilar, I., Alvarez-Munera, A., Misztal, I., and Lourenco, D. (2025). Estimation of (co)variance components for very large datasets and complex single-step genomic models. Genetics Selection Evolution, 57(1). https://doi.org/10.1186/s12711-025-01006-9.
Border, R., and Becker, S. (2019). Stochastic Lanczos estimation of genomic variance components for linear mixed-effects models. BMC Bioinformatics, 20(1), 411. https://doi.org/10.1186/s12859-019-2978-z.
Gilmour, A. R., Thompson, R., and Cullis, B. R. (1995). Average Information REML: An Efficient Algorithm for Variance Parameter Estimation in Linear Mixed Models. Biometrics, 51(4), 1440–1450. https://doi.org/10.2307/2533274.
Gowane, G., Hidalgo, J., Hollifield, M. K., Misztal, I., and Lourenco, D. (2026a). Correction: Genetic parameters via predictivity in large populations under strong genomic selection. Genetics Selection Evolution, 58(1), 71. https://doi.org/10.1186/s12711-026-01089-y.
Gowane, G., Hidalgo, J., Hollifield, M. K., Misztal, I., and Lourenco, D. (2026b). Genetic parameters via predictivity in large populations under strong genomic selection. Genetics Selection Evolution, 58(1). https://doi.org/10.1186/s12711-026-01054-9.
Hollifield, M. K., Lourenco, D., and Misztal, I. (2024). Estimation of heritability with genomic information by method R. Journal of Animal Breeding and Genetics, 141(5), 550–558. https://doi.org/10.1111/jbg.12863.
Johnson, D. L., and Thompson, R. (1995). Restricted Maximum Likelihood Estimation of Variance Components for Univariate Animal Models Using Sparse Matrix Techniques and Average Information. Journal of Dairy Science, 78(2), 449–456. https://doi.org/10.3168/jds.S0022-0302(95)76654-1.
Loh, P.-R., Bhatia, G., Gusev, A., Finucane, H. K., Bulik-Sullivan, B. K., Pollack, S. J., Schizophrenia Working Group of the Psychiatric Genomics Consortium, Candia, T. R. de, Lee, S. H., Wray, N. R., Kendler, K. S., O’Donovan, M. C., Neale, B. M., Patterson, N., and Price, A. L. (2015). Contrasting genetic architectures of schizophrenia and other complex diseases using fast variance-components analysis. Nature Genetics, 47(12), 1385–1392. https://doi.org/10.1038/ng.3431.
Meyer, K. (1998). Estimating covariance functions for longitudinal data using a random regression model. Genetics Selection Evolution, 30(3). https://doi.org/10.1186/1297-9686-30-3-221.
Patterson, H. D., and Thompson, R. (1971). Recovery of inter-block information when block sizes are unequal. Biometrika, 58(3), 545–554. https://doi.org/10.1093/biomet/58.3.545.
Pazokitoroudi, A., Wu, Y., Burch, K. S., Hou, K., Zhou, A., Pasaniuc, B., and Sankararaman, S. (2020). Efficient variance components analysis across millions of genomes. Nature Communications, 11(1), 4020. https://doi.org/10.1038/s41467-020-17576-9.
Self, S. G., and Liang, K.-Y. (1987). Asymptotic Properties of Maximum Likelihood Estimators and Likelihood Ratio Tests under Nonstandard Conditions. Journal of the American Statistical Association, 82(398), 605–610. https://doi.org/10.1080/01621459.1987.10478472.
Sorensen, D., and Gianola, D. (2002). Likelihood, Bayesian, and MCMC Methods in Quantitative Genetics. Springer New York. https://doi.org/10.1007/b98952.
Thompson, R., Cullis, B., Smith, A., and Gilmour, A. (2003). A Sparse Implementation of the Average Information Algorithm for Factor Analytic and Reduced Rank Variance Models. Australian & New Zealand Journal of Statistics, 45(4), 445–459. https://doi.org/10.1111/1467-842X.00297.