E-values for the EValue dispatch family (extender)
Source:R/sensitivity.R
morie_sensitivity_evalue.RdThin interface to the EValue dispatch family
(evalues.OLS, evalues.RR, evalues.OR,
evalues.HR, evalues.MD), exposed under the
morie_sensitivity_* namespace so MRM / paper callers can
reach the full EValue surface without loading EValue
directly. Pairs with e_value_rr /
e_value_or / e_value_hr /
e_value_d, which are the typed convenience
wrappers around the same backend.
Usage
morie_sensitivity_evalue(
estimate,
se = NULL,
sd = NULL,
type = c("OLS", "RR", "OR", "HR", "MD"),
rare = TRUE,
true = NULL,
ci_lower = NULL,
ci_upper = NULL,
...
)Arguments
- estimate
Observed effect on the requested scale.
- se
Standard error of
estimate(used by"OLS"and"MD").- sd
Outcome standard deviation (required by
"OLS").- type
One of
"OLS"(default),"RR","OR","HR","MD".- rare
Logical; only relevant for
"OR"and"HR"(passed to EValue). DefaultTRUE(rare-outcome approximation).- true
Reference value on the appropriate scale (default 0 for OLS / MD, 1 for ratio scales).
- ci_lower, ci_upper
Optional 95% CI on the same scale as
estimate.- ...
Additional arguments forwarded to the underlying
EValue::evalues.*function.