sensitivity_meditcv_profile: medITCV Robustness Profile: Pathway-Specific Fragility...

View source: R/meditcv.R

sensitivity_meditcv_profileR Documentation

medITCV Robustness Profile: Pathway-Specific Fragility Framework

Description

Implements the medITCV robustness profile, a formal extension of Frank's ITCV to causal mediation. Computes pathway-specific fragility thresholds, applies the minimum robustness principle, and identifies the bottleneck pathway that governs indirect-effect fragility.

Usage

sensitivity_meditcv_profile(
  x,
  alpha = 0.05,
  delta_grid = seq(0, 0.5, by = 0.01)
)

Arguments

x

A robmedfit object.

alpha

Significance level. Default 0.05.

delta_grid

Numeric vector of confounding impact values over which the robustness profile is evaluated. Default seq(0, 0.5, by = 0.01).

Value

An object of class "meditcv_profile": a named list with elements a_path, b_path, meditcv_indirect, bottleneck, robustness_profile, fragility_ratio, meditcv_detail, and alpha.

References

Frank, K. A. (2000). Impact of a confounding variable on a regression coefficient. Sociological Methods & Research, 29(2), 147–194.

See Also

sensitivity_meditcv(), plot_meditcv_profile(), sensitivity_curvature()

Examples


data(sim_mediation)
  fit <- robustmediate(
    X ~ Z1 + Z2, M ~ X + Z1 + Z2, Y ~ X + M + Z1 + Z2,
    data = sim_mediation, R = 20, verbose = FALSE
  )
mp  <- sensitivity_meditcv_profile(fit)
print(mp)
plot_meditcv_profile(mp)



RobustMediate documentation built on April 16, 2026, 5:08 p.m.