Create predictive probabilities
predictProbabilities(predictiveModel, population, covariateData)
An object of type predictiveModel
as generated using
fitPlp
.
The population to calculate the prediction for
The covariateData containing the covariates for the population
The value column in the result data.frame is: logistic: probabilities of the outcome, poisson: Poisson rate (per day) of the outome, survival: hazard rate (per day) of the outcome.
Generates predictions for the population specified in plpData given the model.