Description Usage Arguments Details Value
View source: R/fit_mechanisms.R
Estimate the Censoring Mechanism
1 2 3 4 5 6 7 8 9 | est_g_cens(
C_cens,
A,
W,
samp_weights = rep(1, length(C_cens)),
fit_type = c("sl", "glm"),
glm_formula = "C_cens ~ .",
sl_learners = NULL
)
|
C_cens |
A |
A |
A |
W |
A |
samp_weights |
A |
fit_type |
A |
glm_formula |
A |
sl_learners |
Object containing a set of instantiated learners from the sl3, to be used in fitting an ensemble model. |
Compute the censoring mechanism for the observed data, in order to apply a joint intervention for removing censoring by re-weighting.
A numeric
vector of the propensity score for censoring.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.