Re: st: Country-Dummy as random intercept?

Christian,
You only need to use the country variable as an option after the model.
e.g xtlogit y x, i(country) quad(30)
Melissa
Christian Weiss wrote:

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/