Vignettes to perform meta-analysis in R using the metafor package.
Also has Bayesian meta-analysis using the bayesmeta package.
This repository also has additional resources for learning meta-analysis, epidemiology and basic statistics.
-
Adapted from
-
Installation:
- source("installation_script.R")
-
Usage:
- nohup R --no-save < meta_analysis_poc.R
OR
-
In R
-
source("meta_analysis_poc.R")
-
source("effect_size_example.R")
- for a small example of a fixed-effects and random effects model
-
source("bayesian_metaanalysis.R")
- for a small Bayesian meta-analysis example
-
source("relative_risk_moderators.R")
-
example for a relative risk meta-analysis with moderators
-
THIS IS THE MOST IMPORTANT script
-
-
source("stratified_risk.R")
- example of stratified risk models in metafor including risk difference (RD), risk ratio (RR) and odds ratio (OR)
-
source("meta_regression.R")
- example and pointers to meta-regression
-
source("metaanalysis_hazard_ratios.R")
-
example script to meta-analyse hazard ratios or meta-analysis of survival and time to event models
-
additional examples of survival models are available at
-
-
More resources and tutorials at:
-
Contact
-
Soumya Banerjee
-