Open venividivi opened 2 years ago
Do you get the error when running the estfe
line, or the esttab
line?
Assuming the former, something that helps _a lot to pinpoint the error is to do:
set trace on
set tracedepth 1
estfe ...
By setting trace on with a depth of one, Stata will output all the commands ran by estfe and show exactly in what line it fails (which helps to solve the problem)
I get the error on the estfe
line.
As soon as I execute:
set trace on set tracedepth 1 estfe ...
the command goes through without any error and the trace command does not provide any additional information.
Stata version: Stata/SE 17.0 OS: Windows 11 (but before Windows 10) reghdfe version: 6.12.2 02Nov2021 (same issue with the stable version)
I run a regression
and then want to create an output table using esttab
Sometimes, and only sometimes however, I get the error message "invalid syntax" r(198). I tried uninstalling and installing again the reghdfe, the estout and the erepost (necessary for estfe) packages, closening and opening Stata and restarting my laptop to solve the error. This works sometimes, however I cannot narrow down what exact measure fixes the issue.