Dear all,
I have 4 data sets and I am trying to figure out what AR processes do I have.
Below is my first result:
Below is my second result:
I have shown 2 of my 4 data sets, why is it that, in my first result, the Information Criteria suggested a lag selection of 2, but the PAC correlogram pointed out that my process is an AR(3) process? However, in my second result, the IC suggested a lag of 3, which comply with my observation in my PAC correlogram. I am also curious about the gaps I have in my data, I do not find any visible 'gaps', and the strange thing is, why does the number of observations I have coincide with the number of gaps I have (according to Stata anyway) in my ADF test when the lag is set to 3 in both cases?
I am really confused when it comes to selecting the correct lags, any help would be very much appreciated.
I have 4 data sets and I am trying to figure out what AR processes do I have.
Below is my first result:
Code:
. varsoc csad Selection-order criteria Sample: 11jan2002 - 31dec2010, but with gaps Number of obs = 469 +---------------------------------------------------------------------------+ |lag | LL LR df p FPE AIC HQIC SBIC | |----+----------------------------------------------------------------------| | 0 | -643.473 .914306 2.74829 2.75177 2.75714 | | 1 | -476.467 334.01 1 0.000 .450451 2.04037 2.04733 2.05807 | | 2 | -473.181 6.5712* 1 0.010 .446082* 2.03062* 2.04107* 2.05717* | | 3 | -472.631 1.0995 1 0.294 .446939 2.03254 2.04647 2.06794 | | 4 | -472.533 .19679 1 0.657 .448661 2.03639 2.0538 2.08064 | +---------------------------------------------------------------------------+ Endogenous: csad Exogenous: _cons . ac csad (note: time series has 469 gaps). pac csad (note: time series has 469 gaps). dfuller csad, lag(2) Augmented Dickey-Fuller test for unit root Number of obs = 938 ---------- Interpolated Dickey-Fuller --------- Test 1% Critical 5% Critical 10% Critical Statistic Value Value Value ------------------------------------------------------------------------------ Z(t) -6.591 -3.430 -2.860 -2.570 ------------------------------------------------------------------------------ MacKinnon approximate p-value for Z(t) = 0.0000 . dfuller csad, lag(3) Augmented Dickey-Fuller test for unit root Number of obs = 469 ---------- Interpolated Dickey-Fuller --------- Test 1% Critical 5% Critical 10% Critical Statistic Value Value Value ------------------------------------------------------------------------------ Z(t) -5.369 -3.442 -2.871 -2.570 ------------------------------------------------------------------------------ MacKinnon approximate p-value for Z(t) = 0.0000 .
Code:
. ac csad (note: time series has 469 gaps). pac csad (note: time series has 469 gaps). graph save Graph "\\ads.bris.ac.uk\filestore\MyFiles\StudentUG15\zl15509\Docum > ents\ac2.gph" (file \\ads.bris.ac.uk\filestore\MyFiles\StudentUG15\zl15509\Documents\ac2.gph s > aved) . varsoc csad Selection-order criteria Sample: 11jan2002 - 31dec2010, but with gaps Number of obs = 469 +---------------------------------------------------------------------------+ |lag | LL LR df p FPE AIC HQIC SBIC | |----+----------------------------------------------------------------------| | 0 | -526.243 .554601 2.24837 2.25185 2.25722 | | 1 | -398.007 256.47 1 0.000 .322358 1.70579 1.71275 1.72349 | | 2 | -381.31 33.394 1 0.000 .301487 1.63885 1.64929 1.6654 | | 3 | -369.076 24.468* 1 0.000 .287384* 1.59094* 1.60487* 1.62634* | | 4 | -368.558 1.0358 1 0.309 .287976 1.593 1.61041 1.63725 | +---------------------------------------------------------------------------+ Endogenous: csad Exogenous: _cons . dfuller csad, lag(2) Augmented Dickey-Fuller test for unit root Number of obs = 938 ---------- Interpolated Dickey-Fuller --------- Test 1% Critical 5% Critical 10% Critical Statistic Value Value Value ------------------------------------------------------------------------------ Z(t) -8.450 -3.430 -2.860 -2.570 ------------------------------------------------------------------------------ MacKinnon approximate p-value for Z(t) = 0.0000 . dfuller csad, lag(3) Augmented Dickey-Fuller test for unit root Number of obs = 469 ---------- Interpolated Dickey-Fuller --------- Test 1% Critical 5% Critical 10% Critical Statistic Value Value Value ------------------------------------------------------------------------------ Z(t) -4.264 -3.442 -2.871 -2.570 ------------------------------------------------------------------------------ MacKinnon approximate p-value for Z(t) = 0.0005 .
I am really confused when it comes to selecting the correct lags, any help would be very much appreciated.
Comment