Learn R Programming

PSsurvival (version 0.2.0)

compute_etau: 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
)

Value

Numeric scalar Etau.

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.