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
Hausman test with omitted variables - still valid?Hi Statalist In the help files for -hausman- we see an example (eg1 on p.894, Stata 16) in which al…
merging the same dates into my dataDear statalist members, Im trying to manage my data. My data is like this dataset clear all input …
Failure CurveHi, I am trying to generate a Kaplan Meier graph using my data set looking at recurrence after a su…
Why some control variables are dropped when I run a regression?Dear Stata Users, I have the following problem. When I run the regression as specified below my var…
Multiple variables in one matrix - to putexcelHello folks, Been trying to figure this one out but keep getting roadblocks. Wondered if anyone els…
Subscribe to:
Post Comments (Atom)
0 Response to Clustering or Fixed Effects on firm & industry levels
Post a Comment