create the study population settings
createStudyPopulationSettings(binary = T, includeAllOutcomes = T,
firstExposureOnly = FALSE, washoutPeriod = 0,
removeSubjectsWithPriorOutcome = TRUE, priorOutcomeLookback = 99999,
requireTimeAtRisk = T, minTimeAtRisk = 364, riskWindowStart = 1,
addExposureDaysToStart = FALSE, riskWindowEnd = 365,
addExposureDaysToEnd = F, verbosity = "INFO")
Forces the outcomeCount to be 0 or 1 (use for binary prediction problems)
(binary) indicating whether to include people with outcomes who are not observed for the whole at risk period
Should only the first exposure per subject be included? Note that
this is typically done in the createStudyPopulation
function,
The mininum required continuous observation time prior to index date for a person to be included in the cohort.
Remove subjects that have the outcome prior to the risk window start?
How many days should we look back when identifying prior outcomes?
Should subject without time at risk be removed?
The minimum number of days at risk required to be included
The start of the risk window (in days) relative to the index date (+
days of exposure if the addExposureDaysToStart
parameter is
specified).
Add the length of exposure the start of the risk window?
The end of the risk window (in days) relative to the index data (+
days of exposure if the addExposureDaysToEnd
parameter is
specified).
Add the length of exposure the risk window?
Sets the level of the verbosity. If the log level is at or higher in priority than the logger threshold, a message will print. The levels are:
DEBUGHighest verbosity showing all debug statements
TRACEShowing information about start and end of steps
INFOShow informative information (Default)
WARNShow warning messages
ERRORShow error messages
FATALBe silent except for fatal errors
#'
A list containing all the settings required for creating the study population
Takes as input the inputs to create study population