Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: xtlogit - alternative set and identifier variable - question


From   Gigi Perry <gigi_perry@haas.berkeley.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: xtlogit - alternative set and identifier variable - question
Date   Wed, 29 Aug 2012 15:19:32 -0700

Hi everyone,
I'm a Quantitative Marketing PhD student from UC Berkeley. This is my first email to statalist - I'm very excited to join!
I would like to run xtlogit on a panel data, the fixed effects are for UserID, which repeat for a few WeekYear.
I tried to learn from the example - 
. webuse union
. xtlogit union age grade i.not_smsa south##c.year, fe
1. Can you please explain me how Stata knows which variable is the identifier variable for the user from this data (in this case it is idcode)?
2. For a multinomial xtlogit, how does Stata know what the alternative set is? 
Thank you,
Gigi

----

Gigi Perry
PhD student in Marketing Science
Haas School of Business, F501
University of California, Berkeley, CA  94720


*
*   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   |   Site index