Skip to contents

Thin interface to tipr::tip: returns the minimum value of the standardised mean difference (smd) or partial R-squared (R2) of an unmeasured confounder that would tip the lower (or upper) bound of the confidence interval back to the null. Pairs with tipping_point_analysis, which targets missing-data sensitivity rather than unmeasured-confounder sensitivity.

Usage

morie_sensitivity_tipping_point(estimate, smd = NULL, r2 = NULL, ...)

Arguments

estimate

Observed treatment effect on the coefficient scale.

smd

Hypothesised standardised mean difference of the unmeasured confounder between treatment groups.

r2

Hypothesised partial R-squared of the unmeasured confounder with the outcome. Forwarded as the r_squared tipr argument.

...

Additional arguments forwarded to tipr::tip (e.g. outcome_type, confidence).

Value

A list of class morie_sensitivity_tipping_point with the tipped point estimate and the raw tipr object.

References

D'Agostino McGowan, L. (2022). tipr: An R package for sensitivity analyses for unmeasured confounders. Journal of Open Source Software, 7(77), 4495.