compare_periods
Compare two Samsung Health periods to get mean, median, delta percent, Cohen's d, and a plain verdict per metric. Excludes travel days by default for fair analysis.
Instructions
Compare two periods. Either names from set_periods (defaults: the first two), or ad hoc ranges a_range/b_range like "2025-03-01..2025-03-31" (period_a/period_b then become their labels). Returns mean/median/n per period, delta %, Cohen's d and a plain verdict per metric. Travel days excluded by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_range | No | ||
| b_range | No | ||
| metrics | No | ||
| period_a | No | ||
| period_b | No | ||
| home_only | No |