I tried to SVAR identification using five variable (Government spending,Tax,GDP,CPI and Real interest rate) where 1990-2017 time series data. While I run VAR its prompted Maximum number of iteration exceed error. Then I increase maximum iterations and run again. In this time, it prompted Optimization may be unreliable error. can anyone help me to sort this thing out? I have attached work file and data set here.
Error codes:
1. Maximum number of iterations exceeded in "FREEZE (TABLE1) SGVAR1.SVAR(RTYPE=PATSR,NAMEA=PATA,NAMEB=PATB, F0=U)"
2. Optimization may be unreliable (first or second order conditions not met) in "FREEZE(TABLE1) SGVAR1.SVAR (RTYPE=PATSR,NAMEA=PATA,NAMEB=PATB, F0=U)".
Maximum number of iteration exceed error
Moderators: EViews Gareth, EViews Moderator
Maximum number of iteration exceed error
- Attachments
-
- simulation.prg
- (2.84 KiB) Downloaded 521 times
-
- data_an1.wf1
- (20.55 KiB) Downloaded 465 times
-
EViews Matt
- EViews Developer
- Posts: 585
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Maximum number of iteration exceed error
Hello,
It's always good to try different types of initial values to see if one more effectively leads to convergence. The default normal distribution appears to work with your data (remove the "F0=U" option from the svar command).
It's always good to try different types of initial values to see if one more effectively leads to convergence. The default normal distribution appears to work with your data (remove the "F0=U" option from the svar command).
Re: Maximum number of iteration exceed error
Dear Matt.
Thank you for your reply. Could you please elaborate answer // It's always good to try different types of initial values to see if one more effectively leads to convergence// ?
I tried with removing F0=u but problem still same.
Ruwan
Thank you for your reply. Could you please elaborate answer // It's always good to try different types of initial values to see if one more effectively leads to convergence// ?
I tried with removing F0=u but problem still same.
Ruwan
-
EViews Matt
- EViews Developer
- Posts: 585
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Maximum number of iteration exceed error
Hello,
Are you using EViews 10? If so, a different initial value choice seems to work better. Try an initial constant of one (use the "f0=1" option in the svar command).
Are you using EViews 10? If so, a different initial value choice seems to work better. Try an initial constant of one (use the "f0=1" option in the svar command).
Re: Maximum number of iteration exceed error
Yes, I used eviews 10. It works when change f0=1.
Thank you
Thank you
Who is online
Users browsing this forum: No registered users and 1 guest
