scoresurv | R Documentation |
Based on intxsurv results of the CATE coefficients estimated with random forest, boosting, naive Poisson, two regression, contrast regression
scoresurv(
fit,
x.cate,
tau0,
score.method = c("randomForest", "boosting", "poisson", "twoReg", "contrastReg")
)
fit |
List of objects generated from intxsurv: outputs of random forest, boosting, naive Poisson, two regression, contrast regression |
x.cate |
Matrix of |
tau0 |
The truncation time for defining restricted mean time lost. |
score.method |
A vector of one or multiple methods to estimate the CATE score.
Allowed values are: |
score.randomForest: Estimated log CATE score for all n
observations with the random forest method; vector of size n
score.boosting: Estimated log CATE score for all n
observations with the boosting method; vector of size n
score.poisson: Estimated log CATE score for all n
observations with the naive Poisson method; vector of size n
score.twoReg: Estimated log CATE score for all n
observations with the two regression method; vector of size n
score.contrastReg: Estimated log CATE score for all n
observations with the contrast regression method; vector of size n
score = NA if the corresponding method is not called
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.