Description Usage Arguments Details Value
View source: R/sig_precision_crude.R
This function takes training/test data and pairs generated via empirical control feature selection and builds a decision tree model. It also cross-validates to get an out-of-sample accuracy estimate
1 | sig_precision_crude(test_outcome, test_pred, test_covar)
|
test_outcome |
A vector of length n outcomes for the test/validation set. Currently only supports binary outcomes. |
test_pred |
Prediction vector of length n created using the decision tree model built by tsp_model_builder.R |
test_covar |
A n x p matrix of additional covariates to adjust for. (optional) |
This function approximates how much precision gain we might expect in a clinical trial setting if we adjused for predictions with our gene signature. We can optionally provide additional covariates and estimate how much additional gain we might observe if we include predictions from our model.
A crude approximation of the reduction in variance of a treatment effect estimator for the outcome of interest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.