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 seem to exist.
Anyone here that can help? Thanks in advance!
Related Posts with Plot confidence interval for linear mixed model
IV regressions with interaction termsDear Stata community, I'd like to run an IV regression with interaction terms between the endogenou…
Dropping Observations and Creating Fertility VariableQuestion 1: I am using two fertlity variables- age at first intercourse (var name: age1stsex) and a…
Transform data from wide to long but then lots of values/observations went missing.Hi everyone, I have a dataset with dimension of individuals, observations (e.g income, total broadc…
How do I reference an estimate after lincom?Hi Everyone: I know there must be a simple solution to this but I haven't found it. I thought that u…
how can concat observation data by IDI have the dataset like this: ID Course 1 MS Word 1 MS Excel 2 Windows 2 DOS I want to change it a…
Subscribe to:
Post Comments (Atom)
0 Response to Plot confidence interval for linear mixed model
Post a Comment