Dylan Balla-Elliott's Avatar

Dylan Balla-Elliott

@dballaelliott.bsky.social

econ grad student at uchicago. labor + metrics: the cat's name is tycho.

98 Followers  |  244 Following  |  30 Posts  |  Joined: 23.09.2023  |  1.9707

Latest posts by dballaelliott.bsky.social on Bluesky

🫑

28.10.2023 06:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

15.10.2023 03:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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!)

15.10.2023 03:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I haven’t used it a ton but I’ve really liked the little bit that I’ve done in Julia!

15.10.2023 03:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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.

14.10.2023 15:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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!

14.10.2023 14:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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!

14.10.2023 14:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Totally!

Just highlighting that the defaults make it easy to accidentally compare floats with doubles.

14.10.2023 14:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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)

14.10.2023 13:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

brought to you by a morning of me slowing losing my mind

13.10.2023 16:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

πŸ‘» Spooooky Stata fact

Stata by default uses *float* precision to store data and performs calculations in *double* precision, which means that:

gen x = 1.1
assert x. == 1.1
^^ this is false!!

πŸ“ˆπŸ“‰ πŸ™ƒ

13.10.2023 16:04 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 4    πŸ“Œ 2
Post image

Good news is bad

06.10.2023 13:48 β€” πŸ‘ 156    πŸ” 22    πŸ’¬ 7    πŸ“Œ 1
Preview
Does "Trickle Down" Work?: Economic Development Strategies and Job Chains in Local Labor Markets Persky, Felsenstein, and Carlson explore a new framework for evaluating state and local economic development efforts. They propose a method, referred to as the β€œjob-chains approach,” that they say...

One area of research in labor econ/urban econ in which I think there is a lot of potential for productive future research is in job chain models of local labor markets. #EconSky. For intro to potential of such models, see research.upjohn.org/up_press/25/

05.10.2023 13:42 β€” πŸ‘ 10    πŸ” 4    πŸ’¬ 1    πŸ“Œ 2
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

this article has a bunch (in political science) and shows that basically the results there do mostly survive the new methods!

04.10.2023 23:42 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

ah this is very cool! ty!

04.10.2023 21:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

#econsky πŸ“‰πŸ“ˆ is there an (applied) example of a synthetic control paper that writes down a factor model for the outcome of interest?

04.10.2023 21:15 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

Ah well nevertheless

04.10.2023 12:07 β€” πŸ‘ 22    πŸ” 7    πŸ’¬ 2    πŸ“Œ 1
Post image

Ah well nevertheless

04.10.2023 12:07 β€” πŸ‘ 22    πŸ” 7    πŸ’¬ 2    πŸ“Œ 1
Post image Post image

"Worker Mobility in Production Networks" -- neat paper that brings together employer-employee data and firm-to-firm transactions to demonstrate the role played by production networks in shaping the job search and matching process. #EconSky πŸ“ˆ

πŸ”— steg.cepr.org/sites/defaul...

03.10.2023 20:57 β€” πŸ‘ 17    πŸ” 10    πŸ’¬ 1    πŸ“Œ 0

unfortunately inspired by a typo in a pset question last year

03.10.2023 23:55 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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.

03.10.2023 23:38 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@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

03.10.2023 22:11 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Post image

grad school so far:
I hope I can learn how to do good applied work ->
I guess I should learn how IV works so I can do good applied work ->
I guess I should learn how OLS works so I can do good applied work ->
I guess I should learn what a standard error is so I can do good applied work ->
???

03.10.2023 22:05 β€” πŸ‘ 14    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

I’ll definitely have to include this in the next draft!

28.09.2023 18:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
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.

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_...

28.09.2023 18:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1

Thanks Vitor!

26.09.2023 11:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

hi #EconSky! πŸ‘‹

I’m a third-year econ phd at uchicago studying behavioral development! I just recently returned from scoping work in Nigeria and Uganda investigating trust and family ties in firm decision making.

otherwise, I’m a proud Buffalo native, runner, and fan of electronic and folk music

26.09.2023 01:33 β€” πŸ‘ 16    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

check out the full paper here: dballaelliott.com/papers/info_iv/

or on arxiv: arxiv.org/abs/2309.11387

25.09.2023 17:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

In an application, I estimate that the average partial effect is about 40% larger than the TSLS estimate. As theory predicts, this occurs because belief effects are close to zero for the group that updates the most (and thus has the largest TSLS weights).

25.09.2023 17:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I show that a Bayesian learning assumption is sufficient* to identify the average effectβ€”instead of a complicated TSLS weighted averageβ€”in designs with multiple signals.

(*Bayesian learning is stronger than necessary and as shown in the paper can be relaxed in specific ways.)

25.09.2023 17:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@dballaelliott is following 20 prominent accounts