Dylan Balla-Elliott
banner
dballaelliott.bsky.social
Dylan Balla-Elliott
@dballaelliott.bsky.social
econ grad student at uchicago. labor + metrics: the cat's name is tycho.
🫡
October 28, 2023 at 6:07 AM
You could imagine a more picky language throwing an error in those cases and making the user be explicit about what they wanted to do, but stata just runs
October 15, 2023 at 3:59 AM
To the point about strong typing, I do think that a lot of unintuitive issues in stata come from the fact that it tries to let you run bad code — eg

missing > 5 returns true, not missing

by default, sorting on a non unique variable will break ties randomly (ignoring random seeds!)
October 15, 2023 at 3:57 AM
I haven’t used it a ton but I’ve really liked the little bit that I’ve done in Julia!
October 15, 2023 at 3:51 AM
Ah sure. You mean equality checks are dangerous generally because of rounding, whether float or double?

Something like
abs(x-y) < 10^-6

instead of
x==y

Or maybe I’m not following your point.
October 14, 2023 at 3:17 PM
I should also say that I spent an ungodly amount of time on your website when I was an RA getting used to Stata. It’s a great resource!
October 14, 2023 at 2:13 PM
There’s a running joke that continuous variables are a modeling fiction because P(X=x) > 0 in any real data set

Apparently this is also true in fake data due to floating point rounding!
October 14, 2023 at 2:12 PM
Totally!

Just highlighting that the defaults make it easy to accidentally compare floats with doubles.
October 14, 2023 at 2:09 PM
Yeah this is exactly the float equality issue.

I think Python is actually more transparent in this example, since printing x shows you the float approximation. In the Stata example, tab will display that x = 1.1 (even though that’s only approximately true)
October 14, 2023 at 1:32 PM
this article has a bunch (in political science) and shows that basically the results there do mostly survive the new methods!
What To Do (and Not to Do) with Causal Panel Analysis under Parallel Trends: Lessons from A Large Re...
Two-way fixed effects (TWFE) models are widely used for causal panel analysis in political science. However, recent methodological literature questions their va
papers.ssrn.com
October 4, 2023 at 11:42 PM
ah this is very cool! ty!
October 4, 2023 at 9:34 PM
Reposted by Dylan Balla-Elliott
Ah well nevertheless
October 4, 2023 at 12:07 PM
Ah well nevertheless
October 4, 2023 at 12:07 PM
unfortunately inspired by a typo in a pset question last year
October 3, 2023 at 11:55 PM
oh you thought you would just add up all the numbers and divide by N? Did you make sure the distribution even *has* a mean? turns out that thing is super poorly behaved, 100 years of measure theory before you get to open up your laptop again. sorry I don't make the rules.
October 3, 2023 at 11:38 PM
@economeager.bsky.social had a tweet a while ago about understanding some of OLS on a good day and I think about that a lot
October 3, 2023 at 10:11 PM
I’ll definitely have to include this in the next draft!
September 28, 2023 at 6:55 PM
This is super great! I wish I had seen this a day or two earlier and I could have incorporated it into the current draft of this.

A key mechanism in this paper is how the effects of beliefs shape belief formation which then shapes belief updating.

www.dballaelliott.com/papers/info_...
Identifying Causal Effects in Information Provision Experiments
TSLS can underestimate the effects of beliefs on outcomes. I propose an alternative way to estimate average effects in information provision experiments.
www.dballaelliott.com
September 28, 2023 at 6:53 PM