est_samp {txshift} | R Documentation |
Estimate Probability of Censoring by Two-Phase Sampling
Description
Estimate Probability of Censoring by Two-Phase Sampling
Usage
est_samp(V, C_samp, fit_type = c("sl", "glm"), sl_learners = NULL)
Arguments
V |
A |
C_samp |
A |
fit_type |
A |
sl_learners |
An sl3 |
Details
Compute estimates of the sampling probability for inclusion in the the second-phase via the two-phase sampling mechanism. These estimates are used for the creation of inverse probability weights.
Value
A numeric
vector of the estimated sampling mechanism.