Closed sancho2023 closed 4 months ago
Dear @sancho2023, this is not a support forum, but a place to report potential bugs or discuss/suggest feature enhancements to the package. As the issue template explains, general questions about the package should be posted to the R-sig-meta-analysis mailing list.
Question:
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:
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)
Meta-analysis results
summary(meta_analysis)
I would like to know if this script is correct for achieving my goals of:
Additionally, I am wondering about the necessity of using the log transformation in this context. Could someone explain why the logarithm of the AOR and confidence intervals is used in these calculations?
Any feedback or suggestions for improvement would be greatly appreciated!
Thank you!