[R-meta] Is this R script correct for conducting a meta-analysis of AOR for hypertension prevalence?
Michael Dewey
||@t@ @end|ng |rom dewey@myzen@co@uk
Wed Jul 31 11:05:09 CEST 2024
Dear Sancho
Are you intending to use the variable you have named variable as a
moderator? If not the code looks fine to me although I do not usually
use that package (I assume it is meta).
Michael
On 27/07/2024 00:18, Sancho Xavier via R-sig-meta-analysis wrote:
> *Hi, community!*
> I am conducting a meta-analysis and meta-regression to calculate the
> */pooled adjusted odds ratio (AOR)/* and */I² with the p-value/* for
> variables associated with hypertension prevalence. I have a dataset with
> the following columns:
>
> * *study_id:* Study identifier
> * *AOR:* Adjusted odds ratio (each independent variable)
> * *lower_CI:* Lower confidence interval (each independent variable)
> * *upper_CI:* Upper confidence interval (each independent variable)
> * *variable:* Independent variable
>
> Here is the script I am using in *R*:
>
> *# Calculate the standard error (seTE)*
> *
> *
> data$seTE <- (log(data$upper_CI) - log(data$lower_CI)) / (2 * 1.96)
>
> *# Meta-analysis*
> *
> *
> meta_analysis <- metagen(TE = log(data$AOR),
> seTE = data$seTE,
> data = data,
> studlab = data$study_id,
> comb.fixed = TRUE,
> comb.random = TRUE)
>
> *I would like to know if this script is correct for achieving my goals of:*
>
> * Calculating the pooled AOR and the 95% confidence interval.
> *
> Calculating the I² and the p-value to assess heterogeneity.
>
> Look at the dataset:
>
> Any feedback or suggestions for improvement would be greatly appreciated!
>
> Thank you!
>
> *Sancho Xavier*
> Candidate for Postgraduate Programme in Epidemiology in Public Health
> MBA in Data Science and Analytics at USP (ongoing)
> *Linkedin:* linkedin.com/in/sancho-xavier-59565a18a
> *Orcid iD:* https://orcid.org/0000-0001-9493-4098
> *Web of Science (Clarivate):*
> https://www.webofscience.com/wos/author/record/GON-5675-2022
> <https://www.webofscience.com/wos/author/record/GON-5675-2022>
> *Reference Citation Analysis (RCA):
> *https://referencecitationanalysis.com/00001471
> <https://referencecitationanalysis.com/00001471>
> *Whatsapp: *+258 852255846
> ------------------------------------------------------------------------------
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> R-sig-meta-analysis mailing list @ R-sig-meta-analysis using r-project.org
> To manage your subscription to this mailing list, go to:
> https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
--
Michael
More information about the R-sig-meta-analysis
mailing list