Implements Estimator I (AJE 2022, Eq. 2) combining propensity score weighting and inverse probability of censoring weighting to estimate counterfactual survival functions and treatment effects. Compute Etau Normalization Constant
compute_etau(
estimand,
method,
ps_matrix,
n_levels,
att_group = NULL,
treatment_levels = NULL
)Numeric scalar Etau.
Estimand type ("ATE", "ATT", or for overlap).
Method ("IPW" or "overlap").
Propensity score matrix [n x J].
Number of treatment levels.
Target group for ATT (if applicable).
Vector of treatment levels.