Calculate propensity scores for a specific outcome
fitPsModel.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
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
runSettings
created using the functioncreateRunSettings
.- getDataSettings
An R object of type
getDataSettings
created using the functioncreateGetDataSettings
.- populationSettings
An R object of type
populationSettings
created using the functioncreatePopulationSettings
.- analysisSettings
An R object of type
analysisSettings
created using the functioncreateAnalysisSettings
.