Downloads

The metafor Package (Meta-Analysis Package for R)

The metafor package consists of a collection of functions for conducting meta-analyses in R. Fixed- and random-effects models (with and without moderators) can be fitted via the general linear (mixed-effects) model. For 2x2 table data, the Mantel-Haenszel and Peto's method are also implemented. Functions for complex syntheses (such as network meta-analyses, multivariate meta-analyses, and meta-analyses with correlated outcomes) will be implemented in the future.

The package grew out of the mima function (see below), which I now consider obsolete. My goal is to provide a single package for conducting all sorts of meta-analyses in R.

Please post any questions about the package to the R-help mailing list. That way, others can benefit from the information and answers provided. Make sure you first read and follow the posting guide. To make sure that my mail filter catches your post, include the package name (i.e., metafor) in your post.

You can obtain and install the package directly within R by typing: install.packages("metafor") (assuming an internet connection and appropriate access rights on the computer). Alternatively, you can download the source files or a Windows binary provided here and install them manually. See the R Installation and Administration manual for more details on how to install packages this way. Note that the version of the source file and binary provided here may be slightly newer than the version available on CRAN and from within R.

metafor_0.5-7.tar.gz -- source package
metafor_0.5-7.zip -- Windows binary
metafor.pdf -- manual (in pdf format)
news.txt -- NEWS file for the package (lists the changes/updates to the package)

The figures below illustrate some of the types of plots that can be drawn with the metafor packge.

plot_forest1.png -- a forest plot with some additional annotations added
plot_forest2.png -- a forest plot with predicted odds ratios added
plot_funnel.png -- a contour-enhanced funnel plot
plot_radial.png -- a radial plot
plot_qqnorm.png -- a Q-Q normal plot
plot_influence.png -- a plot of various case diagnostics

Current Version: 0.5-7

MiMa: An S-Plus/R Function to fit Meta-Analytic Mixed-, Random-, and Fixed-Effects Models

The was a function to fit meta-analytic mixed-, random-, and fixed-effects models. This function is now obsolete and has been removed from this website. The metafor package (see above) provides a much more comprehensive set of functions and tools for conducting meta-analyses with R.

Approximate Confidence Intervals for Standardized Effect Sizes in the Two-Independent and Two-Dependent Samples Design

One must usually employ iterative methods to obtain the exact confidence interval bounds for standardized effect sizes (i.e., there are no closed-form solutions for the bounds). In a paper, I examined a large variety of closed-form approximations to the exact confidence interval bounds for the standardized mean difference in the two-independent and two-dependent samples design. I wrote up a concise summary of those methods that were found to be most accurate in the paper.

Current Version: 1.0