Description Format Value Methods Super class Public fields Active bindings Methods Examples
updating the hazard using constrained step size update
R6Class
object.
Object of R6Class
with methods
iterate_onestep update the initial estimator
MOSS::MOSS_hazard
-> MOSS_hazard_ate
A
vector of treatment
T_tilde
vector of last follow up time
Delta
vector of censoring indicator
density_failure
survival_curve object of predicted counterfactual survival curve
density_censor
survival_curve object of predicted counterfactual failure event survival curve
density_failure_0
survival_curve object of predicted counterfactual survival curve 0
density_censor_0
survival_curve object of predicted counterfactual failure event survival curve 0
g1W
propensity score
k_grid
vector of interested time points
A
vector of treatment
T_tilde
vector of last follow up time
Delta
vector of censoring indicator
density_failure
survival_curve object of predicted counterfactual survival curve
density_censor
survival_curve object of predicted counterfactual failure event survival curve
g1W
propensity score
k_grid
vector of interested time points
new()
MOSS_hazard_ate$new(density_failure_0, density_censor_0, ...)
fit_epsilon()
MOSS_hazard_ate$fit_epsilon(method = "l2", clipping = Inf)
compute_mean_eic()
MOSS_hazard_ate$compute_mean_eic(psi_n, k_grid)
iterate_onestep()
MOSS_hazard_ate$iterate_onestep( method = "l2", epsilon = 0.01, max_num_interation = 100, tmle_tolerance = NULL, verbose = FALSE )
clone()
The objects of this class are cloneable with this method.
MOSS_hazard_ate$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.