I am running a model with a grouping variable (Control, Experimental) and Time (0,1,2,3). I want to treat Time as categorical (dummy variables). In addition, I would like to be able to have random slopes. So ... I expect my output to show the variances of the slopes for each dummy variable (e.g., var(0v3), var(1v3), etc.). However, I have been unable to find the correct code/covariance structure that will produce the desired output.

I can get the proper output from R; below we can clearly see the level 1 residual SD, random intercept SD, and the SDs for each dummy variable "slope". Time 3 is treated as the reference category.

m

More Robert A Cribbie's questions See All
Similar questions and discussions