Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

re:RE: st: unconditional fixed effect logit

From   Christopher Baum <[email protected]>
To   <[email protected]>
Subject   re:RE: st: unconditional fixed effect logit
Date   Sun, 30 Jan 2011 13:07:02 -0500

> Sorry, but I didn't quiet understand.
> I want to know how I can run unconditional fixed effect logit, controlling for unobserved firm effects,
> when my data structure is firm-country-year, not firm-year.
> I didn't quiet get how egen helps me do that.

If you have firm-country-year data, and want to convert it into (firm+country)-year data, you need a variable identifying each distinct combination of firm and country so that you can xtset the data by (i) and (t). To create such a variable, which then becomes the (i), use egen combo = group(firm country) and then you may use combo in xtset.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index