The REML algorithm allows you to analyse linear mixed models i.e. linear models that can contain both fixed and random effects. In some applications these are known as “multi-level” models. It can thus be used to analyse unbalanced designs with several error terms (which cannot be analysed by ANOVA). It can also fit random correlation models to describe the covariances between random effects as can arise, for example, in the analysis of repeated measurements or spatial data.
| REML | fits a variance-component model by residual (or restricted) maximum likelihood | 
|---|---|
| VCOMPONENTS | defines the model for REML | 
| VCYCLE | controls advanced aspects of the REMLalgorithm | 
| VDISPLAY | displays further output from a REMLanalysis | 
| VKEEP | copies information from a REMLanalysis into Genstat data structures | 
| VSTRUCTURE | defines a variance structure for random effects in a REMLmodel | 
| VPEDIGREE | generates an inverse relationship matrix for use when fitting animal or plant breeding models by REML | 
| VPREDICT | forms predictions from a REMLmodel | 
| VRESIDUAL | defines the residual term for a REMLmodel | 
| VSTATUS | prints the current model settings for REML | 
There are several procedures that may be useful, for example, to define the model, to produce additional output or for other REML-based analyses.
| FCONTRASTS | modifies a model formula to contain contrasts of factors | 
|---|---|
| FDIALLEL | forms the components of a diallel model for REML or regression | 
| F2DRESIDUALVARIOGRAM | calculates and plots a 2-dimensional variogram from a 2-dimensional array of residuals | 
| TOBIT | linear mixed model analysis of data with fixed-threshold censoring | 
| VAIC | calculates the Akaike and Schwarz (Bayesian) information coefficients for REML | 
| VALLSUBSETS | fits all subsets of the fixed terms in a REML analysis | 
| VAYPARALLEL | does the same REMLanalysis for several y-variates, and collates the output | 
| VBOOTSTRAP | performs a parametric bootstrap of the fixed effects in a REMLanalysis | 
| VCRITICAL | uses a parametric bootstrap to estimate critical values for a fixed term in a REMLanalysis | 
| VCHECK | checks standardized residuals from a REMLanalysis | 
| VDEFFECTS | plots one- or two-way tables of effects estimated in a REMLanalysis | 
| VDFIELDRESIDUALS | display residuals from a REMLanalysis in field layout | 
| VFIXEDTESTS | saves fixed tests from a REMLanalysis | 
| VFLC | performs an F-test of random effects in a linear mixed model based on linear combinations of the responses, i.e. an FLC test | 
| VFPEDIGREE | checks and prepares pedigree information from several factors, for use by VPEDIGREEandREML | 
| VFRESIDUALS | obtains residuals, fitted values and their standard errors from a REMLanalysis | 
| VFUNCTION | calculates functions of variance components from a REMLanalysis | 
| VGRAPH | plots tables of means from REML | 
| VHERITABILITY | calculates generalized heritability for a random term in a REMLanalysis | 
| VLSD | prints approximate least significant differences for REMLmeans | 
| VMCOMPARISON | performs pairwise comparisons between REMLmeans | 
| VMETA | performs a multi-treatment meta analysis using summary results from individual experiments | 
| VPERMTEST | does random permutation tests for the fixed effects in a REML analysis | 
| VPLOT | plots residuals from a REMLanalysis | 
| VPOWER | uses a parametric bootstrap to estimate the power (probability of detection) for terms in a REMLanalysis | 
| VRACCUMULATE | forms a summary accumulating the results of a sequence of REMLrandom models | 
| VRCHECK | checks effects of a random term in a REMLanalysis | 
| VRMETAMODEL | forms the random model for a REMLmeta analysis | 
| VRPERMTEST | performs permutation tests for random terms in REMLanalysis | 
| VRFIT | fits terms from a REMLfixed model in a Genstat regression | 
| VRADD | adds terms from a REMLfixed model into a Genstat regression | 
| VRDISPLAY | displays output for a REMLfixed model fitted in a Genstat regression | 
| VRDROP | drops terms in a REMLfixed model from a Genstat regression | 
| VRKEEP | saves output for a REMLfixed model fitted in a Genstat regression | 
| VRSETUP | sets up Genstat regression to assess terms from a REMLfixed model | 
| VRSWITCH | adds or drops terms from a REMLfixed model in a Genstat regression | 
| VRTRY | tries the effect of adding and dropping individual terms from a REMLfixed model in a Genstat regression | 
| VSAMPLESIZE | estimates the replication to detect a fixed term or contrast in a REMLanalysis, using parametric bootstrap | 
| VSCREEN | performs screening tests for fixed terms in a REMLanalysis | 
| VSOM | analyses a simple REMLvariance components model for outliers using a variance shift outlier model | 
| VSPREADSHEET | saves results from a REMLanalysis in a spreadsheet | 
| VSURFACE | fits a 2-dimensional spline surface using REML, and estimates its extreme point | 
| VTCOMPARISONS | calculates comparison contrasts within a multi-way table of predicted means from a REMLanalysis | 
| VUVCOVARIANCE | forms the unit-by-unit variance-covariance matrix for specified variance components in a REMLmodel | 
There is also a suite of procedures to provide automatic selection of REML random models for single trials, series of trials and meta analysis.
| VABLOCKDESIGN | analyses an incomplete-block design by REML, allowing automatic selection of random and spatial covariance models | 
|---|---|
| VAROWCOLUMNDESIGN | analyses a row-and-column design by REML, with automatic selection of the best random and spatial covariance model | 
| VALINEBYTESTER | provides combinabilities and deviances for a line-by-tester trial analysed by VABLOCKDESIGNorVAROWCOLUMNDESIGN | 
| VLINEBYTESTER | analyses a line-by-tester trial by REML | 
| VASERIES | analyses a series of trials with incomplete-block or row-and-column designs by REML, automatically selecting the best random models | 
| VASDISPLAY | displays further output from an analysis by VASERIES | 
| VASKEEP | copies information from an analysis by VASERIESinto Genstat data structures | 
| VASMEANS | saves experiment × treatment means from analysis of a series of trials by VASERIES. | 
| VAMETA | performs a REMLmeta analysis of a series of trials | 
| VFMODEL | forms a model-definition structure for a REMLanalysis | 
| VFSTRUCTURE | adds a covariance-structure definition to a REMLmodel-definition structure | 
| VAOPTIONS | defines options for the fitting of models by VARANDOMand associated procedures | 
| VARANDOM | finds the best REMLrandom model from a set of models defined byVFMODEL | 
| VARECOVER | recovers when REML, is unable to fit a model, by simplifying the random model |