Hi All,
As I am replicating a paper, I will use 9 years of data instead of their 2 years. To take advantage of this fact I want to use panel data.
In this paper they use tobit and logit regression (cross section) for a dummy dependent variable to test determinants of the dummy being 1. I would like to do the same, but then with Panel Data. As I would like to incorporate both year and firm fixed effects (also industry fixed effects, but it appears these are collinear with firm fixed effects), I can't use the xtlogit or xttobit function.
What is the best way to cope with this? Is it perfectly fine to use reghdfe with a dummy variable as your dependent variable? And in addition, I seem to get very low within r-squared (0.01) when I perform the reghdfe with year and firm fixed effects absorbed, but very high overall r-squared (70%). Is this reasonable?
Best,
Martin
Related Posts with Incorporating Year and Firm Fixed Effects in Panel Data with reghdfe, but how?
GMM with multi-level moment conditonsHi all, I want to do a two-step GMM estimation with multi-level moment conditons (the objective fun…
I am shocked that Stata may not understand variable names literallyI have this simplest dataset. var new 0 1 Then I type tab va then it should throw me an error sa…
Log transform a variableIf we try to log transform a variable in STATA, why does the result(logX value) obtained differ from…
Generate a New Variable: if anyI have a variable called DocVisit that records the number of times a respondent visits a clinic. It …
Bar charts: Percent on y-axis, absolute count over each bar?Hi, I'm making a bunch of barcharts, some using graph, some using catplot, like this: Code: grap…
Subscribe to:
Post Comments (Atom)
0 Response to Incorporating Year and Firm Fixed Effects in Panel Data with reghdfe, but how?
Post a Comment