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
Spatial matrix user definesDear All, I would like to generate a spatial matrix defined by myself. I have the following data: …
invalid error using nwcommandsHi everyone! I want to use the nwcommands to do some social network analysis and encountered a prob…
Creating variable to capture before/after effect using panel dataHi everyone, I have a panel dataset where I follow individuals for 12 waves (new_waves). What I am …
example for merge m:mDear All, It is advised in the forum that, when possible possible, do not use Code: merge m:m ... …
Multilevel Model with ESS Data (Survey Data) doesn't convergeTo whom it may concern, I try to calculate a multilevel model for the effect of migration integrati…
Subscribe to:
Post Comments (Atom)
0 Response to Clustering or Fixed Effects on firm & industry levels
Post a Comment