causalfrag 0.2.0
New
crosswalk() reports the point and inference Robustness
Values, the conditional ITCV and the RIR percentage computed from the
focal |t| and residual degrees of freedom, states that their agreement
is largely fixed by that shared input, and flags the boundary band in
which ITCV and RIR are positive while the inference Robustness Value is
still zero. Methods for lm fits, sens_results
objects and a bare t statistic.
run_sensitivity() attaches the crosswalk to
sens_results objects built from lm fits;
print() and generate_report() display it.
Deprecated
- The Causal Fragility Index (
compute_cfi(),
compute_cfi_weighted(),
compute_cfi_benchmarked(), compare_cfi(),
print_cfi()) is deprecated and will be removed in a future
release. Under OLS, most of its components are functions of the same |t|
and degrees of freedom, so the composite counted the same test
information several times. flag_fragility() no longer
computes it automatically.
Breaking changes
sens_report() is renamed
fragility_report() so that it no longer masks
confoundvis::sens_report() when both packages are
attached.
Bug fixes
- The konfound call in
run_sensitivity() now passes
nobs(model) and the number of model-matrix columns, so the
residual degrees of freedom match the fitted model when factors or
missing values are present.
causalfrag 0.1.0
- Initial CRAN submission.
- Introduces the Causal Fragility Index (CFI): a 0-100 composite score
integrating sensitivity evidence across frameworks.
run_sensitivity() – unified dispatch to sensemakr,
EValue, konfound.
flag_fragility() – five-level fragility classification,
auto-computes CFI.
compute_cfi() / print_cfi() – CFI scoring
and display.
interpret_sensitivity() – concise template-based
narrative interpretation.
generate_report() – structured markdown/text report
with CFI section.
visualize_sensitivity() – sensitivity plot
integration.
sens_results S3 class for unified output across all
functions.