Todd Jones
@toddrjones.bsky.social
Economics professor, Mississippi State University, CESifo, IZA | Applied micro, econ of ed, data viz, coding tips | Latter-day Saint | Dad x 4. toddrjones.com
I'm looking forward to visiting the Chicago Fed for a few days this week!
August 11, 2025 at 11:09 PM
I'm looking forward to visiting the Chicago Fed for a few days this week!
Quick @Stata tip: use the "coeflegend" option in a regression to display the name Stata uses for each coefficient.
reg price mpg i.foreign##i.rep78, coeflegend
reg price mpg i.foreign##i.rep78, coeflegend
August 5, 2025 at 6:49 PM
Quick @Stata tip: use the "coeflegend" option in a regression to display the name Stata uses for each coefficient.
reg price mpg i.foreign##i.rep78, coeflegend
reg price mpg i.foreign##i.rep78, coeflegend
The changing relationship between Democratic vote share and
1) the percentage of county with at least a Bachelor's degree
2) median income of county.
1) the percentage of county with at least a Bachelor's degree
2) median income of county.
June 25, 2025 at 6:54 PM
The changing relationship between Democratic vote share and
1) the percentage of county with at least a Bachelor's degree
2) median income of county.
1) the percentage of county with at least a Bachelor's degree
2) median income of county.
Over the past couple decades, Democratic support has grown in more college-educated and higher-income counties, a shift away from its traditional blue-collar strongholds. h/t @shanegoldmacher.bsky.social
June 23, 2025 at 9:28 PM
Over the past couple decades, Democratic support has grown in more college-educated and higher-income counties, a shift away from its traditional blue-collar strongholds. h/t @shanegoldmacher.bsky.social
The relationship between a county’s Democratic vote share (in the 2024 election) and its share of college-educated residents.
May 31, 2025 at 7:50 PM
The relationship between a county’s Democratic vote share (in the 2024 election) and its share of college-educated residents.
Percent (age 25+) with a Ph.D.
On a personal note, I have lived in two of the top 25 (#3 Tompkins County, NY and now #22 Oktibbeha County, MS).
Top 5: 1. Los Alamos, NM (18%); 2. Lexington City, VA (12%); 3. Tompkins County, NY (12%); 4. Orange County, NC (9%); 5. Charlottesville city, VA (8%).
On a personal note, I have lived in two of the top 25 (#3 Tompkins County, NY and now #22 Oktibbeha County, MS).
Top 5: 1. Los Alamos, NM (18%); 2. Lexington City, VA (12%); 3. Tompkins County, NY (12%); 4. Orange County, NC (9%); 5. Charlottesville city, VA (8%).
May 31, 2025 at 3:31 AM
Percent (age 25+) with a Ph.D.
On a personal note, I have lived in two of the top 25 (#3 Tompkins County, NY and now #22 Oktibbeha County, MS).
Top 5: 1. Los Alamos, NM (18%); 2. Lexington City, VA (12%); 3. Tompkins County, NY (12%); 4. Orange County, NC (9%); 5. Charlottesville city, VA (8%).
On a personal note, I have lived in two of the top 25 (#3 Tompkins County, NY and now #22 Oktibbeha County, MS).
Top 5: 1. Los Alamos, NM (18%); 2. Lexington City, VA (12%); 3. Tompkins County, NY (12%); 4. Orange County, NC (9%); 5. Charlottesville city, VA (8%).
Here are some ways the world has gotten better.
May 18, 2025 at 8:55 PM
Here are some ways the world has gotten better.
When in the day are babies born?
May 16, 2025 at 4:28 PM
When in the day are babies born?
Number of births per day, 1994-2014.
May 15, 2025 at 8:58 PM
Number of births per day, 1994-2014.
Average number of US births by day of the year.
May 15, 2025 at 8:03 PM
Average number of US births by day of the year.
Average number of births by day of the week.
May 15, 2025 at 2:52 AM
Average number of births by day of the week.
That was unexpected - Elon Musk retweeted my graph.
May 11, 2025 at 7:08 PM
That was unexpected - Elon Musk retweeted my graph.
There were more Latter-day Saint convert baptisms last year than any year since 1997.
May 6, 2025 at 3:56 AM
There were more Latter-day Saint convert baptisms last year than any year since 1997.
Death rate per 100k by selected causes, ages 0-84.
March 26, 2025 at 1:40 PM
Death rate per 100k by selected causes, ages 0-84.
Death rate per 100k by selected causes, ages 0-39.
March 26, 2025 at 1:40 PM
Death rate per 100k by selected causes, ages 0-39.
Deaths and death rate/100,000, by age.
March 26, 2025 at 3:14 AM
Deaths and death rate/100,000, by age.
Leading Cause of Death by Age.
March 24, 2025 at 10:50 PM
Leading Cause of Death by Age.
To programmatically use ChatGPT in R to automate repeated tasks, e.g., scraping:
1. Get OpenAI API key & add $ to account
2. In R, for each page:
3. Get the page's text
4. Call ChatGPT to process the text, returning result in JSON
5. Convert JSON to dataframe
See screenshots for an example. (1/2)
1. Get OpenAI API key & add $ to account
2. In R, for each page:
3. Get the page's text
4. Call ChatGPT to process the text, returning result in JSON
5. Convert JSON to dataframe
See screenshots for an example. (1/2)
March 12, 2025 at 4:39 PM
To programmatically use ChatGPT in R to automate repeated tasks, e.g., scraping:
1. Get OpenAI API key & add $ to account
2. In R, for each page:
3. Get the page's text
4. Call ChatGPT to process the text, returning result in JSON
5. Convert JSON to dataframe
See screenshots for an example. (1/2)
1. Get OpenAI API key & add $ to account
2. In R, for each page:
3. Get the page's text
4. Call ChatGPT to process the text, returning result in JSON
5. Convert JSON to dataframe
See screenshots for an example. (1/2)
On average, the higher a county's Republican vote share, the higher the fertility rate, according to the correlational analysis at ifstudies.org/blog/the-tru....
February 24, 2025 at 2:27 AM
On average, the higher a county's Republican vote share, the higher the fertility rate, according to the correlational analysis at ifstudies.org/blog/the-tru....
I plotted a histogram of the distances of 701 of my runs, and apparently I like to stop right after hitting whole numbers/5k/10k.
December 20, 2024 at 4:36 AM
I plotted a histogram of the distances of 701 of my runs, and apparently I like to stop right after hitting whole numbers/5k/10k.
Distance to nearest NFL team.
December 13, 2024 at 8:31 PM
Distance to nearest NFL team.
Distance to nearest Bass Pro Shops - probably my most beautiful map ever
December 11, 2024 at 9:29 PM
Distance to nearest Bass Pro Shops - probably my most beautiful map ever
Distance to the nearest IKEA.
December 11, 2024 at 6:13 PM
Distance to the nearest IKEA.
Distance to the nearest R1 university (i.e., "Doctoral Universities – Very high research activity" as classified by the 2021 Carnegie Classification of Institutions of Higher Education).
December 10, 2024 at 6:19 PM
Distance to the nearest R1 university (i.e., "Doctoral Universities – Very high research activity" as classified by the 2021 Carnegie Classification of Institutions of Higher Education).