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

Re: st: Country-Dummy as random intercept?

From   Melissa Butler <>
Subject   Re: st: Country-Dummy as random intercept?
Date   Fri, 05 Jun 2009 11:27:17 -0400


You only need to use the country variable as an option after the model.

e.g xtlogit y x, i(country) quad(30)


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 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
*   For searches and help try:

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:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index