Thanks very much, I'm a starter of gretl and know little about
scripts. I will try, thanks!
I,m using 1.8.1.
2009/8/8, Allin Cottrell <cottrell(a)wfu.edu>:
On Fri, 7 Aug 2009, Zhenzeng Young wrote:
> When i was estimation a simultaneous equation model, a error massage
> appeared: You must include a constant in this sort of model.
> Could anybody be kindly tell me the reason and how to solve the problem?
> PS. system setting:
> # set the model up as a system
> system name="all"
> equation pf 0 gdpr pcr kaopen
> equation pcr 0 pf gdp topen fdi efw
> endog pf pcr
> end system
> # and estimate it in various ways
> estimate "all" method=ols
In the script in your email, the "equation" and "endog" lines
started with funny non-ASCII symbols. I'm not sure if that's the
issue. But your equations contain "0" (= the constant) OK.
I tried mocking up your example thus
series pf = normal()
series gdp = normal()
series gdpr = normal()
series pcr = normal()
series kaopen = normal()
series topen = normal()
series fdi = normal()
series efw = normal()
equation pf 0 gdpr pcr kaopen
equation pcr 0 pf gdp topen fdi efw
endog pf pcr
estimate "all" method=ols
This script ran without any error. What version of gretl are you
Gretl-users mailing list
Dep. of international economics and trade,
Tianjin University of Finance and Economics, PRC.