Start with a worked example
Open the worked example for Time-series summary. The example starts with Trailing moving-average window = 3.
Time Series Calculator formula
Trend is OLS of y on t=1…n; lag-1 autocorrelation uses centered adjacent products divided by total centered sum of squares; forecast is the mean of the last selected window.
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| Time-series values | Follow the input format above | 10,12,14,16,18,20,22,24 |
| Trailing moving-average window | Whole number, min 1, max 1000 | 3 |
Worked example
The values listed in Inputs and units give Mean 17; trend 2/period for Time-series summary.
- Time-series summary
- Mean 17; trend 2/period
- Mean
- 17
- Linear trend per period
- 2
- Lag-1 autocorrelation
- 0.625
- 3-period moving-average forecast
- 22
Results and assumptions
Descriptive summary only; the moving-average value is a simple one-step forecast and does not model seasonality or structural breaks.
Fix an input or unexpected result
Trailing moving-average window is required. Enter trailing moving-average window using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.
