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
Update to heatplot available from SSCAn update to the heatplot package is available from SSC. Type Code: . ssc install heatplot, replac…
Invitation to attend Stata Courses June, 2019What is Stata? Stata is a powerful statistical software that enables users to analyze, manage, and p…
Replacing Missing with a Specific Numerical PatternHi all - A friend of mine has a long dataset that looks like the following. Essentially, she wants …
Normality test*for large sample dataHi. I just joined statalist and ask the first question as a beginer. I'm worrying about duplicate q…
How can I put a vector variable into my regression?My OLS model is Pit = a + b1*stationit + b2*distanceit + b3*compnumit + r*Xi + s*Yi +eit Here Xi, …
Subscribe to:
Post Comments (Atom)
0 Response to Plot confidence interval for linear mixed model
Post a Comment