run_meta: Run meta-analysis on a vector of log2 prevalence ratios.

View source: R/compare.R

run_metaR Documentation

Run meta-analysis on a vector of log2 prevalence ratios.

Description

Strategy: 1. Single study: Pass-Through (return as-is) 2. Try random-effects with Paule-Mandel tau 3. If RE fails: try fixed-effect 4. If both fail: return NULL

Usage

run_meta(te, se_te, studlab)

Arguments

te

Numeric vector of log2 prevalence ratios.

se_te

Numeric vector of standard errors (log2 scale).

studlab

Character/numeric vector of study labels.

Value

Named list with log2_pr, se, ci_low, ci_high, z, p_value, meta_model_type, tau2, I2, Q, pval_Q, lower_predict, upper_predict. NULL if meta-analysis fails.


syrona documentation built on Sept. 5, 2026, 1:06 a.m.