Hi,
I'm running a linear mixed model, and am now trying to plot a fitted line with a 95% CI for this model.
mixed t_75 fibriperc || tbm_id:
predict x
twoway lfitci x fibriperc || scatter t_75 fibriperc
^this is what I use now to plot the line. The 95% CI is harder, however; I can't find anywhere how to do this.
I found this topic:
https://www.statalist.org/forums/for...terval-xtmixed but the 'line' command doesn't work.
Anyone here that can help? Thanks in advance!
I'm running a linear mixed model, and am now trying to plot a fitted line with a 95% CI for this model.
mixed t_75 fibriperc || tbm_id:
predict x
twoway lfitci x fibriperc || scatter t_75 fibriperc
^this is what I use now to plot the line. The 95% CI is harder, however; I can't find anywhere how to do this.
I found this topic:
https://www.statalist.org/forums/for...terval-xtmixed but the 'line' command doesn't work.
Anyone here that can help? Thanks in advance!