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
2 sequential loops, second loop only runs those instances that converged in the firstHello all, I'm running several instances of a maximum likelihood routines in a first set of loops. …
Creating*copies with missing valuesHi Stata users, I have a dataset as shown in the example below Code: * Example generated by -data…
Merge based on time-range conditionHello everyone, I have 2 datasets that needed to be merged. Dataset A has unique IDs with multiple …
Keep only first part of string up until any number, comma, or before the state nameHi All, I am trying to separate an area name in a dataset so I just have the particular city and no…
Need help with i.year output in aregHello, Thanks for all the help I've received through this forum. I wanted to understand why I got 2 …
Subscribe to:
Post Comments (Atom)
0 Response to Clogit vs Xtlogit with FE vs Logit with Dummy Variables
Post a Comment