Jared Colston
banner
jaredcolston.bsky.social
Jared Colston
@jaredcolston.bsky.social
Lead Data Scientist @SSTARLab. Ph.D. candidate @UW-Madison in Higher Ed Policy, studying geography of ed. opportunity and impact of colleges on their local economies/communities. Opinions my own.
Good opportunity to plug one of my favorite books I've read in a while by @epopppp.bsky.social
press.princeton.edu/books/hardco...
Thinking like an Economist
The story of how economic reasoning came to dominate Washington between the 1960s and 1980s—and why it continues to constrain progressive ambitions today
press.princeton.edu
January 10, 2025 at 11:52 PM
Huge spillover effects on the broader relish industry
November 21, 2024 at 3:16 PM
Please check it out and let me know if anything breaks with it! This is version 1.0 and I wrote it in about two hours so I'm sure there will be problems that arise! I'll also likely add more functionality as time goes on.
November 20, 2024 at 2:32 PM
And since this command is just a simple wrapper for the -twoway line- command, all other -twoway- options are available:
trendline gdp_percap if inlist(regnum,1,2), time(year) category(regnum) lpattern(dash)
November 20, 2024 at 2:32 PM
-if- statements are also allowed with the command:
trendline gdp_percap if inlist(regnum,1,2), time(year) category(regnum)
November 20, 2024 at 2:32 PM
You can also change the statistic (any statistic available in the -collapse- command):
trendline gdp_percap, time(year) category(regnum) statistic(median)
November 20, 2024 at 2:32 PM
And you can plot by group:
trendline gdp_percap, time(year) category(regnum)
November 20, 2024 at 2:32 PM
The simplest form of the command plots mean values over time for your entire dataset:
trendline gdp_percap, time(year)
November 20, 2024 at 2:32 PM
You can download it using this command:
net install trendline, from("https://raw.githubusercontent.com/jdcols01/trendline/main/installation/") replace

And then just type -help trendline- for the documentation.
November 20, 2024 at 2:32 PM
I used to use -lgraph- but since it doesn't appear to have been updated in nearly a decade, the new -twoway- functions in Stata don't seem to work with it very well. This new package is a MUCH slimmer version purely for plotting aggregates over time. It is particularly useful for multi-level data.
November 20, 2024 at 2:32 PM
Economics of funny
November 13, 2024 at 12:36 PM
Reposted by Jared Colston
19) waffle: A Stata package for Waffle plots
(together with @jaredcolston.bsky.social!)

ssc install waffle, replace

github.com/asjadnaqvi/s...
GitHub - asjadnaqvi/stata-waffle: A Stata package for Waffle charts
A Stata package for Waffle charts. Contribute to asjadnaqvi/stata-waffle development by creating an account on GitHub.
github.com
November 12, 2024 at 9:08 PM