Hi,
I have an unbalanced panel data of stocks with N=20,000 and T=50 years. I have 50 industries. I want to estimate the effect of X on Y where Y is a dummy variable. I want to control for "industry*Year" fixed effects where I have around 2,500 pairs (50*50). I have two questions:
1) If I use clogit y x, group(ind_year) or "xtlogit y x, fe by setting xtset ind_year", I get the same results and I believe I can only interpret the sensitivity of the odd ratio to the changes in X. Is that correct for these two commands?
2) If I use logit with "industry*Year" dummy variables, I can get coefficients for each pair although very hard computationally. However, the number of observations for a given "industry*Year* pair ranges between 1 and 950 but most of them are greater than 25. I know that we need a high number of observations for a given fixed effect (This is different than T). In this case, can I just use predict command to estimate the probabilities? I might drop "industry*Year" observations with fewer than 25 obs if necessary.
Thanks a lot.
Best,
Ulas
Related Posts with Clogit vs Xtlogit with FE vs Logit with Dummy Variables
Gravity model with PPMLDear all. I am a completely new user of Stata. I am currently working in a international trade res…
Transfer variable labels from excel list into stata datasetDear colleagues. For various data-release/red-tape reasons, I have been given a Stata dataset (wide…
bootstrap weng wrong.Dear All, I tried to write a code for test equality of coefficients from two regressions by bootstra…
Aggregating units in a control groupI am trying to draw a common pre-trend graph for a diff-in-diff design. My treatment group is made o…
Create a scatter plot with quartiles (visualisation)Hi folks. I hope this isn't a silly question, but still learning how to work with Stata. I am tryin…
Subscribe to:
Post Comments (Atom)
0 Response to Clogit vs Xtlogit with FE vs Logit with Dummy Variables
Post a Comment