sensitivity_reference: Sensitivity of the LTG-SMD to the choice of target reference

View source: R/denominator_sensitivity.R

sensitivity_referenceR Documentation

Sensitivity of the LTG-SMD to the choice of target reference

Description

Recomputes the LTG-SMD under each of several user-supplied alternative reference data frames. Useful when more than one target reference is defensible (Section 8.3 of the companion paper).

Usage

sensitivity_reference(
  object,
  alternative_references,
  study_data,
  group_var,
  score_var = NULL,
  items = NULL,
  group_levels = NULL,
  rho_external = NULL
)

Arguments

object

An "ltg_smd" object computed with a primary reference.

alternative_references

A named list of reference data frames. Names are used as labels in the output.

study_data

Original study data (required to recompute).

group_var, score_var, items, group_levels, rho_external

Arguments to pass through to compute_ltg_smd().

Value

A data frame with columns reference, ltg_smd, c_focal, c_reference, rho_focal, rho_reference, including the primary reference in the first row.


ltgsmd documentation built on Sept. 27, 2026, 5:07 p.m.