Skip to contents

Fits a large-scale regularized regression model to estimate propensity scores within predicted risk strata. Designed to be applied in a parallelized analysis.

Usage

fitPsModelOverall(
  outcomeId,
  initialPopulation,
  getDataSettings,
  populationSettings,
  analysisSettings,
  runCmSettings,
  isNegativeControl = FALSE
)

Arguments

outcomeId

The outcome of interest for which the risk stratification is performed.

initialPopulation

The reference population object, usually defined by joining the cohorts fo the plpData and cohortMethodData objects.

getDataSettings

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

populationSettings

An R object of type covariateSettings created using the function createPopulationSettings

analysisSettings

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

runCmSettings

A parameter object of type runCmSettingsArgs defined using the function createRunCmSettingsArgs

isNegativeControl

Is the analysis performed for a negative control?

Value

NULL. The results are all saved.