Rexamples
worked R examples
Install / Use
/learn @julianfaraway/RexamplesREADME
Worked R examples
Mixed effect models
These are all the mixed effect model examples from two chapters of my book Extending the Linear Model with R. Each model is fit using several different methods:
I have focused on the computation rather than the interpretation of the models.
Examples
- Single Random Effect - the
pulpdata - Randomized Block Design - the
penicillindata - Split Plot Design - the
irrigationdata - Nested Effects - the
eggsdata - Crossed Effects - the
abrasiondata - Multilevel Models - the
jspdata - Longitudinal Models - the
psiddata - Repeated Measures - the
visiondata - Multiple Response Models - the
jspdata - Poisson reponse model - the
nitrofendata - Binary response model - the
ohiodata
Mixed effect models using Frequentist methods
The comparison above is focused on Bayesian methods but there is also some choice in the Frequentist approach which we explore below using the following packages:
Examples
- Single Random Effect - the
pulpdata - Randomized Block Design - the
penicillindata - Split Plot Design - the
irrigationdata - Another Split Plot example - the
steelbardata - Nested Effects - the
eggsdata - Crossed Effects - the
abrasiondata - Multilevel Models - the
jspdata - Longitudinal Models - the
psiddata - Repeated Measures - the
visiondata - Multiple Response Models - the
jspdata - Poisson reponse model - the
nitrofendata - Binary response model - the
ohiodata - Overall conclusion
