createSccsIntervalData()
functionCreate a parameter object for the createSccsIntervalData()
function
createCreateSccsIntervalDataArgs(
eraCovariateSettings,
ageCovariateSettings = NULL,
seasonalityCovariateSettings = NULL,
calendarTimeCovariateSettings = NULL,
minCasesForTimeCovariates = 10000,
endOfObservationEraLength = 30,
eventDependentObservation = FALSE
)
An object of type CreateSccsIntervalDataArgs
.
Either an object of type EraCovariateSettings
as created using the createEraCovariateSettings()
function, or a list of such objects.
An object of type AgeCovariateSettings
as created using the createAgeCovariateSettings()
function.
An object of type SeasonalityCovariateSettings
as created using the createSeasonalityCovariateSettings()
function.
An object of type CalendarTimeCovariateSettings
as created using the createCalendarTimeCovariateSettings()
function.
Minimum number of cases to use to fit age, season and calendar time splines. If needed (and available), cases that are not exposed will be included.
Length in days of the probe that is inserted at the end of a patient's observation time. This probe will be used to test whether there is event- dependent observation end. Set to 0 to not include the probe.
Should the extension proposed by Farrington et al. be used to adjust for event-dependent observation time?
Create an object defining the parameter values.
Farrington, C. P., Anaya-Izquierdo, A., Whitaker, H. J., Hocine, M.N., Douglas, I., and Smeeth, L. (2011). Self-Controlled case series analysis with event-dependent observation periods. Journal of the American Statistical Association 106 (494), 417-426