AEA Data Editor

AEA Data Editor

@aeadata.bsky.social

Data editor for the American Economic Association - for official guidance, always go to http://aeaweb.org and https://aeadataeditor.github.io. Does not follow persons (sorry)

4.4K followers5 following239 posts

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

But: if article is published in 2021, data in 2023, re-users are misleading their readers. The data they use doesn't exist at the cited location (the article, or its replication package), and cannot be easily linked. The solution is to cite both: article and Github.

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

The quote says "data are in the public domain" Wrong! Public domain is a legal term = nobody has the copyright on the data. Absence of true "public domain", the data are copyrighted! Strictly speaking, authors' permission to redistribute is needed. Or you might claim "fair use" explicitly.

BTW: We usually send authors who do this back to the original creators to ask for permission. Much cleaner. BBTW: This is Bluesky, and I am not a lawyer... None of this is legal advice!

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

On the Github README, the authors actually say The version released on Sept 29, 2023 is the latest. but the commits on the Github actually tell a different story: there are September and November updates to the deposit. Whether those are materially different is not clear.

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

View full thread

PSA: Please be precise when using Github as input to scientific articles OK, this is going to be nerdy... If you use Github as an deposit for your scientific output, or you are re-using somebody else's Github deposit, please be precise. I have some thoughts...

From a recent (draft) replication package: "Data on Kelly et al. (2021)'s patent indicator are downloaded from the authors’ GitHub repository. A copy of the data is provided as part of this archive. The data are in the public domain. ....

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

Lesson? I don't know about the econometrics - but don't use --quietly-- in #Stata ! (or "source()" without "echo=TRUE" in #R, or drop the ";" in #MATLAB). Good night, and good computing!

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

Of course, this was only 1 of many dozens of regressions in the paper - the rest all converged (how well, we did not get into - that remains for the authors to see, and future replicators!)

We only detect some of these issues - if we happen to have the same sweetspot hardware/software config as the authors, we will not find discrepant answers - , and they are hard for authors to diagnose, unless they have a similar museum of hard- and software versions as Stata does...

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

"If I write -shownrtol- option instead, I will see that (the 'minimum' of all tolerances) is 0, but exact zero means that something can't be computed, in this case the nrtol (which requires inverting the Hessian)."

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

"2) There are huge confidence intervals,... coefficients are poorly identified." "3) The problem is the matrix of second derivatives, that is non invertible. In the cases where we get 'convergence', we get huge or missing standard errors, meaning that it can't really be inverted."

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

"1) there are missing standard errors. ... an indication that there is a problem with the Hessian (either it has missing values, or for some reason it can't be inverted), so you can't trust your results."

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

View full thread

As it turns out: Authors ran with Stata 19 MP10 ! One of the few combinations that worked... I had sent a MWE (minimal working example - reducing the authors' problem from 100s of lines of code to 2 dozen). One of Stata's statisticians got back to me... I'm putting here much of what they wrote...

"Stata, like any other software package, has fixed criteria to convergence declaration. It's not foolproof. There will be always cases where convergence will be 'declared' and it shouldn't."

Recent case, re-run of the authors' code failed on a first-stage regression, blocked code from completing. Hard to initially diagnose, because "qui do regression_55.do" shows no output... 🤦Back and forth with authors, they provide evidence that it works on their system. We send MWE to Stata support👇

They respond very quickly, and then very thoroughly! Thanks @stata.bsky.social ! It remains... a mystery. While we ran the code on Windows Server (Stata 19now) and Linux (S19now), the authors ran it on Windows Enterprise (Stata19). Ours failed, theirs did not. Turns out, that's not enough.

Stata folks ran the following: "convergence on Windows box running Stata 18 MP32 and Stata 19 MP8, but `set processors` to any number less than 8 cause not converging....Mac mini Apple M2 pro/ S19MP16 NOT...Linux/S19MP16, S19SE, S18MP2, S17MP2, S16MP2, NOT converged for any number of processors"

From an anonymous replication package: the underlying ACS housing-unit microdata (~14 GB across 2006–2019) are **not** redistributed here because of their size. I understand that even back in 2006, 1.44MB floppy disks were going out of style... We draw the line at about 2TB, we have solutions!

I just wanted to remind folks: Excel! "In updating the replication package so that inputs for Figure 1 are produced by code... hard-coded input cell in the Excel workbook ... outdated reference" Luckily, caught, and change was minor. Please use code to produce tables, figures!

If you need to use Excel for figures (which can be easier, I admit), write to Excel from your programming language of choice. Then create the figure referencing the sheet or area that is filled in by your programming language, voilà: automatically updating figure!

Also just a few spots available in VANCOUVER, with registration closing May 12, for #CEA2026 .

AEA Data Editor@aeadata.bsky.social

If French is not your thing, but 🇨🇦 is, come to Vancouver at the #CEA2026 for THAT summer school: aeadataeditor.github.io/talks/2026-0... @ubcvse.bsky.social @sfuecon.bsky.social (again with Marie Connolly, Data Editor for #CJE)

Last chance to sign up if you haven't already, we're kicking this off next Monday May 11. Venez tous et en grand nombre (unless you're a ⚡fan, I guess... )

AEA Data Editor@aeadata.bsky.social

I start off in 🇫🇷🇨🇦 for the "summer" school at @ciqss-qicss.bsky.social (May is NOT summer in Montréal), soyez les bienvenus! aeadataeditor.github.io/talks/2026-0... conjointement avec Marie Connolly (Data Editor for #CJE)