Problem with the estimation of MSVAR examples
Problem with the estimation of MSVAR examples
When I try to run the MSVAR example files of Krolzig (1997) without changing anything, I receive the following error message:
"SX11. Identifier EMPTSM is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>>VARMarginal(EMPTSM(<<<<
I am not sure if I am doing anything wrong...
"SX11. Identifier EMPTSM is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>>VARMarginal(EMPTSM(<<<<
I am not sure if I am doing anything wrong...
Re: Problem with the estimation of MSVAR examples
That should now be MSVARPTSM rather than EMPTSM.
Re: Problem with the estimation of MSVAR examples
Filardo (1994) example also yields error messages regarding EMSize and EMLagState:
## SX11. Identifier EMSIZE is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>> do k=1,EMSize<<<<
## SX11. Identifier EMLAGSTATE is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>>isEntry(EMLagState(<<<<
## SX11. Identifier EMSIZE is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>> do k=1,EMSize<<<<
## SX11. Identifier EMLAGSTATE is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>>isEntry(EMLagState(<<<<
Re: Problem with the estimation of MSVAR examples
I just posted an updated version of the Filardo program.
Re: Problem with the estimation of MSVAR examples
Hi Tom,
Thanks for the post, but it still gives the same error message. I think it has something to do with the following part:
I am not sure, but it feels like EMSize and EMLagState should be replaced with MSVARFilterSize and MSVARFilterLagState respectively...
Thanks for the post, but it still gives the same error message. I think it has something to do with the following part:
Code: Select all
do time=start,end
compute %MSVARPMat(time)
compute thisEntry=%zeros(nstates,nstates)
do k=1,EMSize
compute thisEntry(EMLagState(k,1),EMLagState(k,2))+=EMPTSM(time)(k)
end do k
compute w11(time)=p(1,1)*(1-p(1,1))*(thisEntry(1,1)+thisEntry(2,1))
compute w22(time)=p(1,2)*(1-p(1,2))*(thisEntry(2,2)+thisEntry(1,2))
compute l11(time)=(thisEntry(1,1)- p(1,1)*(thisEntry(1,1)+thisEntry(2,1)))/w11(time)
compute l22(time)=(thisEntry(2,2)-(1-p(1,2))*(thisEntry(2,2)+thisEntry(1,2)))/w22(time)
end do timeRe: Problem with the estimation of MSVAR examples
Sorry. That's correct. I just posted a fully corrected version.condor wrote: I am not sure, but it feels like EMSize and EMLagState should be replaced with MSVARFilterSize and MSVARFilterLagState respectively...
Re: Problem with the estimation of MSVAR examples
it seems to be also the case in the Replication file for Krolzig's "International Business Cycles: Regime
Shifts in the Stochastic Process of Economic Growth.
Shifts in the Stochastic Process of Economic Growth.
Re: Problem with the estimation of MSVAR examples
Yes, but Tom has already proposed the remedy to this problem. Please see the second post under this thread: http://www.estima.com/forum/viewtopic.p ... 1302#p4728Aktar wrote:it seems to be also the case in the Replication file for Krolzig's "International Business Cycles: Regime Shifts in the Stochastic Process of Economic Growth.
Re: Problem with the estimation of MSVAR examples
It looks as if we never had those posted on the forum. Current versions are now at:Aktar wrote:it seems to be also the case in the Replication file for Krolzig's "International Business Cycles: Regime
Shifts in the Stochastic Process of Economic Growth.
http://www.estima.com/forum/viewtopic.php?f=30&t=1362