sumhdfe icon indicating copy to clipboard operation
sumhdfe copied to clipboard

Give a better error message after running reghdfe without FEs

Open sergiocorreia opened this issue 2 years ago • 0 comments

Example:

sysuse auto
reghdfe price weight
sumhdfe

Here, we currently fail with error variable nowarn not found, but instead should either fail with an error such as reghdfe regression contained no fixed effects or just report Panel A (summary stats)

sergiocorreia avatar Feb 19 '22 04:02 sergiocorreia