-
Login or Register
- Log in with
meta esize nc meanc sdc nt meant sdt , esize(hedgesg) studylabel(Author) //calculate your own mean, sd and n for control and treatment, use "author" as studylabel and whatever effectsize you are interested in meta forestplot , /// esrefline(lp(dash)) /// <--- this is part that inserts the mean as a line, and here it is dashed title("{bf:Hemorrhagic events...}: ") /// subtitle("{it:Aspirin and Trigacelor}") /// name(p1, replace)
help meta
use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, clear metan tdeath tnodeath cdeath cnodeath, rd random label(namevar=id, yearvar=year) counts forestplot(nodraw savedims(myplotdims)) local textsize = myplotdims[1, "textsize'"] qui metan tdeath tnodeath cdeath cnodeath, rd random label(namevar=id, yearvar=year) counts forestplot(xmlabel(`r(eff)', tlength(*6) labsize(`textsize') format("%05.3f")) xlabel(,format("%03.1f")))
Comment