predictProbabilities: Create predictive probabilities

Description Usage Arguments Details Value

View source: R/Predict.R

Description

Create predictive probabilities

Usage

1
predictProbabilities(predictiveModel, population, covariateData)

Arguments

predictiveModel

An object of type predictiveModel as generated using fitPlp.

population

The population to calculate the prediction for

covariates

The covariate part of PlpData containing the covariates for the population

Details

Generates predictions for the population specified in plpData given the model.

Value

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.


ted9219/CoDImputationOnlyDeathPop documentation built on Sept. 15, 2020, 11:30 a.m.