by shabde » Thu Jan 16, 2020 5:54 pm
Hi,
sorry my late reply, but I was a bit busy...
You can see an example in the attached file, but it also appears with other multilevel datasets.
So I have a dichotomous variable "Hall" which is a median split from the continuous variable "Halligkeit".
I have cluster sampling (variable "subject") , so I am using Mixed Models to predict both by T30 (Continuous) and Position (Binary/Factor).
As you can see in the output, in the continuous case ("Halligkeit"), I am able to plot fixed and random effects from the estimated model as charme. In the binary case ("Hall" with LogitLink), I am only able to plot random effects when I take "Position" out of the model. If I leave it in the model, I receive an error ("contrasts apply only to factors"),even when I just want to Plot T30 against Hall (actually I want to plot the interaction, but even the main effect fails). Apart from that, model estimation etc. works. So there seems to be a bug in the plot function for random effects. Or am I missing something?
Cheers,
Shabde
 Attachments

 gamljprobdemo.omv
 (87.4 KiB) Downloaded 9 times