View source: R/auto_stratify.R
estimate_scores | R Documentation |
Tries to make prognostic scores. If successfull, returns them, otherwise throws an error message. Common failure mode is that the prognostic score is built on some categorical variable that takes on some values in the analysis set that are never seen in the pilot set. Outputs are on the response scale, (rather than the linear predictor), so the score is the expected value of the outcome under the control assignement based on the observed covariates.
estimate_scores(prognostic_model, analysis_set)
prognostic_model |
Model of prognosis |
analysis_set |
data set on which prognostic scores should be estimated |
vector of prognostic scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.