Calculate propensity scores for a specific outcome
fitPsModelOverall.Rd
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 functioncreateGetDataSettings
.- populationSettings
An R object of type
covariateSettings
created using the functioncreatePopulationSettings
- analysisSettings
An R object of type
analysisSettings
created using the functioncreateAnalysisSettings
.- runCmSettings
A parameter object of type
runCmSettingsArgs
defined using the functioncreateRunCmSettingsArgs
- isNegativeControl
Is the analysis performed for a negative control?