Kyle Butts
@kylefbutts.bsky.social
📤 1109
📥 222
📝 59
Econ AP at University of Arkansas
https://kylebutts.com/
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
4 months ago
8
10
3
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.
4 months ago
1
48
17
The answer is all 0s !!! what a frustrating choice !!!!
add a skeleton here at some point
5 months ago
0
2
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 ```
5 months ago
1
2
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
loading . . .
Kyle Butts
Kyle Butts -- Urban Economics and Applied Econometrics
https://kylebutts.com/blog/2025-04-19-matrix_dimensions
5 months ago
0
5
2
TIL how to download census data (
www2.census.gov
) super simply. Finder: Go > Connect to Server > ftp://ftp2.census.gov/. Login as guest and 🤯
6 months ago
1
23
6
great little explanation on why to avoid passive voice
refactoringenglish.com/chapters/pas...
loading . . .
Passive Voice Considered Harmful
Effective writing for software developers
https://refactoringenglish.com/chapters/passive-voice-considered-harmful/
6 months ago
1
4
2
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`:
7 months ago
3
14
1
reposted by
Kyle Butts
Achim Zeileis
7 months ago
🚨 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:
6
121
47
snow day in Fayetteville
7 months ago
1
4
0
👀
github.com/posit-dev/po...
loading . . .
Positron Assistant by georgestagg · Pull Request #6361 · posit-dev/positron
Initial Positron Assistant scaffolding. FAO @jmcphers.
https://github.com/posit-dev/positron/pull/6361
7 months ago
0
2
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...
loading . . .
https://github.com/kylebutts/Generalized-Imputation-Estimator/blob/main/out/GeneralizedImputationEstimator.pdf
8 months ago
3
43
7
reposted by
Kyle Butts
eli yudin
9 months ago
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
16
2359
609
judge: “so you said the true vote share is in this interval 95% of the time? how could that be true if the true vote share is not in that interval”
add a skeleton here at some point
9 months ago
1
4
0
Working on a new R package. Looking for applications that do two things: 1. DID with y to show an effect 2. DID with X to show a possible “mechanism” of why treatment changed y This could be a published paper or a paper you're working on (that I might help make "fancier" / cooler !!)
9 months ago
1
6
2
Is there a better sign of AI hype than MICROSOFT creating a package to convert docx/pptx -> md USING CHAT GPT ????https://github.com/microsoft/markitdown
9 months ago
2
6
0
never felt so seen
9 months ago
0
15
0
Now would be a great time for overleaf users (my coauthors) to delete their account and stop making me use the bad web app
10 months ago
1
5
0
reposted by
Kyle Butts
Jonathan Colmer
10 months ago
The Environmental Inequality Lab is hiring 2 new pre-docs to join our team! We do research in environmental economics but those with interests in labor/public/urban/spatial/development economics should def apply. Apply here:
tinyurl.com/EIL-pre-doc
@AereOrg
loading . . .
Pre-Doctoral Fellow, Department of Economics and Frank Batten School of Leadership & Public Policy in Charlottesville, Virginia, United States of America | Research at University of Virginia
Apply for Pre-Doctoral Fellow, Department of Economics and Frank Batten School of Leadership & Public Policy job with University of Virginia in Charlottesville, Virginia, United States of America. Res...
https://tinyurl.com/EIL-pre-doc
2
20
29
Working on my applied metrics course; Here are my figures using Ashenfelter's dip (1978 paper)
11 months ago
1
7
0
In Judge FE style settings, how many observations are usually available per judge? Is there ever settings with few number of observations?
over 1 year ago
0
1
2
Been formalizing a lot of my workflow into R packages. Today, I have added `tikzsave` to `kfbmisc` package for making figures: ggplot() -> tikzpicture -> pre-compiled into pdf (using latex themes)
gist.github.com/kylebutts/9c...
over 1 year ago
1
5
1
Metrics question: I have a simple regression: y_i = \beta x_i + u_i y_i is an estimated quantity from a survey and I have the standard error on that estimate. What's the "correct" way to upweight observations with small standard errors?
almost 2 years ago
2
1
0
R Tip: if you have are doing some piping and want to make a quick plot or table, use base R's `with` function (`within` is great too!)
almost 2 years ago
0
2
1
WIP: Write R scripts like you normally do and have them automagically turn into a git-friendly log book that you can share with your coauthors using quarto html:
kylebutts.github.io/repro_project/
md:
github.com/kylebutts/re...
almost 2 years ago
0
11
2
The #1 best piece of coding advice is whenever you think "oh that's kind of a clever solution", put it into a function. Makes using code from past projects way easier
almost 2 years ago
2
6
0
Chris Walter's Mixtape Session on Empirical Bayes methods is next week! I developed this app to build intuition on linear shrinkage estimators (on simulated school value-added data) Shiny app:
mixtape.shinyapps.io/Linear-Shrin...
More info on the course:
www.mixtapesessions.io/session/empi...
almost 2 years ago
0
8
2
Delighted by this really well-made interactive site about all different probability distributions:
www.acsu.buffalo.edu/~adamcunn/pr...
almost 2 years ago
2
42
17
While prepping my JMP slides, I've made some pretty cool updates to my latex slides template: - color rows/cells (with reveal options) - bottom left beamer buttons: \bottomleft{} - customize theme colors(!) - full-size figures: \imageframe{}
github.com/kylebutts/la...
almost 2 years ago
3
55
11
I'm unreasonably excited about the \bottomleft{\beamerbutton{}} trick I've added to my latex-slides template. Look how nice they are down there!!
github.com/kylebutts/te...
almost 2 years ago
2
36
9
New package `fwlplot` is ready to be tried out by some volunteers! This is a 1:1 drop-in replacement for `feols` but instead produces a scatter plot of residualized y on residualized x (first x-var in formula). Works with fixest multi features, e.g.
github.com/kylebutts/fw...
almost 2 years ago
1
11
3
Really great timing for this R&R 🥳
almost 2 years ago
0
14
0
Does anyone have a way of citing working papers in .bib that they think works well? I sort of just do whatever google scholar does..
almost 2 years ago
2
2
1
Hi all! I'm Kyle at CU Boulder in the Economics department (and a job market candidate !!). I mostly tweet about my papers and my open source software/resources. I'll start off with a bsky exclusive. All the pdf slides from NBER methods lectures back to 2007:
github.com/kylebutts/nb...
loading . . .
GitHub - kylebutts/nber_methods_lecture_slides: Slides from NBER Methods Lecture (extracted from the...
Slides from NBER Methods Lecture (extracted from the Wayback Machine) - GitHub - kylebutts/nber_methods_lecture_slides: Slides from NBER Methods Lecture (extracted from the Wayback Machine)
https://github.com/kylebutts/nber_methods_lecture_slides
almost 2 years ago
3
126
37
you reached the end!!
feeds!
log in