sergiocorreia / reghdfe

Linear, IV and GMM Regressions With Any Number of Fixed Effects
http://scorreia.com/software/reghdfe/
MIT License
219 stars 57 forks source link

[BUG] error occurred while loading reghdfe.ado #274

Closed hangochen closed 1 year ago

hangochen commented 1 year ago

Before submitting the bug report

  1. Verify that you are using the latest versions of reghdfe and ftools (which reghdfe). Note that the latest version is usually on Github and not on SSC. *! version 6.12.3 08aug2023

  2. Verify that your Stata is updated (update query).

Bug report

Please complete the following information:

Behavior

. clear

. use http://fmwww.bc.edu/ec-p/data/wooldridge/jtrain

. reghdfe lwage expersq union married, absorb(year) vce(cluster fcode)
function cleanup_before_saving() not declared in class Factor
(57 lines skipped)
(error occurred while loading reghdfe.ado)
r(3000);

Steps to reproduce the problem

See above.

sergiocorreia commented 1 year ago

Hi hangochen,

I suspect ftools is not in updated. Can you run:

which reghdfe
which ftools

What I get on my end after these commands is:


. which reghdfe
c:\ado\plus\r\reghdfe.ado
*! version 6.12.3 08aug2023

. 
. which ftools
c:\ado\plus\f\ftools.ado
*! version 2.49.1 08aug2023
hangochen commented 1 year ago

Thanks Sergio, for your quick response! I see. Yes, the error no longer persists after I updated ftools.