Hello,
I am using metan (SSC user written program) in Stata 14.1 to display forest plots from logistic regressions for about 10 separate surveys. No problems when I was displaying odds ratios for dummy variables. Now, I'd like to display forest plots of the ORs of a categorical variable (ref=never plus 2 categories, "sometimes" and "often").
My approach so far has been to graph one set of ORs for the "sometimes" category with the survey names in the left column:
and then graph the second set of ORs for the "often" category with survey names:
and then edit and combine the graphs into a small multiple set. 2 panels placed horizontally.
This feels like a clunky approach and I'm in search of an easier way. I'd gladly accept either a forest plot that has two panels, one for each of the categories (as produced by my clunky efforts above) or a single plot that has two "rows" of ORs for each survey.
Thank you for any advice!
Kerry
I am using metan (SSC user written program) in Stata 14.1 to display forest plots from logistic regressions for about 10 separate surveys. No problems when I was displaying odds ratios for dummy variables. Now, I'd like to display forest plots of the ORs of a categorical variable (ref=never plus 2 categories, "sometimes" and "often").
My approach so far has been to graph one set of ORs for the "sometimes" category with the survey names in the left column:
Code:
metan logor loglci loguci, wgt(popweight) eform lcols(Survey)xlabel(0.05,10)force nowt title("DWSIN--Any IPV (sometimes)")
Code:
metan logor2 loglci2 loguci2, wgt(popweight) eform xlabel(0.05,10)force nowt title("DWSIN--Any IPV (often)")
This feels like a clunky approach and I'm in search of an easier way. I'd gladly accept either a forest plot that has two panels, one for each of the categories (as produced by my clunky efforts above) or a single plot that has two "rows" of ORs for each survey.
Thank you for any advice!
Kerry
Comment