Learn R Programming

compute.es (version 0.2.1)

compute.es-package: Compute Effect Sizes

Description

At the outset of a meta-analytic endeavor, particularly when the literature search and study retrieval has been completed, the focus lies on deriving effect size estimates from included studies. These studies will report various statistical information to compute the estimates. For example, some studies will report means and standard deviations or mean differences, others will report correlations, and still others will report odds ratios. Can all these different estimates be combined for use in a meta-analysis? Yes and no. The statistical information reported in each study will need to be converted to a common index, whether that be the standardized mean difference, correlation, or binary estimate--it really depends on the type of meta-analysis being conducted. The goal in creating this package was to provide a comprehensive set of tools/functions to easily derive and/or convert statistics reported in the primary studies to all of the common effect size estimates and their variances. The compute.es package's functions will convert a variety of statistics, such as a t-test or p-value and sample size, to estimates of: ll{ (1) Cohen's $d$ (mean difference) (2) Hedges' $g$ (unbiased estimate of $d$) (3) $r$ (correlation coefficient) (4) $z'$ (Fisher's $z$) (5) log odds ratio (6) the variances of these estimates } This package also contains functions to calculate $d$ and $g$ or $r$ and $z'$ and their variances for a full data set. The compute.es package uses recommended conversion formulas as described in The Handbook of Research Synthesis and Meta-Analysis (Cooper, Hedges, & Valentine, 2009).

Arguments

Details

ll{ Package: compute.es Type: Package Version: 0.2.1 Date: 2012-01-09 License: GPL-2 LazyLoad: yes } Structure of Functions The function names for this package are designed for quick processing, such that the first part of the function corresponds to the input method (statistical information reported in the study) and the remaining part corresponds to the output values, which are the effect size estimates ('es' at the end of each function). For example, the function des() has the input of a Cohen's $d$ and will output various effect size ('es') estimates. The other function inputs and names are as follows: ll{ ANCOVA F-test: a.fes() ANCOVA means: a.mes() ANCOVA means (pooled $sd$): a.mes2() ANCOVA p-value: a.pes() ANCOVA t-test: a.tes() Chi-squared (1 $df$): chies() Correlation: res() d-statistic: des() Failure group (binary): failes() F-test: fes() Log odds ratio: lores() Means: mes() Means (pooled $sd$): mes2() Proportions (binary): propes() p-value: pes() t-test: tes() }

References

Borenstein (2009). Effect sizes for continuous data. In H. Cooper, L. V. Hedges, & J. C. Valentine (Eds.), The handbook of research synthesis and meta analysis (pp. 279-293). New York: Russell Sage Foundation. Cooper, H., Hedges, L.V., & Valentine, J.C. (2009). The handbook of research synthesis and meta-analysis (2nd edition). New York: Russell Sage Foundation.

See Also

For information and user-friendly R packages to conduct a meta-analysis see: Meta-Analysis with Correlations: MAc package: http://CRAN.R-project.org/package=MAc Menu-Driven Meta-Analysis with Correlations: RcmdrPlugin.MAc package: http://CRAN.R-project.org/package=RcmdrPlugin.MAc Meta-Analysis with Mean Differences: MAd package: http://CRAN.R-project.org/package=MAd Menu-Driven Meta-Analysis with Mean Differences: RcmdrPlugin.MAd package: http://CRAN.R-project.org/package=RcmdrPlugin.MAd

Examples

Run this code
# 1. Computations to Calculate Effect Sizes:
 
# For example, suppose the primary study reported a t-test 
# value for differences between 2 groups. Then, running:

tes(1.74, 30, 31)  

# where the reported t-value = 1.74, treatment sample 
# size = 30, and the control/comparison sample size = 31 will
# output effect sizes of d, g, r, z, and log odds ratio. 
# The variances will also be computed for these estimates.
# Note: If only the total sample size is reported simply split 
# the number in half for entry into the function.

Run the code above in your browser using DataLab