JESUS CHRIST IS THE ONLY TRUE GOD
Statistics calculator

Time Series Calculator

Calculate descriptive time-series mean, linear trend, lag-1 autocorrelation, and trailing moving-average forecast.

Your calculationPrivate in your browser
Report a result

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

Inputs and example values for Time Series Calculator
InputFormat / rangeExample
Time-series valuesFollow the input format above10,12,14,16,18,20,22,24
Trailing moving-average windowWhole number, min 1, max 10003

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.

See how to check a result or report an issue.