TIL you can calculate the mean and the variance in one pass through a vector π€―
Really nice article showing how:
nullbuffer.com/articles/wel...
@kylefbutts.bsky.social
Econ AP at University of Arkansas https://kylebutts.com/
TIL you can calculate the mean and the variance in one pass through a vector π€―
Really nice article showing how:
nullbuffer.com/articles/wel...
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 π 0And 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 π 0Concerned 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 π 0If sports are your thing, there's no place better than the SEC
23.09.2025 14:45 β π 0 π 0 π¬ 1 π 0Walmart, 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..
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
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..
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!
yup! wrote this after refereeing yet another paper randomizing policy rollout in DID...
23.09.2025 14:17 β π 1 π 0 π¬ 0 π 0I 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 π 0Does 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 π 0github.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.
The answer is all 0s !!! what a frustrating choice !!!!
28.04.2025 16:51 β π 2 π 0 π¬ 0 π 0one would hope!
23.04.2025 17:04 β π 2 π 0 π¬ 1 π 0Stata 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
```
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
TIL how to download census data (www2.census.gov) super simply.
Finder: Go > Connect to Server > ftp://ftp2.census.gov/. Login as guest and π€―
great little explanation on why to avoid passive voice refactoringenglish.com/chapters/pas...
25.03.2025 12:34 β π 4 π 2 π¬ 1 π 0R 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`:
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:
WHAT YOU THOUGHT I ONLY HAVE 1 CUTE DOG ?? THINK AGAIN
20.02.2025 19:44 β π 0 π 0 π¬ 0 π 0Probably 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 π 0snow day in Fayetteville
20.02.2025 15:53 β π 3 π 0 π¬ 1 π 0I 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 π 0I 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 π 0Quick 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...
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 π 17for 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