rolling_stats
Calculate rolling-window statistics on a time series, including mean, standard deviation, min, max, and median, over a specified window size.
Instructions
Rolling-window statistics with an evenly spaced preview per stat.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"series_id": "<series_id>",
"window": "<window>"
},
"name": "rolling_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Which rolling statistics to compute. | |
| window | Yes | Window size in observations. | |
| series_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | Yes | ||
| window | Yes | ||
| series_id | Yes |