Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] _assert_abort(): 3498 error partialling out; missing values found #285

Open
ZhihaoMa opened this issue Feb 4, 2024 · 1 comment
Open
Assignees

Comments

@ZhihaoMa
Copy link

ZhihaoMa commented Feb 4, 2024

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.

@ZhihaoMa ZhihaoMa changed the title [BUG] [BUG] _assert_abort(): 3498 error partialling out; missing values found Feb 4, 2024
@JingYeLuck
Copy link

I also met the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants