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/
--
Melissa Butler, PharmD, MPH, BCPS
PhD Candidate
Division of Pharmaceutical Outcomes and Policy
Eschelman School of Pharmacy
UNC Chapel Hill
tel: 919-724-7947
fax: 919-966-8486
*
* 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/