If I would like to fit random intercept and slope and if I write it as (color|writer) compared to (1+color|writer), are they the same?
Asked
Active
Viewed 264 times
1 Answers
3
Yes, (1+color|writer) and (color|writer) are the same. The intercept is always assumed, unless it is explicitly suppressed, e.g. via (0+color|writer), where only the slope is random.
Patrick Coulombe
- 2,810
-
thank you very much for your reply. You've saved my life. – user3288202 Mar 20 '14 at 18:07
-
see also http://glmm.wikidot.com/faq#modelspec – Ben Bolker Mar 20 '14 at 20:54