Returns default thresholds for diagnostic tests following SCCS standards. Version 2.1.0+ uses revised diagnostics that align with SelfControlledCaseSeries package.

getDefaultDiagnosticThresholds()

Value

A list of diagnostic thresholds

Details

Thresholds:

  • mdrrMaxAcceptable - Maximum acceptable MDRR (default: 10.0). Higher values indicate low power.

  • maxPreExposureProportion - Maximum proportion of persons with pre-exposure outcomes (default: 0.05)

  • preExposurePThreshold - Significance threshold for pre-exposure gain test (default: 0.05)

  • maxEventDependentCensoring - Maximum proportion censored within 30 days of outcome (default: 0.25)

  • minEventsPerWindow - Minimum events required in each window (default: 3)

  • easeMaxAcceptable - Maximum acceptable EASE (default: 0.25). Requires negative controls.

Examples

# Get default thresholds
thresholds <- getDefaultDiagnosticThresholds()

# Modify specific thresholds
customThresholds <- getDefaultDiagnosticThresholds()
customThresholds$mdrrMaxAcceptable <- 5.0