Docsity

Analysis of ARMA Models for Time Series Data: A Case Study, Study notes of Mathematical Statistics

Partial preview of the text

Download Analysis of ARMA Models for Time Series Data: A Case Study and more Study notes Mathematical Statistics in PDF only on Docsity!

CASE STUDIES -

ARMA MODELS

3

Case study – 3

4

Monthly Stream flow (cum/sec) Statistics(

-1974) for Cauvery River at Krishna Raja Sagar

Reservoir is considered in the case study.

  • Time series of the data, auto correlation function,

partial auto correlation function and the power

spectrum are plotted.

  • The series indicates presence of periodicities.
  • The series is standardized to remove the

periodicities.

Contiguous models:

6 Sl. No Model Likelihood values 1 ARMA(1,0) 29. 2 ARMA(2,0) 28. 3 ARMA(3,0) 28. 4 ARMA(4,0) 31. 5 ARMA(5,0) 30. 6 ARMA(6,0) 29. 7 ARMA(1,1) 30. 8 ARMA(1,2) 29. 9 ARMA(2,1) 29. 10 ARMA(2,2) 28. 11 ARMA(3,1) 29. ln ( )

i i i

N

L = āˆ’ σ āˆ’ n

Non-contiguous models*:

7 Sl. No Model Likelihood values 1 ARMA(2,0) 28. 2 ARMA(3,0) 28. 3 ARMA(4,0) 28. 4 ARMA(5,0) 30. 5 ARMA(6,0) 29. 6 ARMA(7,0) 29. 7 ARMA(2,2) 29. 8 ARMA(2,3) 28. 9 ARMA(3,2) 28. 10 ARMA(3,3) 28. 11 ARMA(4,2) 28.

*: The last AR and MA terms correspond to the 12

th lag

Contiguous models:

Forecasting Models

9 Sl. No Model Mean square error values 1 ARMA(1,0) 0. 2 ARMA(2,0) 1. 3 ARMA(3,0) 2. 4 ARMA(4,0) 3. 5 ARMA(5,0) 4. 6 ARMA(6,0) 5. 7 ARMA(1,1) 2. 8 ARMA(1,2) 2. 9 ARMA(2,1) 3. 10 ARMA(2,2) 4. 11 ARMA(3,1) 1.

Non-contiguous models:

10

- 1 ARMA(2,0) 0. Sl. No Model Mean square error values - 2 ARMA(3,0) 1. - 3 ARMA(4,0) 2. - 4 ARMA(5,0) 3. - 5 ARMA(6,0) 4. - 6 ARMA(7,0) 5. - 7 ARMA(2,2) 2. - 8 ARMA(2,3) 1. - 9 ARMA(3,2) 2.
  • 10 ARMA(3,3) 1.
    • 11 ARMA(4,2) 1.

12

  • Validation tests on the residual series
    • Significance of residual mean
    • Significance of periodicities
    • Cumulative periodogram test or Bartlett s test
    • White noise test
      • Whittle s test
      • Portmanteau test
  • Residuals, 1 2 1 1 m m t t j t j j t j j j e X φ X Īø e C āˆ’ āˆ’ = = āŽ›ļ£« āŽžļ£¶ = āˆ’ (^) āŽœļ£¬ + + āŽŸļ£· āŽļ£­ āŽ ļ£ø āˆ‘ āˆ‘ Data Simulated from the model Residual

Significance of residual mean:

13 Sl. No Model Ī·(e) t0.95(239 ) 1 ARMA(1,0) 0.002 1. 2 ARMA(2,0) 0.006 1. 3 ARMA(3,0) 0.008 1. 4 ARMA(4,0) 0.025 1. 5 ARMA(5,0) 0.023 1. 6 ARMA(6,0) 0.018 1. 7 ARMA(1,1) 0.033 1. 8 ARMA(1,2) 0.104 1. 9 ARMA(2,1) 0.106 1. 10 ARMA(2,2) 0.028 1. ( ) 1/ 1/ ˆ N e Ī· e ρ = Ī·(e) < t(0.95, 240–1); All models pass the test

k

is the periodicity for which test is being carried

out.

Ī·(e) < F

α

(2, N–2 ) – Model passes the test

15 ( ) 1

sin

n k t k t

e t

N

β ω

āˆ‘

Significance of periodicities:

16 Sl. No Model Ī· Value for the periodicity F0.95(2,238 ) 1 st 2 nd 3 rd 4 th 1 ARMA(1,0) 0.527 1.092 0.364 0.065 3. 2 ARMA(2,0) 1.027 2.458 0.813 0.129 3. 3 ARMA(3,0) 1.705 4.319 1.096 0.160 3. 4 ARMA(4,0) 3.228 6.078 0.948 0.277 3. 5 ARMA(5,0) 3.769 7.805 1.149 0.345 3. 6 ARMA(6,0) 4.19 10.13 1.262 0.441 3. 7 ARMA(1,1) 4.737 10.09 2.668 0.392 3. 8 ARMA(1,2) 6.786 10.67 2.621 0.372 3. 9 ARMA(2,1) 7.704 12.12 2.976 0.422 3. 10 ARMA(2,2) 6.857 13.22 3.718 0.597 3.

18

Cumulative periodogram for the original series

without standardizing

0

1 0 50 100 150 200 gk Lag, k 240

  • The confidence limits (1.35/(N/2) 1/

= 0.087) are

plotted for 95% confidence. (N = 480 in this case)

  • Most part of the cumulative periodogram lies

outside the significance bands confirming the

presence of periodicity in the data.

  • for k=40, a spike in the graph is seen indicating

the significant periodicity

  • This k corresponds to a periodicity of 12 months
  • k=80, corresponds to a periodicity of 6 months 19
  • The confidence limits (+1.35/(N/2) 1/

are plotted for 95% confidence. (N = 240, in this

case)

  • Cumulative periodogram lies within the

significance bands confirming that no significant

periodicity present in the residual series.

  • The model passes the test. 21

White noise test (Whittle s test):

  • This test is carried out to test the absence of

correlation in the series.

  • The covariance r k

at lag k of the error series {e

t

  • The value of k max

is normally chosen as 0.15N

22

Whittle s test for white noise

1 1 N k j j k j k r e e N k āˆ’ = + = āˆ’ āˆ‘ k = 0, 1, 2,…….kmax Ref: Kashyap R.L. and Ramachandra Rao.A, Dynamic stochastic models from empirical data , Academic press, New York, 1976