[R] How do I print predicted effect sizes in forest plot?

Michael Dewey info at aghmed.fsnet.co.uk
Fri Dec 6 15:10:15 CET 2013


At 21:05 05/12/2013, Alma Wilflinger wrote:
>Hi,
>
>I am struggling a bit with creating a forest plot containing the 
>predicted effect size. As seen in other studies these effect sizes 
>are shown per study usually as a light grey diamond - which is what 
>I want to achieve.
>
>The calls I use are:
>iat_result = rma(yi=Mean, vi=Variance_rounded, ni=N, sei=Std_error, 
>slab=Study_Name, subset=(Country == "AUT"), data=cma_iat, method="HS")

Alma
You do not need to specify both vi and sei as one is sufficient and 
you do not need ni as well.
I realise that is not the question you asked (which Wolfgang has 
already answered).


>summary.rma(iat_result)
>
>
>#not sure how to use it or if needed
>#predict(iat_result)
>
>forest(iat_result)
>
>
>At the end I am getting the forest plot as is without the predicted values.
>
>I am not sure if I need the predict function and how to use it? - 
>the predict function deliveres the same values as already computed 
>in the rma object.
>
>
>I checked the manual for package metafor but was not able to find 
>out how to print the predicted values per study.
>
>
>kind regards, Alma
>         [[alternative HTML version deleted]]

Michael Dewey
info at aghmed.fsnet.co.uk
http://www.aghmed.fsnet.co.uk/home.html



More information about the R-help mailing list