Publication bias occurs when studies with statistically significant or large effects are more likely to be published than null or small-effect studies, causing the pooled estimate to be inflated. The pipeline assesses this risk at three levels: visual inspection with contour-enhanced funnel plots, asymmetry testing with Doi plots, and formal adjustment with the Copas selection model. All three approaches are applied to the overall dataset and to each predefined subgroup.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/namakala/inappropriate-acid-suppressor-agent-use/llms.txt
Use this file to discover all available pages before exploring further.
Why assess publication bias
Small-study effects — a pattern where smaller studies report larger effects — are the most common empirical signal of publication bias. When many small studies with high prevalence estimates are published but comparable studies with low estimates go unreported, the pooled prevalence will be biased upward. Detecting and adjusting for this bias is especially important in prevalence meta-analyses, where the literature may be dominated by studies conducted in high-prevalence settings that are more likely to attract attention and reach publication.Contour-enhanced funnel plots
ThevizFunnel() function generates contour-enhanced funnel plots for each model. Internally it calls meta::funnel() with type = "contour", common = TRUE, and random = TRUE, overlaying significance contours at conventional thresholds (p < 0.01, 0.05, 0.10). The plot displays each study’s effect estimate against a measure of its precision (standard error).
Asymmetry in the funnel — a gap in one corner of the plot — suggests that studies of a particular size and direction are missing from the literature. Contour shading helps distinguish asymmetry driven by publication bias (missing studies tend to fall outside significance contours) from other small-study effects (missing studies fall inside contours).
Doi plots
The pipeline prefers Doi plots over standard funnel plots for formal asymmetry assessment because funnel plots are susceptible to subjective visual interpretation. A Doi plot re-expresses each study’s contribution as a function of its absolute normal deviate (LFK index), making asymmetry easier to quantify and reducing analyst-dependent judgment. Doi plots are generated withmetasens::doiplot():
Copas selection model
The Copas selection model provides a formal adjustment for publication bias by jointly modeling the effect sizes and the probability that each study was published. Publication probability is treated as a function of the study’s standard error and a selection parameter; the model traces how the pooled estimate changes as increasingly strict selection is assumed, letting you evaluate how sensitive conclusions are to potential bias. TheapplyCopas() function in src/R/meta-analysis.R wraps metasens::copas():
- A fitted
metaobject — callsmetasens::copas()directly withbacktransf = TRUEso results are reported on the original probability scale. - A data frame with no
varname— fits the overall meta-analysis first, then applies Copas. - A data frame with a
varname— splits the data into per-group subsets, fits a separate meta-analysis for each group, and returns a list of Copas objects.
Accessing Copas results
plot() produces a panel of diagnostics: the contour plot of the selection parameter space, the adjusted pooled estimate as a function of the selection parameter, and a test for residual selection bias. summary() prints the adjusted estimate alongside the unadjusted estimate for direct comparison.
For subgroup Copas objects (which are lists), iterate over the list:
Interpreting the Copas model
The key question is whether the Copas-adjusted estimate differs meaningfully from the unadjusted pooled estimate. A large divergence — especially if the adjusted estimate is substantially lower — indicates that publication bias may be inflating the pooled prevalence. Conversely, if the adjusted estimate tracks the unadjusted estimate across the full range of selection parameters and the test for residual selection bias is non-significant, publication bias is unlikely to materially influence the conclusions. In this pipeline’s analysis, Copas-adjusted estimates for the overall dataset and most subgroups closely matched their unadjusted counterparts, supporting the robustness of the pooled prevalence findings.References
- Copas selection model: Copas, J. B., & Shi, J. Q. (2001). A sensitivity analysis for publication bias in systematic reviews. Statistical Methods in Medical Research, 10(4), 251–265. doi:10.1177/096228020101000402
- Copas model evaluation (preferability over trim-and-fill): Moreno, S. G., et al. (2009). Empirical evaluation suggests Copas selection model preferable to trim-and-fill method for selection bias in meta-analysis. Journal of Clinical Epidemiology, 62(5), 1234–1241. doi:10.1016/j.jclinepi.2008.10.010
- Doi plot recommendation: Furuya-Kanamori, L., et al. (2025). Examining and interpreting Doi plot asymmetry in meta-analyses of randomized controlled trials. Journal of Evidence-Based Medicine. doi:10.1111/jebm.70063
