# The metafor Package

A Meta-Analysis Package for R

tips

# Differences

This shows you the differences between two versions of the page.

 — tips [2019/06/30 11:46] (current) Line 1: Line 1: + ===== Tips and Notes ===== + + The links below point to pages illustrating various tips and notes that may be useful when working with the metafor package. In addition, some features of the package that may not be readily apparent from the documentation are explained in more detail. + + * [[tips:​handling_missing_data|Handling Missing Data in Output/​Figures]]:​ An illustration/​discussion of how to show studies in figures and output that were actually excluded from model fitting due to missing data. + + * [[tips:​assembling_data_smd|Assembling Data for a Meta-Analysis of Standardized Mean Differences]]:​ An illustration of how a dataset for a meta-analysis of standardized mean differences (Cohen'​s d values) can be assembled/​constructed from various pieces of information. + + * [[tips:​assembling_data_or|Assembling Data for a Meta-Analysis of (Log) Odds Ratios]]: An illustration of how a dataset for a meta-analysis of (log) odds ratios can be assembled/​constructed from various pieces of information. + + * [[tips:​regression_with_rma|Linear Regression and the Mixed-Effects Meta-Regression Model]]: An illustration of the relationship between the linear regression model (fitted by the ''​lm()''​ function) and the mixed-effects meta-regression model (fitted by the ''​rma()''​ function). + + * [[tips:​two_stage_analysis|Two-Stage Analysis versus Linear Mixed-Effects Models for Longitudinal Data]]: An illustration of two different approaches to analyzing longitudinal data: A two-stage analysis (which the ''​rma.mv()''​ function can be used for) and linear mixed-effects models (e.g., using the ''​lme()''​ function). + + * [[tips:​rma.uni_vs_rma.mv|A Comparison of the rma.uni() and rma.mv() Functions]]:​ A comparison of the ''​rma.uni()''​ and ''​rma.mv()''​ functions for fitting fixed- and random-effects models. + + * [[tips:​rma_vs_lm_lme_lmer|A Comparison of the rma() and the lm(), lme(), and lmer() Functions]]:​ An illustration of the difference between the models fitted by the ''​rma()''​ function and the models fitted by the ''​lm()'',​ ''​lme()'',​ and ''​lmer()''​ functions (or: why the ''​lm()'',​ ''​lme()'',​ and ''​lmer()''​ functions cannot be used to fit meta-analytic models). + + * [[tips:​models_with_or_without_intercept|Meta-Regression Models With or Without an Intercept]]:​ A discussion of what happens when we fit meta-regression models with or without an intercept. + + * [[tips:​testing_factors_lincoms|Testing Factors and Linear Combinations of Parameters]]:​ An illustration of how to test factors and linear combinations of parameters in (mixed-effects) meta-regression models. + + * [[tips:​multiple_factors_interactions|Models with Multiple Factors and Their Interaction]]:​ An illustration of how to examine and conduct tests of models involving multiple factors and their interaction. + + * [[tips:​bootstrapping_with_ma|Bootstrapping with Meta-Analytic Models]]: An example showing how to conduct parametric and non-parametric bootstrapping with meta-analytic models. + + * [[tips:​comp_mh_different_software|Comparison of the Mantel-Haenszel Method in Different Software]]: A comparison of the results obtained with the Mantel-Haenszel method as implemented in metafor and other software. + + * [[tips:​comp_two_independent_estimates|Comparing Estimates of Independent Meta-Analyses or Subgroups]]:​ An illustration of how to compare two estimates from two independent meta-analyses or subgroups of studies. + + * [[tips:​model_selection_with_glmulti_and_mumin|Model Selection using the glmulti and MuMIn Packages]]: An illustration of how to use the metafor package in combination with the glmulti and MuMIn packages for model selection and multimodel inference based on an information-theoretic approach. + + * [[tips:​convergence_problems_rma|Convergence Problems with the rma() Function]]: A discussion and illustration of convergence problems that can rise when fitting random/​mixed-effects (meta-regression) models with the ''​rma()''​ function. + + * [[tips:​clogit_paired_binary_data|Conditional Logistic Regression for Paired Binary Data]]: An illustration of how to fit the conditional logistic regression model for paired binary data. + + * [[tips:​i2_multilevel_multivariate|I^2 for Multilevel and Multivariate Models]]: A discussion of how one can compute $I^2$-type statistics in multilevel and multivariate models. + + * [[tips:​hunter_schmidt_method|Hunter and Schmidt Method]]: A discussion of how one can conduct meta-analyses according to the Hunter & Schmidt method. + + * [[tips:​speeding_up_model_fitting|Speeding Up Model Fitting]]: A discussion of some methods and strategies for speeding up model fitting with complex models. + + * [[tips:​multiple_imputation_with_mice_and_metafor|Multiple Imputation with the mice and metafor Packages]]: An illustration of how to do multiple imputation together with the mice and metafor packages.