Kyle Butts's Avatar

Kyle Butts

@kylefbutts.bsky.social

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

1,101 Followers  |  222 Following  |  59 Posts  |  Joined: 05.09.2023  |  2.1604

Latest posts by kylefbutts.bsky.social on Bluesky

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 β€” πŸ‘ 14    πŸ” 1    πŸ’¬ 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 β€” πŸ‘ 122    πŸ” 37    πŸ’¬ 6    πŸ“Œ 10
Post image

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

20.02.2025 19:44 β€” πŸ‘ 1    πŸ” 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 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

snow day in Fayetteville

20.02.2025 15:53 β€” πŸ‘ 4    πŸ” 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 β€” πŸ‘ 2    πŸ” 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 β€” πŸ‘ 43    πŸ” 7    πŸ’¬ 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 β€” πŸ‘ 2366    πŸ” 595    πŸ’¬ 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

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”

18.12.2024 16:07 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

yes, please! You can email me and I'll tell you if it's what I had in mind!

17.12.2024 21:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 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 !!)

17.12.2024 18:28 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

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

15.12.2024 16:05 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Post image

never felt so seen

13.12.2024 11:38 β€” πŸ‘ 15    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I agree re zed; It's so nice visually. If I was a better programmer, maybe I could just `source()` but I'm too much of a print debugger πŸ™ƒ

08.12.2024 17:09 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

have you used it for R?

08.12.2024 02:18 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 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

03.12.2024 17:28 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
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...

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

22.11.2024 14:38 β€” πŸ‘ 20    πŸ” 24    πŸ’¬ 2    πŸ“Œ 5
Preview
Bibliography Function – Typst Documentation Documentation for the `bibliography` function.

Typst is *so fast*. Type a sentence, add a table, etc. and hit save. By the time you turn your head to look it's updated.

I haven't used it with citations yet, but it looks super easy typst.app/docs/referen.... If you have a .bib file, you can do citations

15.11.2024 20:19 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@kylefbutts is following 20 prominent accounts