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

st: How to get country-specific effects as difference from average effect?


From   "Neumayer,E" <[email protected]>
To   <[email protected]>
Subject   st: How to get country-specific effects as difference from average effect?
Date   Fri, 6 Sep 2002 11:21:25 +0100

If I do "reg y x country2-country207" the country-specific dummy variables country2 to country207 are relative to the left out category country1. If I do "reg y x country1-country207, noconst" instead, the constant is dropped and the country-specific dummy variables give each country's level. How do I get Stata to compute country-specific estimates as a difference from the average country effect? I tried "constraint define 1 country1+...+country207=0" and cnsreg, but that does not work. Any help? Thanks, Eric Neumayer
*
*   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