Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Can I impose constraints on dummies created with -xi-?


From   Res.Media@web.de
To   statalist@hsphsun2.harvard.edu
Subject   st: Can I impose constraints on dummies created with -xi-?
Date   Wed, 26 Oct 2011 14:59:08 +0200 (CEST)

Dear members,

After I construct categories or interactions using -xi- I would like Stata:

- to constrain one or more of the category dummies to be either equal or to be zero.
- to constrain one or more of the interaction terms to be either equal or to be zero.

For example, if I use -xi: regress y i.z*x - and z has five categories, I would like  to omit dummy _Iz_3, for example, and constrain _Iz_2 and _4 to be equal. I would like to proceed with some of the interaction terms likewise. I use Stata v.10 if that matters.

Thanks!
Thomas
___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index