Analysis of Financial Data Spring 2012 Lecture 5: Time Series Models - 3 Priyantha Wijayatunga Department of Statistics, Umeå University Course homepage:
Some Demonstrations
ACF and PACF ACF and PACF (that cuts-off at lag 1 ) look like if the AR(1) model can fit the data
Best Fitting Model Stationary R-squared should be big! Check the significance of the residual autocorrelation with the Ljung–Box test Model Statistics a ModelNumber of Predictors Model Fit statisticsLjung-Box Q(18) Number of Outliers Stationary R-squaredStatisticsDFSig. x-Model_10,61420,82217,2340 a. Best-Fitting Models according to Stationary R-squared (larger values indicate better fit). ARIMA Model Parameters a EstimateSEtSig. x-Model_1xNo TransformationConstant50,239,203247,646,000 ARLag 1,783,01456,311,000 a. Best-Fitting Models according to Stationary R-squared (larger values indicate better fit). Model Description Model Type Model IDxModel_1ARIMA(1,0,0)
Another Time Series
ACF and PACF ACF and PACF (that cuts-off at lag 2 ) show that if AR(2) model can fit the data
Best Fitting Model Stationary R-squared should be big! Check the significance of the residual autocorrelation with the Ljung–Box test Model Description Model Type Model IDxModel_1ARIMA(2,0,0) Model Statistics Model Number of Predictors Model Fit statisticsLjung-Box Q(18) Number of Outliers Stationary R- squaredRMSEStatisticsDFSig. x-Model_11,8181,94919,14716,2610 ARIMA Model Parameters EstimateSEtSig. x-Model_1xNo TransformationConstant48,829,99449,121,000 ARLag 1,810,02236,359,000 Lag 2,104,0224,685,000 DAY, not periodicNo TransformationNumeratorLag 0,001 1,319,187
Residual ACF and PACF
Another Time Series
ACF of Time Series Since ACF is positive until large lags, it is an indication of nonstationarity. Differencing is needed
ACF and PACF of 1-Differenced Time Series
Model Description Model Type Model IDxModel_1ARIMA(2,1,0) Model Statistics ModelNumber of Predictors Model Fit statisticsLjung-Box Q(18) Number of Outliers Stationary R-squaredRMSEStatisticsDFSig. x-Model_10,7791,98011,83516,7550 ARIMA Model Parameters EstimateSEtSig. x-Model_1xNo TransformationConstant,248,418,593,553 ARLag 1,781,02235,119,000 Lag 2,114,0225,110,000 Difference1