Guides · Patterns and triggers

How long do you need to track before a pattern means anything?

Short answerAbout a month for counts and averages, and about two months before a link between a symptom and something else, such as sleep, the weather or a food, means much. In a shorter record, day-to-day noise and the sheer number of possible comparisons dominate. Until then, treat a pattern as a hypothesis to watch, not a finding.

Why do short records mislead?

Most symptoms go up and down from one day to the next, often for no clear reason. In a two-week record, one bad weekend is a quarter of your evidence, so the averages and counts shift whenever a single day changes. By about four weeks that noise has mostly settled. Separately, for headaches, the NICE guideline suggests keeping a diary for about eight weeks (NICE CG150).

The other trouble with a short record is the number of questions you put to it. Track one symptom and ten things around it and you are already asking about fifty: is it worse after short sleep? After coffee? On Mondays? The day after rain? Put fifty questions to random numbers and a few will come back looking like answers. This is called the multiple-comparisons problem, and a standard fix is to ask for stronger evidence the more questions you ask (Benjamini & Hochberg, 1995).

How many days for what?

Question Days needed, roughly Why
How often does it happen? 30 Weekly rhythms need several cycles
How bad is it on average? 30 Single days stop moving the average
Is this month better than last? 60 You need two comparable months
Is it linked to sleep, weather, a food? 60, with enough of both The “with” and “without” days each need weight
Did a change in treatment make a difference? 30 before and 30 after Otherwise you compare a bad week with a good one

A pattern isn’t false on day 29 and true on day 30. The numbers mark roughly where chance stops dominating the record.

There are four checks, and none of them needs statistics.

  • Enough days on both sides. “Worse after late nights” based on four late nights tells you nothing yet. Longnote counts a link as a pattern or early sign only once each side has at least five days; with three or four on one side it is labelled a hint, and with fewer it isn’t shown.
  • It holds when the timing shifts. A real next-day effect shouldn’t vanish on the same day and reappear two days later. If a link only shows at one convenient delay, treat it with caution and check the neighbouring day. Some real effects do belong to one delay, though, so don’t drop a link for this alone.
  • It survives the number of comparisons. The more factors your diary has, the stronger a single link has to be before it’s worth believing.
  • It repeats next month, which is the most convincing of the four.

What can you do with an incomplete record?

Counts are useful well before correlations are. “Nine headache days in thirty, average 5 of 10, mostly left-sided, three of them with nausea” is something to take to an appointment, and it doesn’t need a pattern at all.

So keep logging the plain facts, keep your hypotheses in a separate note, and let the record catch up with them.

How does Longnote grade its own statements?

Longnote sorts what it says into four standings, and Highlights shows three of them as labels.

An observation is a fact about one series, such as a tracker, a Health series or the weather in your home region. It’s a count of your own data, so it can’t be wrong the way a link can. A hint is a possible link with only three or four days on one side; it appears in the browsing lists with both day counts (“Hint · 3 days with, 40 without”), and in Highlights only in a seat nothing stronger took, never in the report. An early sign is a possible link that isn’t confirmed, worded as a hunch with a count: “Fatigue was worse than usual on 4 of 6 days you drank more alcohol than usual”. Highlights shows at most one, and only while the two things have fewer than 60 days logged together.

A pattern needs at least 30 days with both things logged and has to pass a false-discovery check across every comparison Longnote made, at a rate of one in ten. The check runs over the last year of your data, and the link must still point the same way in the range on screen. Under 30 days a link that looks strong is only called moderate, so a strong-looking link on 12 days is never labelled strong. The rankings list and the Compare sheet add an evidence word: limited data, fair evidence or good evidence.

None of this turns a pattern into a cause, and the line under every Highlights row says so: “Patterns are associations, not causes.” Nor is the grading perfect. The standings came in on 1 October. Before that change, in one test run on synthetic data with planted effects at the end of September, every one of Longnote’s own 30-day Highlights was false. On that kind of test data, at 90 days, the pattern check lets through about one false link in five, where the old single bar let through about three in five. There is more in the blog post on how Highlights decide what to say.

Sources

  1. Controlling the false discovery rate: a practical and powerful approach to multiple testing · Benjamini & Hochberg, Journal of the Royal Statistical Society B, 1995
  2. Headaches in over 12s: diagnosis and management (CG150) · National Institute for Health and Care Excellence, 2021
  3. Ecological momentary assessment · Shiffman, Stone & Hufford, Annual Review of Clinical Psychology, 2008

In Longnote

About this guide

Longnote is a self-tracking tool, not a medical device. It doesn't diagnose or recommend treatment — patterns are associations in your own log. Talk to a clinician about anything that worries you.