knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of Metaan package is to help user to compute a Meta-Analysis of Published Epidemiological Studies.
This package helps to combine estimates from published individual studies and provide a summarized or a pooled estimate of evidence. It makes use of statistical methods of meta-analysis computation such as the fixed effect model and the random effect model. These methods are ready for risk estimates (e.g relative risk (RR), odds ratio (OR) and hazard ratio (HR)) meta-analyses but are improved using the alternative method of Richardson et al. 2020 for the computation of excess relative risk (ERR) estimates metanalyses.
You can install the released version of Metaan from CRAN with:
install.packages("Metaan") library(Metaan)
install.packages("devtools") # if you do not have it already devtools::install_github("Package-Metaan-Rep/Metaan") library(Metaan)
library(Metaan)
Formate the dataset in order to have your individual studies in lines with the following columns :
An example from the ischemic heart disease (IHD) dataset:
data(IHD) print(IHD)
In this example, the "Study" column contains information on the Authors and on the date of the study. "err" is the value expressing the excess relative risk (err) reported from the study. "lower_ci" is the value of the lower bound of the confidence interval of the risk reported from the study. "upper_ci" is the upper bound of the confidence interval of the risk reported from the study and the "max_dose" column gives the maximum dose (in millisievert mSv) reported from the study.
To estimate the pooled effect from this set of studies, we will make use of functions "alpexfix" or "alpexrand" for respectively estimate using the alternative fixed effect model or the alternative random effect model. For more details about the alternative model, I recommend you this interesting article Richardson et al. 2020, and to know more the fixed and the random effect models, there is some references at the end of the tutorial.
alpexfix(err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci, d=IHD$max_dose)
alpexrand(err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci, d=IHD$max_dose)
These functions estimate the summary effect using the correction method proposed by Richardson et al. 2020. However user can choose to use the standard model without correction. To do so, user can choose the following functions "pexfix" and "pexrand".
pexfix(err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci)
pexrand(err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci)
exsens(study = IHD$Study, err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci, d=IHD$max_dose, test = "RANDOM", # you can choose test="FIXED" for the fixed effect model model = "alternative") # you can choose model = "standard" for the fixed effect model
exsens(study = IHD$Study, err=IHD$err, u=IHD$upper_ci, l=IHD$lower_ci, # d=NULL when using the standard model with model = "standard" test = "RANDOM", # you can choose test="FIXED" for the fixed effect model model = "standard")
DerSimonian R, Laird N (1986) Meta-analysis in clinical trials. Controlled clinical trials 7:177–188.
Larry V Hedges and Ingram Olkin (1985), Statistical methods for meta-analysis. ISBN 978-0-08-057065-5, https://doi.org/10.1016/C2009-0-03396-0
Richardson, D. B., Abalo, K., Bernier, M. O., Rage, E., Leuraud, K., Laurier, D., ... & Little, M. P. (2020). Meta-analysis of published excess relative risk estimates. Radiation and Environmental Biophysics, 1-11.
Little MP, Azizova TV, Bazyka D, et al. Systematic review and meta-analysis of circulatory disease from exposure to low-level ionizing radiation and estimates of potential population mortality risks. Environ Health Perspect 2012;120(11):1503-11.
To make a contribution, feel free to clone the rip and to share it.
To report a comment you can email me antoine.kossi@hotmail.com or you can create an issue on github.
To visite the package website Metaan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.