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] Summarize Breaks and Other Mata Load Error #280

Open
thodurfee opened this issue Oct 11, 2023 · 0 comments
Open

[BUG] Summarize Breaks and Other Mata Load Error #280

thodurfee opened this issue Oct 11, 2023 · 0 comments
Assignees

Comments

@thodurfee
Copy link

thodurfee commented Oct 11, 2023

Bug report

OS : Windows 11
Stata Version : 14.2, SE, 64bit version
Both ftools and reghdfe are updated as of 10/11/2023

Over the summer, I ran a series of regressions using reghdfe with the ,summarize option. This code ran fine.
Now in the fall (I believe after the ftools update) when I run the same code, I get the following error:

   _assert_abort():  3498  assertion is false
              assert_msg():     -  function returned error
  add_undocumented_options():     -  function returned error
                   <istmt>:     -  function returned error

I have tried reinstalling ftools and reghdfe, restarting my computer, and updating stata, none of which have worked. I am told many who face this issue have space issues on their hard drive, but I have over 25 GB open on my operating system drive, and the dta file is just under 100 MB.

When I omit the summarize option, the code sometimes runs, but sometimes still gives an error.
I tried using older versions of reghdfe, and using smaller poolsizes.

Documentation says that this functionality is a part of sumhdfe, does that mean this feature has been discontinued for reghdfe?

Below is the code I get from trace mode, although the data set is based on a special project where I am replicating someone else's code, so I cannot supply the dta:
`
= mata: HDFE.partial_out("vary topcoded_wage topcoded_earni

ngs 0bn.topcoded_wage#1bn.topcoded_earnings 1bn.topcoded_wage#0bn.topcoded_ear
nings 1bn.topcoded_wage#1bn.topcoded_earnings black_hgb nonblackhispanic_hgb a
sian_hgb other_hgb hoursusual_hgb hoursusual2_hgb at_work_t_hgb at_work_t2_hgb
expot_hgb expot2_hgb edhs_hgb ed1315_hgb ed16_hgb edgt16_hgb married_hgb ykid
1_2_hgb ykid3_5_hgb ykid6_9_hgb ykid10_13_hgb ykid14_17_hgb inmetro_hgb februa
ry_hgb march_hgb april_hgb may_hgb june_hgb july_hgb august_hgb september_hgb
october_hgb november_hgb december_hgb 2bn.day_hgb 3bn.day_hgb 4bn.day_hgb 5bn.
day_hgb 6bn.day_hgb 7bn.day_hgb 2004bn.year_atus 2005bn.year_atus 2006bn.year_
atus 2007bn.year_atus 2008bn.year_atus 2009bn.year_atus 2010bn.year_atus 2011b
n.year_atus 2012bn.year_atus is_union is_union2", 1, 1)
_assert_abort(): 3498 could not load data into Mata correctly; please
contact author
`

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

2 participants