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.

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

Postby alvarezcc » Fri Jul 22, 2011 3:54 pm

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 ||<<<<
alvarezcc
 
Posts: 19
Joined: Wed Mar 25, 2009 8:59 am

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

Postby TomDoan » Sat Jul 23, 2011 1:31 pm

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
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 1 guest