-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Bug report
- Stata version: Stata 18.0
- OS: Mac OS 14.2.1
- Package Versions: ftools 2.49.1, reghdfe 6.12.5
Issue Description
Problem Overview
I encountered an issue while running multiple regressions using the "foreach" loop and the reghdfe command in Stata. The code is provided below:
local outcome "Y1 Y2 Y3"
foreach v of local outcome {
reghdfe ln_`v' treated, abs(group_j year) vce(cluster group_j)
reghdfe ln_`v' treated, abs(group_j year group_co_t) vce(cluster group_j)
}
Error Messages
I consistently receive the following error messages:
(dropped 155280 singleton observations)
(MWFE estimator converged in 3 iterations)
_assert_abort(): 3498 error partialling out; missing values found
assert_msg(): - function returned error
FixedEffects::partial_out(): - function returned error
: - function returned error
r(3498)
Additional Information
This issue did not occur with every execution but has become more prevalent recently. I tried to reinstall the command and restart Stata without success. The only temporary solution I found is to reboot the computer.
Please advise on potential solutions or debugging steps. Thank you.