Statalist


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

st: Country-Dummy as random intercept?


From   Christian Weiss <christian.weiss@nightberry.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Country-Dummy as random intercept?
Date   Fri, 5 Jun 2009 17:20:51 +0200

Dear Statalist,

I am using a variable "country" as random intercept, using the REML estimator.

The variable country takes the Value 1 for Japan, 2 for US, 3 for UK
and so on...

In an ordinary OLS regression I would include the country variable by
using xi (xi: regress i.country). Do I have to do this for a the
random intercept model, too? (i.e. create a dummy variable for each
country insead of using the original "country" variable?

Thanks a lot,

best regards
Chris
*
*   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   |   What's new   |   Site index