Skip to content

Temporal parameter design decisions

BeckyW edited this page Jun 3, 2026 · 1 revision

Parameter Design Decisions

Why Parameter Choices Matter

TreeScan analyses require several design choices that define:

  • the time window examined
  • the data used for baseline comparison
  • how diagnoses are defined as new (incident)

These parameters strongly influence the stability and interpretability of the surveillance results.

To maintain consistency across jurisdictions, this project recommends a standardized set of parameter settings based on prior operational experience.


Maximum Temporal Window

The maximum temporal window defines the longest time period over which TreeScan will search for clusters.

In this project, the maximum temporal window is set to 28 days.

This allows the method to detect clusters that occur over periods ranging from 1 day up to 4 weeks.

This range captures both short-term spikes and more gradual increases in diagnoses.


Study Period Length

The study period refers to the time window in which clusters are evaluated.

In this project, the study period is set to 90 days.

A study period that is too long may introduce instability due to administrative changes in healthcare systems, such as:

  • hospitals adopting new diagnosis codes
  • changes in reporting practices
  • structural changes in healthcare systems

Using a relatively short study period helps ensure that baseline conditions remain comparable.


Relationship Between Study Period and Temporal Window

The study period must be sufficiently longer than the maximum temporal window to allow reliable comparisons.

A commonly used guideline is that the study period should be at least three times longer than the maximum temporal window.

In this project:

  • maximum temporal window = 28 days
  • study period = 90 days

This relationship helps maintain statistical power while preserving stability in the baseline comparison.


Incident Diagnoses

TreeScan analyzes incident diagnoses, meaning diagnoses that are newly observed for a patient during the study period.

This helps avoid repeatedly counting chronic conditions that may appear in multiple visits.

To determine whether a diagnosis is incident, the analysis must examine whether the patient had previously received the same diagnosis.


Why a One-Year Lookback Is Required

Because incident diagnoses must be identified, the analysis requires historical data prior to the study period.

A one-year lookback period is used to determine whether a diagnosis occurred previously for the same patient.

This ensures that diagnoses counted in the study period represent new occurrences rather than ongoing chronic conditions.


Why 15 Months of Data Are Pulled

The analysis therefore requires:

  • 12 months of historical data for incident diagnosis classification
  • 3 months of study data (90 days)

Together, this results in a total data pull of approximately 15 months of ED visit data.

Clone this wiki locally