compute_etau: Survival Effect Estimation with Weibull Censoring Scores

View source: R/A01-estimator-weibull.R

compute_etauR Documentation

Survival Effect Estimation with Weibull Censoring Scores

Description

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

Usage

compute_etau(
  estimand,
  method,
  ps_matrix,
  n_levels,
  att_group = NULL,
  treatment_levels = NULL
)

Arguments

estimand

Estimand type ("ATE", "ATT", or for overlap).

method

Method ("IPW" or "overlap").

ps_matrix

Propensity score matrix [n x J].

n_levels

Number of treatment levels.

att_group

Target group for ATT (if applicable).

treatment_levels

Vector of treatment levels.

Value

Numeric scalar Etau.


PSsurvival documentation built on Dec. 9, 2025, 9:07 a.m.