From cottrell@wfu.edu Fri Nov 12 21:08:26 2010 From: Allin Cottrell To: gretl-users@gretlml.univpm.it Subject: Re: [Gretl-users] Getting the restricted parameters estimates Date: Fri, 12 Nov 2010 21:08:25 -0500 Message-ID: In-Reply-To: =?utf-8?q?30272=5F1289483273=5FoABDlrNo030934=5FAANLkTin0swLoFb?= =?utf-8?q?OaMVQGmACiA-XOVux3qs4jGZqULHYy=40mail=2Egmail=2Ecom?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3724840578293516065==" --===============3724840578293516065== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 11 Nov 2010, Henrique Andrade wrote: > I'm estimating a instrumental variable model and I > need to test some restrictions. Please take a look > at my script: > > > > Everything works fine, but I need the estimated > parameters of the restricted model. Is this > possible? gretl will do that automatically for you only if you're using OLS. But you can do it yourself: y = b1 + b2*x2 + b3*x3 + u H0: b2 + b3 = 1 => b3 = 1 - b2 => y = b1 + b2*x2 + (1 - b2)*x3 + u => (y - x3) = b1 + b2*(x2 - x3) + u So: y = E - PUS x = PAU - PUS tsls y const x ; const Allin Cottrell --===============3724840578293516065==--