estimate_scores {stratamatch} | R Documentation |
Estimate Prognostic Scores
Description
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.
Usage
estimate_scores(prognostic_model, analysis_set)
Arguments
prognostic_model |
Model of prognosis |
analysis_set |
data set on which prognostic scores should be estimated |
Value
vector of prognostic scores
[Package stratamatch version 0.1.9 Index]