In this blog, we detail how to create a strategy for a linear mixed model analysis of a designed experiment. Follow our step by step guide to a successful analysis.
So what is the strategy for a linear mixed model analysis of a designed experiment? A strategy for a LMM analysis of a designed experiment consists of 4 steps:
- Establishing a baseline model
- Assessing the model
- Extending and refining the random model
- Making predictions and inferences
Read on to find the step by step guide to LMM analysis for designed experiments.
How to Create A Strategy for LMM of a Designed Experiment
Various different strategies are available for establishing a suitable mixed model for a given data set. The following strategy should lead to a sensible model for data from a designed experiment.
Establish A Baseline Model
Step one is to establish a baseline set of fixed and random terms. Follow these steps:
- The randomization structure of the experimental design should be encompassed in the random terms.
- The experimental treatments may be included as either fixed or random terms, according to the aims of analysis.
For more information on step 1 see A lightning introduction to linear mixed models for designed experiments: Part 1.
Assess the Model
Step 2: Run the baseline model and assess the residuals for evidence of departures from the model assumptions. Follow these steps:
- Variance heterogeneity related to fitted values may be dealt with by use of a suitable transformation of the response variate.
- Departures such as variance heterogeneity related to treatment groups, or serial correlation, require extension of the random model.
- Other common departures include nonlinear trends for explanatory variates, or relationships with factors or variables not included in the model. These may be dealt with by adding suitable terms into the fixed or random models.
We have a blog available which details step 2 in more detail here: A lightning introduction to linear mixed models for designed experiments: Part 4.
Extend and Refine
Step 3: Extend and refine the random model using the full fixed model – but retain all terms associated with the randomization structure. Follow these steps:
- Assess differences between random models using the deviance or information criteria such as AIC or SIC.
- Add fixed terms to account for global trends, e.g., linear trend across a field trial.
Check out A lightning introduction to linear mixed models for designed experiments: Part 2 for more information.
Make Predictions & Inferences
Step 4: Once a suitable random model has been determined, refine the fixed model. Follow these steps:
- The table of marginal Wald or approximate F-tests can be used to implement a process of backwards selection for the fixed model, refitting the model each time a term is dropped.
- Make predictions, and draw inferences from the final model.
Our in depth blog, A lightning introduction to linear mixed models for designed experiments: Part 3, goes into more detail about this.
Final Thoughts
If you require more help with creating and following a strategy for a linear mixed model analysis of a designed experiment, contact the VSNi team. Alternatively, we have a fully bespoke consultancy service available. Whatever your needs, VSNi are here to help.