dr_loo: Leave-one-out influence diagnostics

View source: R/diagnostics.R

dr_looR Documentation

Leave-one-out influence diagnostics

Description

Refits the model with each study omitted in turn and records how the location and scale estimates move. Both components are reported, because a study can be uninfluential for the pooled mean while dominating the scale gradient.

Usage

dr_loo(object)

Arguments

object

A fitted drmeta object.

Value

A data frame with one row per omitted study, containing the study index, its design-robustness value, the leave-one-out estimate of the first location coefficient and its change from the full fit, the leave-one-out tau0sq and gamma with their changes, a converged flag, and a logical influential column flagging changes in the first location coefficient exceeding twice its full-model standard error.

Examples

path <- system.file("extdata", "bcg_design_robustness.csv", package = "drmeta")
bcg <- utils::read.csv(path)
fit <- drmeta(yi = bcg[["yi"]], vi = bcg[["vi"]], dr = bcg[["dr"]])
dr_loo(fit)

drmeta documentation built on Aug. 25, 2026, 1:08 a.m.