From yang8898@gmail.com Fri Aug 7 11:54:24 2009 From: Zhenzeng Young To: gretl-users@gretlml.univpm.it Subject: [Gretl-users] how can I deal with this error? Date: Fri, 07 Aug 2009 23:54:21 +0800 Message-ID: <243f36510908070854t7b64528bsba785ce0a6330a0c@mail.gmail.com> Content-Type: multipart/mixed; boundary="===============3547783002607954772==" --===============3547783002607954772== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 V2hlbiBpIHdhcyBlc3RpbWF0aW9uIGEgc2ltdWx0YW5lb3VzIGVxdWF0aW9uIG1vZGVsLCBhIGVy cm9yIG1hc3NhZ2UgYXBwZWFyZWQ6IFlvdSBtdXN0IGluY2x1ZGUgYSBjb25zdGFudCBpbiB0aGlz IHNvcnQgb2YgbW9kZWwuPGJyPkNvdWxkIGFueWJvZHkgYmUga2luZGx5IHRlbGwgbWUgdGhlIHJl YXNvbiBhbmQgaG93IHRvIHNvbHZlIHRoZSBwcm9ibGVtPyBUaGFua3MhPGJyPlBTLiBzeXN0ZW0g c2V0dGluZzo8YnI+CiMgc2V0IHRoZSBtb2RlbCB1cCBhcyBhIHN5c3RlbTxicj48YnI+c3lzdGVt IG5hbWU9JnF1b3Q7YWxsJnF1b3Q7PGJyPqBlcXVhdGlvbiBwZiAwIGdkcHIgcGNyIGthb3Blbjxi cj6gZXF1YXRpb24gcGNyIDAgcGYgZ2RwIHRvcGVuIGZkaSBlZnc8YnI+oGVuZG9nIHBmIHBjcjxi cj5lbmQgc3lzdGVtPGJyPjxicj4jIGFuZCBlc3RpbWF0ZSBpdCBpbiB2YXJpb3VzIHdheXM8YnI+ ZXN0aW1hdGUgJnF1b3Q7YWxsJnF1b3Q7IG1ldGhvZD1vbHM8YnI+Cjxicj48YSBjbGFzcz0iZXhw bGFpbiIgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApIj48L2E+Cg== --===============3547783002607954772==-- From cottrell@wfu.edu Fri Aug 7 12:13:49 2009 From: Allin Cottrell To: gretl-users@gretlml.univpm.it Subject: Re: [Gretl-users] how can I deal with this error? Date: Fri, 07 Aug 2009 12:13:48 -0400 Message-ID: In-Reply-To: 243f36510908070854t7b64528bsba785ce0a6330a0c@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7378747944232117336==" --===============7378747944232117336== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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? > Thanks! > 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 This script ran without any error. What version of gretl are you using? Allin Cottrell --===============7378747944232117336==-- From yang8898@gmail.com Fri Aug 7 12:49:11 2009 From: Zhenzeng Young To: gretl-users@gretlml.univpm.it Subject: [Gretl-users] Re: how can I deal with this error? Date: Sat, 08 Aug 2009 00:49:09 +0800 Message-ID: <243f36510908070949s6e569097s4fd71a3225d98cf9@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0908071208480.790946@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2124343780518373545==" --===============2124343780518373545== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 : > 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? >> Thanks! >> 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 > > > > This script ran without any error. What version of gretl are you > using? > > Allin Cottrell > _______________________________________________ > Gretl-users mailing list > Gretl-users(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-users > -- 从我的移动设备发送 YANG Zhenzeng Dep. of international economics and trade, Economics school, Tianjin University of Finance and Economics, PRC. --===============2124343780518373545==--