Classifies each subject's pre-to-post change with the two-criterion responder
framework (Beaton 2001; de Vet 2006): a change is cross-tabulated on whether
it exceeds the Minimal Detectable Change (is it real, above measurement
error?) and the Minimal Clinically Important Difference (is it clinically
meaningful?), giving four categories — true_responder (exceeds both),
subclinical_change (real but below MCID), measurement_error
(claims MCID but within noise, only when MCID < MDC) and
non_responder. Vectorized over subjects and direction-aware.
Arguments
- baseline, followup
Numeric vectors of pre / post scores (one per subject).
- instrument, population
Optional instrument / population used to look up
mdc/mcidfrom the clinimetric store when they are not given.- mdc, mcid
Optional explicit MDC / MCID thresholds (positive); override the store lookup.
- direction
"increase"(default) if higher is better, or"decrease"if lower is better.- object
A
"responder_classification".- ...
Unused.
Value
A "responder_classification" data.frame with the change,
the direction-aware improvement, the MDC/MCID crossing flags and the
four-level classification factor. A subject with a missing
baseline/followup gets NA flags and classification
(missing, not assumed a non-responder); summary() counts it.
summary returns the MDC x MCID contingency table.