Hot answers tagged

3

That ggplot has little to do with the regression model you fit. To get the plot to correspond to your regression model, you need to enter method = "lm" in the call to geom_smooth(). That will produce a straight line that corresponds to the regression you fit. It's also a good idea to have the plot that you made, i.e., with the smoothed fit line, ...


2

My question is that does the model ranking change if I add another random effect (like animals) in the model? This random effect will be the same for all different models. It might, because the estimation procedures are different In mixed effects models. However this should not deter you from using mixed models. They are often the best solution when you ...


Only top voted, non community-wiki answers of a minimum length are eligible