Compare two periods against the noise
oura_compareCompare two date ranges for any Oura metric and know whether the difference is real or just normal daily noise, using 120 days of personal baseline to classify it as within or outside noise.
Instructions
Is the difference between two periods larger than this metric's own noise?
THE ONE CALCULATION THIS SERVER MAKES, and it comes with its method. «Your
HRV is up 12%» is a number without one: daily metrics swing on their own,
and a good night tends to follow a good night, so a textbook comparison
calls noise a change about a third of the time. This one measures how much
the metric moves on its own from the person's preceding 120 days, and
answers within_noise, outside_noise, or cannot_tell when it has too
little to know. «within noise» is not «no change»: with those days, a real
change smaller than noise_band is missed more often than seen.
Today is left out — it is still accumulating. It says whether the level differs, never why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_end | Yes | First period, YYYY-MM-DD, inclusive | |
| b_end | Yes | Second period, YYYY-MM-DD, inclusive | |
| metric | Yes | `collection.field`, e.g. `daily_readiness.score`, `sleep.average_hrv`, `daily_activity.steps`, `daily_readiness.contributors.hrv_balance`. Daily collections and `sleep` only. | |
| a_start | Yes | First period, YYYY-MM-DD | |
| b_start | Yes | Second period, YYYY-MM-DD |