Adaptive TDEE
adaptive-tdeeMeasure actual TDEE from a logged history of daily weight and/or calorie intake. Default method (kalman) is a joint Kalman filter over true weight and TDEE — handles missing days, gates outliers, and reports uncertainty (CI95) alongside denoised true weight; regression/endpoints are simple window-based estimates kept for comparison. Use instead of formula TDEE once real logged data exists. Each entry needs at least one of weight/kcal (not necessarily both). Entry dates must span 10 years or less (earliest to latest). Note: all methods need at least one weigh-in (kalman) or two (regression/endpoints) — a history with zero weight entries throws under the kalman default; pass methods:'all' to get a graceful empty/skipped result instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| methods | No | kalman | |
| window_days | No | ||
| prior_tdee_kcal | No | Optional starting TDEE estimate, e.g. from the tdee tool; speeds early convergence. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| skipped | Yes | ||
| consensus | Yes |