[R-meta] Is this R script correct for conducting a meta-analysis of AOR for hypertension prevalence?

Sancho Xavier @@nchox@v|erx@v|er @end|ng |rom gm@||@com
Sat Jul 27 01:18:28 CEST 2024


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:

[cid:2e2d451e-65c5-4537-bdf3-7bc8a0369305]
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
Reference Citation Analysis (RCA): https://referencecitationanalysis.com/00001471
Whatsapp: +258 852255846
------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20240726/b9651b9b/attachment.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9089 bytes
Desc: image.png
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20240726/b9651b9b/attachment.png>


More information about the R-sig-meta-analysis mailing list