Hello,
I have a series of forest plots, which I need to edit further.
An extract of the code for one of the graphs (thanks to David Fisher) is:
----------
use dataset_children.dta, clear
label variable morphology_group "Morphology"
gsort +midYear +ageH
admetan PE LCI UCI if morphology_group>=31 & morphology_group<=32, study(author) ///
sortby(midYear) by(morphology_group) ///
rcols(country estimator_new midYear age_r) ///
nohet nooverall nosubgroup saving(mydata, replace)
use mydata, clear
replace _LABELS = `"{bf:"' + _LABELS + `"}"' if _USE==0
label variable _ES "%"
label variable _LCI "LCI"
label variable _UCI "UCI"
format %-20s _LABELS
format _ES %2.0f
forestplot, lcols(country) rcols(_ES midYear estimator_new age_r) ///
nostats nowt nobox nulloff leftjustify astext(70) xlabel(0 30 60 90) spacing(4) aspect(1) ///
pointopts(msymbol(t)msize(vsmall)) ciopts(lwidth(vvthin))
----------
I would like to:
1- indent slightly study names (but not the subgroup name in bold);
2- add a grid at the 0,30,60,90 points (possibly separated within each subgroup);
3- right-align the last column on the right;
4- suppress the first column heading on the left.
With the graph editor I was able to add the grid, but I could not find the way to resolve the other points.
Thank you in advance for your reply.
Fabio
Related Posts with Admetan | Forest plot formatting
Event study modellingDear forum members, I am currently working on the capital market consequences of a specific regulat…
-vecrank- errorHey, I have a monthly time series data from 2005m1 to 2018m12. On visual inspection there are no gap…
Data cleaningHi members, i am new around here and a novice with research. i am trying to conduct an Interrupted …
Need help in probit model: probability that a developing country which is a WTO member faces a dispute.Hello! Hope you are all having a great week! I need help to calculate the probability that a devel…
Grouping datesHello I have a dataset with lots of repeated measures and dates. I currently have this in the long …
Subscribe to:
Post Comments (Atom)
0 Response to Admetan | Forest plot formatting
Post a Comment