Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: RE: how to do parameter restrictions in fe, re be models


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: how to do parameter restrictions in fe, re be models
Date   Thu, 19 Nov 2009 00:13:22 -0000

Rup,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Rup Singh
> Sent: 18 November 2009 23:23
> To: [email protected]
> Subject: Re: st: RE: how to do parameter restrictions in fe, 
> re be models
> 
> thanks Nick
> 
> Let me explain, 
> 
> suppose y is a linear function of a & b. i want to estimate y 
> such that the coefficients of a and b adds to one in panel 
> data methods. can anyone suggest some commands.

Y = aX + bZ + u_i + e_ij

a+b=1

Y = aX + (1-a)Z + u_i + e_ij

Multiply out and rearrange:

(Y-Z) = a(X-Z) + u_i + e_ij

So just regress a new variable V=Y-Z on another new variable W=X-Z:

V = aW + u_i + e_ij

The coefficient on W will be a, and b will be (1-a).  This is an example
of the kind of parameterisation trick Nick was talking about.  As you
can see, it carries through to the panel data case because the u's and
e's are not involved.

Cheers,
Mark

> 
> 
> rgds
> 
> rup
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index