Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: xtabond2 and parameter restrictions


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: RE: xtabond2 and parameter restrictions
Date   Thu, 07 Jul 2005 08:04:46 -0500

At 11:24 AM 7/7/2005 +0100, Mark Schaffer wrote:

I am pretty sure that xtabond2 doesn't support constraints.
I don't know if it will perform the desired task in this case, but Jeroen Weesie's -linest- can often be useful for imposing linear constraints with commands that do not otherwise support them. An example given in its help file is

. logit y x1 x2 x3 x4
. constr def 1 x1+x2+x3+x4=0
. linest, c(1) (estimate model s.t. constraint 1)
. const def 2 x1=x2
. linest, c(1,2) (estimate model s.t. constraints 1 and 2)

I think a key is whether the desired constraint is indeed linear and can be specified via the -constraint- command.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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