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