BoxJenk Instruction

Questions and discussions on Time Series Analysis

Re: BoxJenk Instruction

Postby ivory4 » Fri Jun 25, 2010 1:26 pm

What does %z return?
Manual only says that ARRAY of COMPLEX series defined by FREQUENCY, did not mention its parameter setting
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: BoxJenk Instruction

Postby TomDoan » Fri Jun 25, 2010 1:50 pm

See page 195 of the reference manual (under FREQUENCY).
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: BoxJenk Instruction

Postby ivory4 » Fri Jun 25, 2010 2:04 pm

TomDoan wrote:See page 195 of the reference manual (under FREQUENCY).


AR Coeff Ph1=1.2;Phi2=-0.3
MA Coeff Theta1=-1.4, Theta2=0.5
I switch AR and MA coefficeints to get FFT of PSI(L) in yt=PSI(L)et
Code: Select all
frequency 1 512
compute scale=0.05^2/(2*%pi)
equation(noconstant, coeffs=||1.4,-0.5,-1.2,0.3||) arma y 2 2
trfunc(equation=arma) 1
set 1= %z(t,1)- %z(1,1)
cmult(scale=scale) 1 1
ctor 1 256
# 1
# result


Code: Select all

equation(noconstant, coeffs=||1.2,-0.3,-1.4,0.5||) arma y 2 2
@armaspectrum arma


it seems that these two parts are only different in terms of %z(1,1)

but I understand the procedure more
Thank you for help.


ps: %Z(t, Source)
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: BoxJenk Instruction

Postby ivory4 » Sun Feb 13, 2011 3:38 am

One question about convergence using Boxjenk
For example if I use @autofit with 3 lags on AR and MA part, it generates the table with AIC and BIC. But I notice that if I fit the data to ARIMA(3,1,2) using Boxjenk (maxl), actually it fails to converge.

This means that the AIC BIC are also wrong (for 3,1,2).

While I try to fit ARIMA(3,1,2) manually, with piters=@@@, pmethod=simplex, still it does not converge. However it does converge for all other combinations of 3 lags on either AR or MA part.

Is there a suggestion on this one?
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: BoxJenk Instruction

Postby TomDoan » Sun Feb 13, 2011 11:48 am

Was the (3,1,2) the model that BIC chose? Probably not. The models that fail to converge are almost always overparameterized; a 3,1,2 model isn't even identified if the 2,1,1 is the correct model. Two extra parameters for no better fit means that the model wouldn't be selected anyway.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: BoxJenk Instruction

Postby ivory4 » Sun Feb 13, 2011 4:16 pm

Here is the file
Code: Select all
open data 10sum.txt"

calendar(q) 1947:1
data(format=free,org=columns) 1947:1 2009:1 lgdp
set lgdp = 100.0*lgdp
@bjautofit(diffs=1,constant,pmax=4,qmax=4,crit=aic) lgdp

AIC analysis of models for series LGDP
MA
AR 0 1 2 3 4
0 700.1402 677.1955 668.9370 669.5915 671.5895
1 669.7356 670.8260 669.9930 671.5911 673.3505
2 670.1904 671.0526 667.1592 673.9997 673.8136
3 669.4065 668.6532 660.4291* 670.9865 662.8811
4 669.3186 673.1461 672.5924 665.2340 667.1738

This low AIC (for 3,1,2) is caused by non convergence, if fit (3,1,2) even using cvcrit=0.001 as in @bjautofit and %nreg=7, not 3+3 as in @bjautofit
Attachments
10sum.txt
(3.13 KiB) Downloaded 90 times
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: BoxJenk Instruction

Postby TomDoan » Fri Feb 18, 2011 11:54 am

The low AIC cannot be caused by non-convergence; it's potentially a high AIC that's caused by that.

The 3,1,2 model is overparameterized---the convergence problem is caused by it bumping into the invertibility boundary for the MA part. But in apparently improves the fit enough that AIC prefers it over models with smaller parameter sets. BIC picks a much smaller model.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Previous

Return to Other Time Series Analysis

Who is online

Users browsing this forum: No registered users and 2 guests

cron