Kyle Butts's Avatar

Kyle Butts

@kylefbutts.bsky.social

Econ AP at University of Arkansas https://kylebutts.com/

1,113 Followers  |  223 Following  |  69 Posts  |  Joined: 05.09.2023  |  2.0607

Latest posts by kylefbutts.bsky.social on Bluesky

Numerically stable algorithm for computing the running mean

TIL you can calculate the mean and the variance in one pass through a vector 🀯

Really nice article showing how:
nullbuffer.com/articles/wel...

30.09.2025 13:53 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

If you have any questions about the U of A, please reach out! Happy to answer any questions :-)

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

And finally, the department! Our group is a very young and research focused. We have a great group of development/urban/labor folks with a mix of reduced form and structural approaches; A really strong experimental group; and a few applied econometricians who are happy to help!!

23.09.2025 14:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Concerned about the southern heat? Being within the Ozarks, makes the summer not too bad. Plus the winter is very temperate..

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

If sports are your thing, there's no place better than the SEC

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Walmart, JB Hunt, Tyson Chicken are all headquartered here. Many large companies have campuses here as well.

This younger demographic brings a lot of consumptive amenities, like great food! Dinner with speakers is a nice treat..

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image Post image

The arts scene is magnificent:

- Walton Arts Center brings in Broadway shows all year
- Crystal Bridges is a world class art musuem
- The AMP has great live music

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image Post image

We are in the beautiful Ozark mountains with tons of hikes and incredible mountain biking opportunities.

The Razorback greenway makes biking to and from campus very easy and there's a few breweries along the way..

23.09.2025 14:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Come be a razorback! We are hiring two positions this year at the U of Arkansas!

Macro/General Equilibrium: www.aeaweb.org/joe/listing....
Applied Micro: www.aeaweb.org/joe/listing....

Northwest Arkansas is consistently ranked one of the best places to live. Here's some highlights!

23.09.2025 14:45 β€” πŸ‘ 8    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0

yup! wrote this after refereeing yet another paper randomizing policy rollout in DID...

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

I have a script that should pop up after installing the extension and opening a do file. Does it not do that?

10.06.2025 16:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Does anyone have really good examples of a github repository for a research paper. Trying to get good examples for a lesson I'm giving

09.06.2025 16:24 β€” πŸ‘ 10    πŸ” 3    πŸ’¬ 8    πŸ“Œ 0
Post image

github.com/kylebutts/vs...
If you are using vscode and stata, you should try out my extension. It uses interactive window which let's you write in a `.do` file but get a notebook type experience.

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

The answer is all 0s !!! what a frustrating choice !!!!

28.04.2025 16:51 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

one would hope!

23.04.2025 17:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Stata quiz. what do you think the output of `tab` will be?

```
sysuse auto, replace
reg mpg i.rep78 if rep78 == 2, nocons
predict xb
tab xb if rep78 != 2
```

23.04.2025 17:01 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1
Preview
Kyle Butts Kyle Butts -- Urban Economics and Applied Econometrics

kylebutts.com/blog/2025-04...

A short blog post for efficient stats coding. All about the importance of dimensionality when doing matrix operations ft. 100x speed-up of my code

19.04.2025 02:06 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

TIL how to download census data (www2.census.gov) super simply.

Finder: Go > Connect to Server > ftp://ftp2.census.gov/. Login as guest and 🀯

05.04.2025 13:48 β€” πŸ‘ 23    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0
Passive Voice Considered Harmful Effective writing for software developers

great little explanation on why to avoid passive voice refactoringenglish.com/chapters/pas...

25.03.2025 12:34 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Post image

R tip: If you run code but forget to save it in a variable, you can use `.Last.value` in the console.

More, if you want to copy the result to your clipboard, use `clipr::write_last_clip`:

11.03.2025 21:52 β€” πŸ‘ 13    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0
Scatter plot of bill depth vs. length by species (color) and sex (symbol). It shows positive correlations for all species with males tending to have bigger bills than females.

sym <- c(1, 16)
pal <- c("darkorange","purple","cyan4")
plot(bill_dep ~ bill_len, data = penguins, pch = sym[sex], col = pal[species])

Scatter plot of bill depth vs. length by species (color) and sex (symbol). It shows positive correlations for all species with males tending to have bigger bills than females. sym <- c(1, 16) pal <- c("darkorange","purple","cyan4") plot(bill_dep ~ bill_len, data = penguins, pch = sym[sex], col = pal[species])

🚨 The "penguins" data is coming to the base #rstats{datasets} in 4.5.0!

@ellakaye.co.uk & @HeathrTurnr.fosstodon.org.ap.brid.gy r prepared an adapted and a raw version of the data set based on the {palmerpenguins} πŸ“¦ by @allisonhorst.bsky.social @apreshill.com and Kristen Gorman.

πŸ“ˆ Scatter plot:

24.02.2025 13:48 β€” πŸ‘ 120    πŸ” 36    πŸ’¬ 6    πŸ“Œ 10
Post image

WHAT YOU THOUGHT I ONLY HAVE 1 CUTE DOG ?? THINK AGAIN

20.02.2025 19:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Probably doesn’t matter much for this map, but I like st_point_on_surface() because centroids could be not within the shape for weird shaped counties

20.02.2025 16:03 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

snow day in Fayetteville

20.02.2025 15:53 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Positron Assistant by georgestagg Β· Pull Request #6361 Β· posit-dev/positron Initial Positron Assistant scaffolding. FAO @jmcphers.

πŸ‘€ github.com/posit-dev/po...

18.02.2025 22:41 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I use this tip more so when I find a pdf in github I want to skim. Github’s pdf preview is a terrible experience, so I switch to nbviewer

18.01.2025 12:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub Β· Build and ship software on a single, collaborative platform Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.

I think it should not if they can view GitHub.com/. It might even fix some ppl's problems since nbviewer will download the pdf from GitHub and serve that to you

17.01.2025 19:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Quick tip:

If you store a pdf on GitHub, like this:
github.com/kylebutts/Ge...

You can make an easy to view link by replacing `github.com/` with `nbviewer.org/github/` and it looks like this: nbviewer.org/github/kyleb...

17.01.2025 17:22 β€” πŸ‘ 42    πŸ” 6    πŸ’¬ 3    πŸ“Œ 0

You can tell companies’ AI projects are going really well because every app is bait-and-switching their most commonly pressed button with something called like β€œAnswers By Glorp” to get people to even accidentally use it

03.01.2025 06:25 β€” πŸ‘ 2356    πŸ” 591    πŸ’¬ 16    πŸ“Œ 17

for the love of the game. spent all day yesterday making my julia function go from 70 microseconds to 500 nano seconds. the paper is already submitted πŸ€“

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

@kylefbutts is following 20 prominent accounts