Skip to contents

Computes the robust (sandwich) variance estimator for the treatment effect.

Usage

estimate_var_sandwich(strategy, analysis_params, ...)

Arguments

strategy

An object of class strategy created by functions such as strategy_maic(), strategy_stc(), or strategy_mim(). Contains modelling details like the formula and family.

analysis_params

List of analysis parameters (ipd, ald, etc.)

...

Additional arguments

Value

Numeric variance estimate for the treatment contrast