MigraineSignal

How the pattern view is worked out

Counting, not prediction. Every line in the app shows the counts it's based on.

What gets compared

An attack day is a day you logged an attack starting. An attack-free day is a day you answered "No" in the daily check-in. Days with no answer are left out.

When it unlocks

Emerging patterns after 4 logged attacks; Established patterns after 8 attacks and 20 check-ins.

The rule for each factor

We count attack days with the factor out of attack days where it was recorded, and the same for attack-free days. A factor is listed as "shows up often on your attack days" only if: at least 4 attack days and 5 attack-free days have it recorded; it appears on at least 3 attack days; the attack-day share is at least 20 percentage points higher; and a one-sided Fisher's exact test gives p ≤ 0.1. The reverse rule gives "shows up often on your good days". Everything else is "no clear pattern" or "too little data".

Factor definitions

Patterns are counts from your own logs, shown with sample sizes. Correlation in your logs is not proof of cause. A diary supports your clinician; it never replaces them.