Page 1 of 1

mixed effects modelling

Posted: Wed Mar 03, 2021 10:21 am
by Lucie
I am looking for some advice...

In terms of mixed effects modelling on GAMLj, how do you know whether to include a random slope in your model or just look at random intercepts?

Thanks

Re: mixed effects modelling

Posted: Thu Mar 04, 2021 9:55 am
by mcfanda@gmail.com
In general, you can try to put as random coefficients all the coefficients that may vary from cluster to cluster. If you find variability, you keep them in the random component, otherwise, you remove them. In other words, if an effect can be computed within each cluster, then it may be different from cluster to cluster, then it should be tested as random