Hello,
I'm a long time reader of these forums but first time poster! Please forgive me for any mistakes I might make.
I am using metaprop_one to create a forest plot. The plot itself is fine, but the studies are labelled 1,2,3 and so on, rather than by the name of the author and their year of publication like so:
Array
I am using the following code:
metaprop_one num denom, random by(whoregion) cimethod(exact)
label([namevar=author], [yearvar=year])
xlab(.25,0.5,.75,1)xline(0, lcolor(black))
subti(Timing to default, size(4))
xtitle(Proportion,size(2)) nowt
olineopt(lcolor(red)lpattern(shortdash))
plotregion(icolor(ltbluishgray))
diamopt(lcolor(red))
pointopt(msymbol(x)msize(0))boxopt(msymbol(S) mcolor(black))
astext(70) texts(150)
The line in bold is where I believe the problem is. My main concern is that when I download and use the practice data, it does the same thing of numbering the studies rather than giving the author name and year but when I run it out of the help file it works perfectly.
Any help would be greatly appreciated.
Many thanks,
EW
Related Posts with Labelling studies in metaprop_one
drop observationspost should be deleted …
Trend graphs for repeated cross-sectional dataHi, I'm a student and I'm working with a repeated cross-sectional dataset. I would like to create so…
What is the difference between" i.county|trend " and " i.county##c.trend "?In the process of learning the code, I found this way of writing: "i.county|trend" (county is the co…
predicted values from repeat regression model differentHello, I ran a OLS regression model with 59,000,000 observations and 1000+ plus variables. When I …
drop observationsHello everyone, I want to drop the following observations: If a person has written several articles…
Subscribe to:
Post Comments (Atom)
0 Response to Labelling studies in metaprop_one
Post a Comment