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?
I would like to add up value label 2+3 4+5 and 6+7 to have 1,2,3,4 in the endAs u can see in the photo, I have 7 value labels. I would like to add up value label 2+3 4+5 and 6+7…
Fam MacBeth two stage regression Dear sir, following is the command for Fam MacBeth two stage regression with Newey-West standard er…
Generate and replace multiple variables based on original variables.Hello Statalist, Hope everyone is doing fine in the middle of this pandemic. I'm working with a da…
How can I change the scale of the y-axis in a Barchart Hello, I would be very grateful if someone could help me with the scale of the y-axis of my barcha…
See change in composition of traded goods according to Product Complexity IndexDear Statalisters, I want to measure the influence of trade agreements on the composition of the tr…
Subscribe to:
Post Comments (Atom)
0 Response to Incorporating Year and Firm Fixed Effects in Panel Data with reghdfe, but how?
Post a Comment