Description Format Value Methods Public fields Methods Examples
updating the hazard using constrained step size update
R6Class object.
Object of R6Class with methods
iterate_onestep update the initial estimator
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
g1Wpropensity score
A_intervenethe intervention of interest
k_gridvector of interested time points
new()MOSS_hazard$new( A, T_tilde, Delta, density_failure, density_censor, g1W, A_intervene = NULL, k_grid = NULL )
create_dNt()MOSS_hazard$create_dNt()
construct_long_data()MOSS_hazard$construct_long_data( A_intervene, density_failure, density_censor, which_A = "obs" )
fit_epsilon()MOSS_hazard$fit_epsilon(method = "l2", clipping = Inf)
compute_mean_eic()MOSS_hazard$compute_mean_eic(psi_n, k_grid)
iterate_onestep()MOSS_hazard$iterate_onestep( method = "l2", epsilon = 1, max_num_interation = 100, tmle_tolerance = NULL, verbose = FALSE )
clone()The objects of this class are cloneable with this method.
MOSS_hazard$clone(deep = FALSE)
deepWhether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 | MOSS_hazard$new(
A,
T_tilde,
Delta,
density_failure,
density_censor,
g1W,
A_intervene = 1,
k_grid = 1:max(T_tilde)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.