Sandwich variance for the AIPW-lambda estimator
var_beta_aipw_lambda.RdComputes a sandwich variance estimator for the AIPW-lambda estimator under outcome-dependent right-censoring of a covariate, using the closed-form augmentation and accounting for estimation of the censoring model \(C | (Y, Z)\) via a Gumbel/Weibull AFT model.
Arguments
- data_yXZ
Data frame containing at least:
y: outcome,A: auxiliary covariate,AW:A - X(used in the outcome model),W: observedW = min(X, C),D: indicatorI(X <= C),Z: covariate in the outcome and censoring models,myp_ywz: weights \(\pi(Y, W, Z)\) from AFT model (for IPW).
- mytheta
Numeric vector
c(beta0, beta1, beta2, psi)corresponding to the AIPW-lambda point estimates fromestimate_beta_aipw_lambda_close().