Skip to contents

Runs 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 connectionDetails created using the function createConnectionDetails.

analysisSettings

An R object of type analysisSettings created using the function createAnalysisSettings.

databaseSettings

An R object of type databaseSettings created using the function createDatabaseSettings.

getDataSettings

An R object of type getDataSettings created using the function createGetDataSettings.

covariateSettings

An R object of type covariateSettings created using the function createCovariateSettings.

populationSettings

An R object of type populationSettings created using the function createPopulationSettings.

runSettings

An R object of type runSettings created using the function createRunSettings.

Value

The function saves all results based on analysisSettings. No results are returned.