R/moss_ate.R
MOSS_hazard_ate.Rdupdating the hazard using constrained step size update
MOSS_hazard_ate
R6Class object.
Object of R6Class with methods
Avector of treatment
T_tildevector of last follow up time
Deltavector of censoring indicator
density_failuresurvival_curve object of predicted counterfactual survival curve
density_censorsurvival_curve object of predicted counterfactual failure event survival curve
density_failure_0survival_curve object of predicted counterfactual survival curve 0
density_censor_0survival_curve object of predicted counterfactual failure event survival curve 0
g1Wpropensity score
k_gridvector of interested time points
iterate_onestep update the initial estimator
MOSS_hazard_ate$new( A, T_tilde, Delta, density_failure, density_censor, density_failure_0, density_censor_0, g1W, A_intervene = 1, k_grid = 1:max(T_tilde) )#> Error in super$initialize(...): object 'Delta' not found