Dear Statalist,
I have a cross-sectional dataset of between-firm relationships. Each relationship features a firm and its partner. A firm could have multiple partners and a partner could be matched with multiple firms.
I would like to run a logit or probit model with a dummy variable as the dependent variable. The dummy equals one whenever the firm owns the partner. On the right-hand side, I would like to include firm fixed effects and the partner's industry fixed effects. Since there are 35,214 firms and 156 partner industries, directly adding these two fixed effects into a logit or probit model takes forever to run. I cannot seem to find an equivalent of reghdfe for logit or probit.
I also tried to xtset the two fixed effects, but Stata does not allow me to do that because the two fixed effects do not uniquely identify the observations in this dataset (a firm may have multiple partners within the same industry). Alternatively, I can xtset firm and partner fixed effects, as they uniquely identify the observations in the dataset. However, this does not seem like a good solution, as I have a cross-sectional dataset, not a panel.
I am wondering if there is any way to get around this problem? Thanks!
I have a cross-sectional dataset of between-firm relationships. Each relationship features a firm and its partner. A firm could have multiple partners and a partner could be matched with multiple firms.
I would like to run a logit or probit model with a dummy variable as the dependent variable. The dummy equals one whenever the firm owns the partner. On the right-hand side, I would like to include firm fixed effects and the partner's industry fixed effects. Since there are 35,214 firms and 156 partner industries, directly adding these two fixed effects into a logit or probit model takes forever to run. I cannot seem to find an equivalent of reghdfe for logit or probit.
I also tried to xtset the two fixed effects, but Stata does not allow me to do that because the two fixed effects do not uniquely identify the observations in this dataset (a firm may have multiple partners within the same industry). Alternatively, I can xtset firm and partner fixed effects, as they uniquely identify the observations in the dataset. However, this does not seem like a good solution, as I have a cross-sectional dataset, not a panel.
I am wondering if there is any way to get around this problem? Thanks!
Comment