Kyle Butts
@kylefbutts.bsky.social
1.1K followers 220 following 69 posts
Econ AP at University of Arkansas https://kylebutts.com/
Posts Media Videos Starter Packs
kylefbutts.bsky.social
TIL you can calculate the mean and the variance in one pass through a vector 🤯

Really nice article showing how:
nullbuffer.com/articles/wel...
Numerically stable algorithm for computing the running mean
nullbuffer.com
kylefbutts.bsky.social
If you have any questions about the U of A, please reach out! Happy to answer any questions :-)
kylefbutts.bsky.social
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!!
kylefbutts.bsky.social
Concerned about the southern heat? Being within the Ozarks, makes the summer not too bad. Plus the winter is very temperate..
kylefbutts.bsky.social
If sports are your thing, there's no place better than the SEC
kylefbutts.bsky.social
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..
kylefbutts.bsky.social
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
kylefbutts.bsky.social
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..
kylefbutts.bsky.social
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!
kylefbutts.bsky.social
yup! wrote this after refereeing yet another paper randomizing policy rollout in DID...
kylefbutts.bsky.social
I have a script that should pop up after installing the extension and opening a do file. Does it not do that?
kylefbutts.bsky.social
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
kylefbutts.bsky.social
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.
kylefbutts.bsky.social
The answer is all 0s !!! what a frustrating choice !!!!
kylefbutts.bsky.social
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
```
kylefbutts.bsky.social
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
```
kylefbutts.bsky.social
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
Kyle Butts
Kyle Butts -- Urban Economics and Applied Econometrics
kylebutts.com
kylefbutts.bsky.social
TIL how to download census data (www2.census.gov) super simply.

Finder: Go > Connect to Server > ftp://ftp2.census.gov/. Login as guest and 🤯
kylefbutts.bsky.social
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`:
Reposted by Kyle Butts
zeileis.org
🚨 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:
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])
kylefbutts.bsky.social
WHAT YOU THOUGHT I ONLY HAVE 1 CUTE DOG ?? THINK AGAIN
kylefbutts.bsky.social
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
kylefbutts.bsky.social
snow day in Fayetteville