Setting "a" and "b" matrices with frml function

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
alvarezcc
Posts: 25
Joined: Wed Mar 25, 2009 8:59 am

Setting "a" and "b" matrices with frml function

Unread post by alvarezcc »

Hi, I´ve been trying to set an "a" and "b" matrices for the estimation of a cvmodel. But I get the follwing error. Can anybody please tell me what I'm doing wrong. How can I fix it? Why I don't get the same error with the "a" matrix?

dec frml[rect] afrml
nonlin da aa ta


frml afrml = ||1.0,0.0,da ,0.0,0.0|$
0.0,1.0,aa ,0.0,0.0|$
0.0,0.0,1.0,0.0,0.0|$
0.0,0.0,ta ,1.0,0.0|$
0.0,0.0,1.0,1.0,1.0||


dec frml[rect] bfrml
nonlin db dc ab ac ba bb tb fa


frml bfmrl = ||db ,0.0,0.0,dc ,0.0|$
0.0,ab ,0.0,0.0,ac |$
0.0,ba ,bb ,0.0,0.0|$
0.0,0.0,0.0,tb ,0.0|$
0.0,0.0,0.0,0.0,fa ||
## SX22. Expected Type REAL, Got RECTANGULAR Instead
>>>>,0.0,0.0,0.0,fa ||<<<<
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Setting "a" and "b" matrices with frml function

Unread post by TomDoan »

alvarezcc wrote: dec frml[rect] bfrml
nonlin db dc ab ac ba bb tb fa


frml bfmrl = ||db ,0.0,0.0,dc ,0.0|$
0.0,ab ,0.0,0.0,ac |$
0.0,ba ,bb ,0.0,0.0|$
0.0,0.0,0.0,tb ,0.0|$
0.0,0.0,0.0,0.0,fa ||
## SX22. Expected Type REAL, Got RECTANGULAR Instead
>>>>,0.0,0.0,0.0,fa ||<<<<
I think you meant BFRML, not BFMRL
Post Reply