Model with Restriction on Coefficients
Posted: Tue Jan 28, 2020 11:06 am
Hi, I am trying to make a model with restrictions on coefficients.
I have defined one system for each country with the following restrictions :
system sys_USA
sys_USA.append LR_USA = C(1) + C(2) * SR_USA + C(3) * INF_USA + C(4) *GDP_USA + + [AR(1) = C(5)] @ INSTR_LIST_USA
sys_USA.append C(5)=0.85 @ INSTR_LIST_USA
sys_USA.append C(2)=0 @ INSTR_LIST_USA
Then I estimate each system using TSLS and that works perfectly.
The problem is when I am trying to make a model ( proc: makemodel) or to merge this system into an existing model (proc:merge).
It gives me the following error:
Syntax error in '' sys_usa''.
How can I make a model with this kind of system?
Thanks in advance for your help.
I have defined one system for each country with the following restrictions :
system sys_USA
sys_USA.append LR_USA = C(1) + C(2) * SR_USA + C(3) * INF_USA + C(4) *GDP_USA + + [AR(1) = C(5)] @ INSTR_LIST_USA
sys_USA.append C(5)=0.85 @ INSTR_LIST_USA
sys_USA.append C(2)=0 @ INSTR_LIST_USA
Then I estimate each system using TSLS and that works perfectly.
The problem is when I am trying to make a model ( proc: makemodel) or to merge this system into an existing model (proc:merge).
It gives me the following error:
Syntax error in '' sys_usa''.
How can I make a model with this kind of system?
Thanks in advance for your help.