Calculate propensity scores for a specific outcome
fitPsModel.RdFits a large-scale regularized regression model to estimate propensity scores within predicted risk strata. Designed to be applied in a parallelized analysis.
Usage
fitPsModel(
outcomeId,
initialPopulation,
runSettings,
getDataSettings,
populationSettings,
analysisSettings
)Arguments
- outcomeId
The outcome of interest for which the esitmation is performed. That is the outcome for which risk stratification is performed.
- initialPopulation
The initial population on the subset of which the propensity scores will be estimated.
- runSettings
An R object of type
runSettingscreated using the functioncreateRunSettings.- getDataSettings
An R object of type
getDataSettingscreated using the functioncreateGetDataSettings.- populationSettings
An R object of type
populationSettingscreated using the functioncreatePopulationSettings.- analysisSettings
An R object of type
analysisSettingscreated using the functioncreateAnalysisSettings.