Skip to contents

Thin wrapper over EValue::evalues.OLS() when EValue is installed and an outcome SD is supplied via the sd_y argument (recommended workflow per VanderWeele & Ding 2017). Without EValue, or when sd_y is left at its default of 1, falls back to the closed-form continuous-scale RR proxy used by the Python port so both ports stay numerically aligned.

Usage

e_value(ate, se, null = 0, sd_y = 1)

Arguments

ate

Point estimate of the treatment effect.

se

Standard error of the ATE (must be > 0).

null

Null value. Default 0.

sd_y

Outcome standard deviation. Default 1 (use the closed-form proxy). Pass the empirical sd to route through EValue::evalues.OLS() when installed.

Value

Scalar E-value (>= 1).