Learn R Programming

outstandR (version 1.0.0)

estimate_var_sandwich: Estimate Variance Sandwich Estimator

Description

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

Usage

estimate_var_sandwich(strategy, analysis_params, ...)

Value

Numeric variance estimate for the treatment contrast

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