Can somebody please explain the difference between a mixed model and linear regression analysis? (I have very limited knowledge of statistics.)
1 Answer
A mixed effects model has both random and fixed effects while a standard linear regression model has only fixed effects.
Consider a case where you have data on several children where you have their age and height at different time points and you want to use age to predict height. If you are willing to assume that all the children have the same slope and intercept relating age to height then you can fit a regular linear model with age as the predictor and height as the response. You could also fit a fixed effects model including an id term for each child that would effectively fit a separate intercept (or slope and intercept if you include the interaction) for each child.
A mixed effects model will let you fit an average intercept and slope as fixed effects, but then you can also include a random intercept (and random slope if desired) that models the possibility of differences between the children in a different way than the fully fixed effects model. To fully appreciate the advantages takes more than what could be included in an answer here, you really should read up on the topic in a textbook or take a class that talks about mixed effects models.
-
5$\begingroup$ Thank you Greg. Do you recommend any book on mixed modeling techniques for someone like me with limited statistical knowledge $\endgroup$– EsitaCommented Jan 12, 2015 at 18:14