Runs a risk stratified analysis
runRiskStratifiedEstimation.RdRuns a risk stratified analysis in two stages. It first runs a prediction algorithm using
PatientLevelPrediction to derive baseline patient risks and then derives estimates
within risk strata incorporating functionality from CohortMethod package.
Usage
runRiskStratifiedEstimation(
connectionDetails,
analysisSettings,
databaseSettings,
getDataSettings,
covariateSettings,
populationSettings,
runSettings
)Arguments
- connectionDetails
An R object of type
connectionDetailscreated using the functioncreateConnectionDetails.- analysisSettings
An R object of type
analysisSettingscreated using the functioncreateAnalysisSettings.- databaseSettings
An R object of type
databaseSettingscreated using the functioncreateDatabaseSettings.- getDataSettings
An R object of type
getDataSettingscreated using the functioncreateGetDataSettings.- covariateSettings
An R object of type
covariateSettingscreated using the functioncreateCovariateSettings.- populationSettings
An R object of type
populationSettingscreated using the functioncreatePopulationSettings.- runSettings
An R object of type
runSettingscreated using the functioncreateRunSettings.