Create a CohortMethod analysis specification
createCmAnalysis(
analysisId = 1,
description = "",
getDbCohortMethodDataArgs,
createStudyPopArgs,
createPsArgs = NULL,
trimByPsArgs = NULL,
trimByPsToEquipoiseArgs = NULL,
trimByIptwArgs = NULL,
truncateIptwArgs = NULL,
matchOnPsArgs = NULL,
matchOnPsAndCovariatesArgs = NULL,
stratifyByPsArgs = NULL,
stratifyByPsAndCovariatesArgs = NULL,
computeSharedCovariateBalanceArgs = NULL,
computeCovariateBalanceArgs = NULL,
fitOutcomeModelArgs = NULL
)
An integer that will be used later to refer to this specific set of analysis choices.
A short description of the analysis.
An object representing the arguments to be used when calling
the getDbCohortMethodData()
function.
An object representing the arguments to be used when calling
the createStudyPopulation()
function.
An object representing the arguments to be used when calling
the createPs()
function.
An object representing the arguments to be used when calling
the trimByPs()
function.
An object representing the arguments to be used when calling
the trimByPsToEquipoise()
function.
An object representing the arguments to be used when calling
the trimByIptw()
function.
An object representing the arguments to be used when calling
the truncateIptw()
function.
An object representing the arguments to be used when calling
the matchOnPs()
function.
An object representing the arguments to be used when calling
the matchOnPsAndCovariates()
function.
An object representing the arguments to be used when calling
the stratifyByPs()
function.
An object representing the arguments to be used when calling
the stratifyByPsAndCovariates()
function.
An object representing the arguments to be used when calling
the computeCovariateBalance()
function per target-comparator-analysis.
An object representing the arguments to be used when calling
the computeCovariateBalance()
function per target-comparator-outcome-analysis.
An object representing the arguments to be used when calling
the fitOutcomeModel()
function.
Create a set of analysis choices, to be used with the runCmAnalyses()
function.
Providing a NULL value for any of the argument applies the corresponding step will not be executed.
For example, if createPsArgs = NULL
, no propensity scores will be computed.