Thank you for this, it has been helpful. What does the shaded areas around the OR on the forest plot mean and how can I remove them? Graph1.gph
-
Login or Register
- Log in with
gen logOdds_ratio = ln(Odds_ratio) gen loglower = ln(lower) gen logupper = ln(upper) forestplot logOdds_ratio loglower logupper, labels(study_id) or nowt nobox favours(Decreased odds#Increased odds) lcols(Factor noofstudy) rcols(cpvalue) leftjustify
forestplot Odds_ratio lower upper, labels(study_id) effect(OR) xlabel(0 0.2 0.4 0.6 0.8 1 1.5 2 2.5 3 4 5 6) null(1) /// nowt nobox favours(Decreased odds#Increased odds) lcols(Factor noofstudy) rcols(cpvalue) leftjustify
admetan lnOR lnlci lnuci, study(Phthalatemetabolite) or nowt nooverall plotid(gender) forestplot(xlab(0.1 0.2 0.5 1 2 5) box1opts(mcolor(red)) ci1opts(lcolor(red)) box2opts(mcolor(blue)) ci2opts(lcolor(blue)))
admetan coeff lci uci, by(model) forestplot(xlabel(-4 -3 -2 -1 0 1 2 3 4)) nooverall nowt nosubgroup label(namevar=dir) sortby(dir) nobox
admetan coeff lci uci, by(model) forestplot(xlabel(-4 -3 -2 -1 0 1 2 3 4) nobox) nooverall nowt nosubgroup label(namevar=dir) sortby(dir)
Comment