Dear Statalisters,
I face the following issue:
I have a cross-sectional dataset where the observation unit is a pair of firms and look at the probability of a pair been "connected" (i.e. connected is the dependent variable and is binary). So, for each firm (firm A) I have several pairs with other firms (firm B) and firm B's are not the same for every firm A.
For each firm I have the industry code. I am thinking that for my analysis is relevant to control for unobserved correlation within industries and account for the non iid errors of pairs that refer to the same firm A.
So, I thought that industry fixed effects and clustered SEs at firm-level would be the appropriate specification. I tried this with xtreg (setting industry as panelvar) and returned the error "panels are not nested within clusters" obviously. I tried also with reghdfe command (absorb(firm industry)) which worked but given that I consider to perform logit regressions I intended to go with xtlogit.
And the questions are:
- Has anyone any comment on what the appropriate specification would be in such a setting? (clustering, FEs, or both and at what level(s)?)
- Is there a way for reghdfe with logit regression or any alternative to this?
Thanks in advance.
Related Posts with Clustering or Fixed Effects on firm & industry levels
melogit vs meqrlogitDear All, Due to some problem of convergence with melogit, i am thinking of using meqrlogit instead…
Calculating words for a number Hello Everyone, Would that be possible to calculate the number of Participant and lead for each loa…
Calculations via a loopHello. I have data with the following fields: Estimates for females by age band wf0to4_wtd_pop wf5…
Graph combine bar plots and make them in same horizontal lineDear Stata users, Let me put my question simply. I want to combine two bar plots, one of them have …
–etable– in the Nov. 17 update for v17.0Users who create post-estimation tables might take note of –etable– in the Nov. 17 update for v17.0.…
Subscribe to:
Post Comments (Atom)
0 Response to Clustering or Fixed Effects on firm & industry levels
Post a Comment