Create a parameter object for running the estimation step
createRunCmSettingsArgs.Rd
Create a parameter object for running the estimation step. This function is
used to create the computational part of the input of
createRunSettings
.
Usage
createRunCmSettingsArgs(
analyses,
psSettings = createCreatePsArgs(),
createPsThreads = 1,
fitOutcomeModelsThreads = 1,
balanceThreads = 1,
negativeControlThreads = 1,
runRiskStratifiedNcs = FALSE
)
Arguments
- analyses
A list of the analyses to run. Each element of the list can be creaeted using
createRunCmAnalysesArgs
createPs
- psSettings
The settings for estimating the propensity scores
- createPsThreads
The number of parallel threads for the estimation of the propensity scores. Default is 1.
- fitOutcomeModelsThreads
The number of parallel threads for the estimation of the outcome models.
- balanceThreads
The number of parallel threads for the estimation of covariate balance
- negativeControlThreads
The number of parallel threads for the negative control analyses
- runRiskStratifiedNcs
Should risk stratified negative control analyses be performed? Default is FALSE as it can take a very long time to complete.