Skip to content
Prev 923 / 20628 Next

random effects specification

On 01/05/2008, at 11:28 PM, Sebastian P. Luque wrote:

            
No. Due to not having a random component for id in the simulated data.

Try

rid <- rep(rnorm(20),each=3)
dta$n <- dta$n+rid

Then refit the model.
Probably not, but with real data I would remove the random effect from  
the model as it is 0.

Ken