Hi everyone,
In a nutshell, I have the following model for which I would like to automatically compute the changing OR and CI for the effect of treatment (treat2c=1) over time (fui=0,1,3,5,7,10,15). I would then like to use calculated numbers to produce a line plot with surrounding confidence intervals.
I can compute the OR and CI manually, but I would very much prefer to learn how to directly produce those results. I also understand that marginplot would be quite useful if my outcome was linear or even binary. However, given that the outcome is ordinal, this command results in a separate output per outcome level. This isn't exactly what I'm looking for. Any idea on how to code this?
The model:
meologit tr i.treat2c##c.fui i.trpre i.rvdilpre i.rvsdpre aac creptvr clead pvd ceps, || id: fui, vce(robust) or
Array
Related Posts with plotting additive interaction after mixed effect ordinal regression (meologit)
True discard of precision with roundHi all, I'm using Stata 14 and wish to round data in one of my variables to 1 dp. I shall be retaini…
esttab producing wrong estimates for imputed marginsHi, Im trying to use esttab to export my margins in some imputed data and while the estimates on the…
Year fixed effectsHi all, I am seeking for explanation on year fixed effects, why one would need them as a control in…
Creating dummy variable to indicate if trend increasing or decreasingHello! I am working on a panel dataset. I want to create a dummy variable that indicates weither m…
Creating relative scale for two different variables for comparisonHi All, I am creating an index which investigates associations between ecological footprint (EF) an…
Subscribe to:
Post Comments (Atom)
0 Response to plotting additive interaction after mixed effect ordinal regression (meologit)
Post a Comment