Dear all,
I have a panel dataset organised by cell and quarter. My main regression is the following
xi: reghdfe y x1 x2 x3, a(cell quarter) vce(cluster cell quarter)
I want to include an additional fixed effect, namely a postcode fixed effect. Therefore, I did
xi: reghdfe y x1 x2 x3, a(cell postcode quarter) vce(cluster cell quarter)
For comparison, I also performed the following:
xi: reghdfe y x1 x2 x3 i.postcode, a(cell quarter) vce(cluster cell quarter).
I get the same coefficient, the same number of observations and R-squared. However, I got a different level of significance.
I was not expecting this. What could explain this difference in the level of significance and which one is the more correct approach?
Thank you!
Related Posts with Level of significance different with reghdfe
confused about restructuring data: reshaping? stacking? something else?Hi, I am using Stata 16.1 on Windows 10. I have attached two datasets: (1) a simple example of the s…
How do I use XTSET in panel data?Hello, I want to assess the impact of migration on the trade. So I have trade data between one dest…
How to replace missing day/month with a "generic" date (i.e. 01jan) for a string date variableHello, I am working with a string variable called "YearofBirth" that includes includes 443 observati…
Why we need to use fixed effect for binary variable?When trying to explain the interaction variable explanation, I saw this link. In this link, I saw a …
Invalid matrix operation - polychoric correlationHello! I have census data for households in several countries. I would like to estimate assortative…
Subscribe to:
Post Comments (Atom)
0 Response to Level of significance different with reghdfe
Post a Comment