Mixed model starting values for lme4
问题 I am trying to fit a mixed model using the lmer function from the lme4 package. However, I do not understand what should be input to the start parameter. My purpose is to use a simple linear regression to use the coefficients estimated there as starting values to the mixed model. Lets say that my model is the following: linear_model = lm(y ~ x1 + x2 + x3, data = data) coef = summary(linear_model)$coefficients[- 1, 1] #I remove the intercept result = lmer(y ~ x1 + x2 + x3 | x1 + x2 + x3, data