Tyler Ransom Profile Banner
Tyler Ransom Profile
Tyler Ransom

@tyleransom

Followers
2,939
Following
1,766
Media
260
Statuses
6,732

World-class husband & autism dad・Assoc Prof, @OUeconomics ❤️ LaTeX ⚽️ Chelsea 🏀 Jazz 🏈 BYU・Member, @Ch_JesusChrist ・Political Nomad・日本語好き

Norman, OK (via AZ・UT・🇯🇵・NC)
Joined May 2009
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@tyleransom
Tyler Ransom
7 years
Economists who are interested in #DataScience : I'm teaching a master's-level course this semester entitled "Data Science for Economists." Feel free to follow along---all materials are publicly available on GitHub here:
3
90
326
@tyleransom
Tyler Ransom
6 years
I put together this brief guide for how to do basic econometrics in #tidyR . I hope someone finds it useful!
Tweet media one
9
171
723
@tyleransom
Tyler Ransom
4 years
If there are any PhD or pre-PhD students out there who are interested in remotely taking my structural modeling course this semester, feel free to DM me and I will be happy to add you to the course (up to a capacity constraint). I have already added 2.
24
187
670
@tyleransom
Tyler Ransom
2 years
I'm pleased to announce that I've been awarded tenure and promotion to associate professor! Thanks to everyone who mentored and supported me in any way. Now it's my turn to pay it forward!
65
2
564
@tyleransom
Tyler Ransom
4 years
I detest teaching on Zoom because the audience barely participates at all. I love holding department meetings on Zoom because the audience barely participates at all.
3
26
377
@tyleransom
Tyler Ransom
2 years
Some slides on writing clean code that I'm including in my PhD class this fall:
2
56
354
@tyleransom
Tyler Ransom
7 months
In case anyone is interested, here are the slides I shared with our PhD students today about how to do research.
5
61
327
@tyleransom
Tyler Ransom
6 years
Also, in case it's useful, here is an entire overview of undergrad econometrics (no matrix algebra) in 3 pages:
Tweet media one
10
66
290
@tyleransom
Tyler Ransom
3 years
The good news: I recently had a paper accepted by JHR! The bad news: I had to convert from LaTeX to Word Here is a checklist for my process, in case anyone out there needs to do the same.
19
28
292
@tyleransom
Tyler Ransom
4 years
For anyone who wants avg income by US ZIP code, here is some code: library(tidyverse) zipdata <- read_csv("") %>% mutate(avg.salary = A00200/N00200) %>% select(STATEFIPS,STATE,ZIPCODE,avg.salary) save(zipdata,file="IncomeByZIP.rda")
3
34
282
@tyleransom
Tyler Ransom
4 years
If anyone out there is wondering about structural models, I've just posted this slide deck that might be helpful. If you feel I have mischaracterized your tribe, feel free to submit a pull request or issue! 😆
13
50
265
@tyleransom
Tyler Ransom
6 years
I'm using #Rstats to teach introductory econometrics this semester. Most class periods, my students will be doing a lab in small groups. I'm posting the labs here in case they are of use to anyone else:
5
55
254
@tyleransom
Tyler Ransom
5 years
Today, I'd like to give a shout-out to those JMCs who haven't gotten any first-round flyouts. I was right there among you 5 years ago.
4
36
239
@tyleransom
Tyler Ransom
4 years
Yesterday was a big day: The paper I wrote for my PhD 2nd year field paper nearly 10 years ago (and now coauthored with @docashworth , @VJosephHotz and Arnaud Maurel) got accepted at Journal of Labor Economics! I'm pretty much feeling like #GronkSpike
15
3
234
@tyleransom
Tyler Ransom
4 years
I've never had major problems with depression, but these past two weeks (since I found out the kids aren't going back to school) have mentally been absolutely brutal. Toughest time since the job market 5½ years ago. Stay positive, everybody!
7
2
191
@tyleransom
Tyler Ransom
4 years
I shudder every time I see a Stata-generated graph in a published paper that still has the default blue background. graphregion(color(white)), people!
10
15
170
@tyleransom
Tyler Ransom
2 years
Big congrats to @jenniferdoleac and @benconomics for winning the H. Gregg Lewis Prize for best paper published in Journal of Labor Economics over the past two years!
8
14
162
@tyleransom
Tyler Ransom
1 year
Hey #EconTwitter : OpenAI's embeddings can be used for fuzzy string matching! And best of all—API calls are super cheap (1¢ for every 25,000 characters). Here's a GitHub gist that will produce the following image in <75 lines and basically for free:
Tweet media one
7
23
144
@tyleransom
Tyler Ransom
4 years
Finally, if you're interested in using the NLSY surveys, I highly recommend checking out our replication kit (Careful: the ZIP is nearly 2 GB). We put a *ton* of work into making the two NLSYs compatible, so please don't reinvent the wheel!
5
43
137
@tyleransom
Tyler Ransom
5 years
New paper out, with Gizem Kosar and Wilbert van der Klaauw: We estimate migration preferences using a choice experiment. People have strong preferences for living near family + those with shared norms/values. Psychological moving costs are large!
4
32
133
@tyleransom
Tyler Ransom
4 years
I'm thrilled that this paper has just been accepted at Journal of Econometrics! The editor and referees made it a better paper. I'm glad to have worked with @gizemkosar and Wilbert van der Klaauw---two stellar economists! Replication kit available here:
@tyleransom
Tyler Ransom
5 years
New paper out, with Gizem Kosar and Wilbert van der Klaauw: We estimate migration preferences using a choice experiment. People have strong preferences for living near family + those with shared norms/values. Psychological moving costs are large!
4
32
133
10
7
132
@tyleransom
Tyler Ransom
3 years
variable _merge already defined
7
0
131
@tyleransom
Tyler Ransom
11 months
Thanks to @MelissaLDell and @96abhishekarora you can now do this for free in Python! Entire code in next tweet
@tyleransom
Tyler Ransom
1 year
Hey #EconTwitter : OpenAI's embeddings can be used for fuzzy string matching! And best of all—API calls are super cheap (1¢ for every 25,000 characters). Here's a GitHub gist that will produce the following image in <75 lines and basically for free:
Tweet media one
7
23
144
1
17
130
@tyleransom
Tyler Ransom
2 years
I am grateful to have received this award! Thanks to all my coauthors, colleagues, and students.
@OUeconomics
OU Economics
2 years
Our colleague @tyleransom was recently granted the @OUArtsSciences Irene Rothbaum Award, which is awarded each year to the outstanding assistant professor out of more than 100 in the college. Congratulations, Tyler!
Tweet media one
0
0
11
15
0
122
@tyleransom
Tyler Ransom
3 years
Every year I see more and more coauthored JMPs. I think this is a good thing.
5
4
120
@tyleransom
Tyler Ransom
4 years
I love both Five Guys *and* In-N-Out. It’s kind of like loving both R and Stata.
7
1
108
@tyleransom
Tyler Ransom
5 years
Mind-blowing paper about how the estimated coefficients of a logit model (or odds ratios) are not identified separately from the variance of unobservables.
4
33
108
@tyleransom
Tyler Ransom
4 years
Since nobody asked, here's my 15-step process for doing referee reports: 1. when I first accept a request, I add the line to my CV. I also create a folder for the journal and a sub-folder for the month-year that I perform the review 2. I also add it as a card on my Trello board
6
15
104
@tyleransom
Tyler Ransom
6 years
A horror film for my econometrics students.
Tweet media one
3
26
98
@tyleransom
Tyler Ransom
6 years
@amandayagan @arpitrage @maxkasy Also if you want a quick cheat sheet for how to code basic econometrics estimators in R, I made a cheat sheet that I distribute to students (I will be updating it in the coming weeks based on twitter feedback):
@tyleransom
Tyler Ransom
6 years
I put together this brief guide for how to do basic econometrics in #tidyR . I hope someone finds it useful!
Tweet media one
9
171
723
0
18
97
@tyleransom
Tyler Ransom
5 years
Life with #autism : last night I came home from a conference and my flight got in 30 minutes early. When I showed up at my house, my son was extremely upset and told me to go back to the airport, that I wasn’t welcome because I wasn’t following the schedule. 🤣
2
0
93
@tyleransom
Tyler Ransom
4 years
My brother Todd would have been 38 today. My family remembers him by grabbing slurpees from 7-11 since that’s what we did when he was alive. It’s a nice tradition. RIP bro
Tweet media one
2
0
95
@tyleransom
Tyler Ransom
7 months
I made a "GPT" for creating a BibTeX entry from a DOI or URL. Feel free to try it out!
3
18
95
@tyleransom
Tyler Ransom
4 years
My paper with @docashworth @VJosephHotz and Arnaud Maurel is now forthcoming at JOLE. We generalize the Mincer model in four ways to estimate the wage returns to various types of work experience using the NLSY79 and the NLSY97.
2
12
94
@tyleransom
Tyler Ransom
5 years
It just got accepted! Very grateful to the editor and referees who reviewed this paper!
@tyleransom
Tyler Ransom
6 years
When you re-submit an iffy R&R.
3
0
19
4
1
90
@tyleransom
Tyler Ransom
6 years
This surprised me, but twitter economists actually have more research experience than non-twitter economists (and more citations, higher h-indices, etc.).
Tweet media one
2
56
88
@tyleransom
Tyler Ransom
6 years
Hey #EconTwitter , my master's student Rachel Thatcher scraped data from @repec_org on economists' research records and which ones have a twitter profile (registered with RePEc). Her Q: "Do twitter followers predict citations?" Answer: Yes (but beware reverse causation) 1/N
2
34
89
@tyleransom
Tyler Ransom
4 years
Today my employer @UofOklahoma activated a mandatory mask-wearing policy for the foreseeable future. I'm very happy with this decision!
3
6
82
@tyleransom
Tyler Ransom
8 years
@MenInBlazers Found in NC: Most Italian car ever. #Fiat #Juve
Tweet media one
3
8
81
@tyleransom
Tyler Ransom
3 years
Recent realization: Academic writing boils down to repeatedly doing referee reports on your own manuscript Late-stage PhD advising boils down to repeatedly doing referee reports on your student's manuscript
1
2
82
@tyleransom
Tyler Ransom
4 years
My 3rd grader made this awesome histogram of the contents of his bag of letter beads. Next week we’ll work on doing this in ggplot!
Tweet media one
4
0
81
@tyleransom
Tyler Ransom
4 years
Hey @Andrew___Baker and other JMCs, back when I was on the market 4 years ago I put together some code to automate the process of collecting listings (and figuring out which listings were newly posted). You might find this helpful:
0
20
74
@tyleransom
Tyler Ransom
5 years
This was truly one of the “crucible” moments of my life. On top of striking out on the market, my oldest son had just gotten diagnosed as autistic, no one in our house was sleeping well, and my wife was pregnant with our other son. But I got through it, and so can you!
2
1
71
@tyleransom
Tyler Ransom
3 years
Our paper "Divergent: The Time Path of Legacy and Athlete Admissions at Harvard" is now forthcoming at @J_HumanResource . We show that legacies and athletes (LA’s) saw their Harvard admission bonus *more than double* from 1996-2013 (Classes of 2000-2017).
2
12
72
@tyleransom
Tyler Ransom
4 years
Hey Job Market Candidates, my department @OUeconomics is hiring! There is no JOE ad up yet, but it should be posted fairly soon. Hiring is for "macro" and/or "big data" (both very broadly defined).
1
26
67
@tyleransom
Tyler Ransom
4 years
I create all of my BibTeX files by hand in a text editor don’t @ me.
12
0
67
@tyleransom
Tyler Ransom
4 years
What's worse than code that won't run? Code that runs, but doesn't give the correct results. This means you're past the conformability bugs and into the more insidious bugs that are harder to find.
3
1
66
@tyleransom
Tyler Ransom
4 years
Revised and resubmitted. #NoGutsNoGlory
4
0
64
@tyleransom
Tyler Ransom
2 years
While I was on vacation last week I came across a venue called the "R Bar." Sadly, no one wanted to debate dplyr vs. data.table or discuss code piping with me.
Tweet media one
4
2
65
@tyleransom
Tyler Ransom
4 years
Today I'm grateful for a TT job at a good university. I have first-hand experience with how hard landing an academic job can be, and how much noise there is in the process. I am grateful to be able to work with good colleagues and bright and capable students. #GiveThanks
0
0
64
@tyleransom
Tyler Ransom
2 years
As I was grading my final exam for my upper-level undergraduate Economics of Education course, I decided to check how ChatGPT would do on the exam. Answer: ChatGPT scored a 77%, which was just slightly below the class average.
3
10
67
@tyleransom
Tyler Ransom
1 year
I'm reading *Working Backwards*, a book about Amazon culture. I wonder why in academia we don't structure our research seminars in the same way AMZN does its meetings: 1. Everyone reads summary of paper in first 20 mins 2. Discussion ensues 3. Presenter uses slides for backup
9
10
63
@tyleransom
Tyler Ransom
7 years
New paper out, w/Mike Ransom: "Do High School Sports Build or Reveal Character?" /1
Tweet media one
4
25
54
@tyleransom
Tyler Ransom
6 years
These "short guides" to econometrics by Kurt Schmidheiny are top-notch:
2
19
57
@tyleransom
Tyler Ransom
4 years
Both of my kids are in school for the first time in 5½ months, and I feel like Kevin Garnett. Also, I got an R&R this morning!
2
0
59
@tyleransom
Tyler Ransom
4 years
I'm already exhausted and fall semester hasn't even started yet.
2
4
57
@tyleransom
Tyler Ransom
3 years
The @causalinf bump quantified: 49 visits to my website on Sat after this tweet 8.22 visits avg across pvs 9 Saturdays +496% treatment effect Thanks, Scott!
@causalinf
scott cunningham
3 years
Forthcoming at JOLE by @tyleransom and coauthors.
Tweet media one
3
43
224
4
1
59
@tyleransom
Tyler Ransom
6 years
One of my geekier idiosyncrasies is feeling the need to arrange the eggs in ways that preserve the center of mass of the carton. 🤷🏼‍♂️
Tweet media one
9
4
54
@tyleransom
Tyler Ransom
3 years
OK folks, we're all going to have to start following Valerie, because I started following her last week, and the same exact thing happened to me today!
@vkbostwick
Valerie Bostwick
3 years
2 PAPERS ACCEPTED ON THE SAME DAY!!! What is even happening to me?!? Is this real life? 🤯🍾🍾 "Nevertheless She Persisted? Gender Peer Effects in Doctoral STEM Programs" (with Bruce Weinberg) is forthcoming at JOLE
15
16
543
6
0
54
@tyleransom
Tyler Ransom
9 months
New working paper from me, Peter Arcidiacono, Esteban Aucejo, and Arnaud Maurel! The paper looks at how information frictions affect college dropout and post-college labor market sorting. This IZA DP is a revision of an NBER WP from many years ago
Tweet media one
2
10
56
@tyleransom
Tyler Ransom
6 years
My paper on the long-run effects of high school sports participation has landed at Economics of Education Review.
@tyleransom
Tyler Ransom
7 years
New paper out, w/Mike Ransom: "Do High School Sports Build or Reveal Character?" /1
Tweet media one
4
25
54
4
8
52
@tyleransom
Tyler Ransom
5 years
I always wear a blue shirt to class on the day I teach my econometrics students about OLS being BLUE. Today is that day!
6
0
50
@tyleransom
Tyler Ransom
4 years
If anyone wants a broad overview of Julia for folks with mild stats backgrounds, I've just posted some slides that you might find helpful. (These will feature as reference material for my PhD-level structural modeling course this fall.)
2
7
53
@tyleransom
Tyler Ransom
5 years
Migration researchers (e.g. myself, @Richard_Florida , and others) are often interested in how "rooted" the population is. Today, I propose a new measure of "rootedness": a person's roots are where his/her cell phone number area code is.
20
3
52
@tyleransom
Tyler Ransom
4 years
I love charts with tautological legends.
Tweet media one
2
2
52
@tyleransom
Tyler Ransom
5 years
Last week, I taught time series in my econometrics class. Yesterday I had the following exchange: Student: Why does covariance stationarity mean that we can make causal inferences? Me: I'm not sure I know the reason why; it's the black magic of time series.
5
3
51
@tyleransom
Tyler Ransom
4 years
We just completed our latest carpentry project: a “long-run Covid adjustment” home office desk! #econwoodworkingtwitter (I say “we” loosely—it was 85% my wife and 15% me. But she’s still giving me coauthorship.)
Tweet media one
4
0
49
@tyleransom
Tyler Ransom
4 years
It is fascinating to me that, every semester when I teach intro econometrics, I get 1 or 2 students who want to research about happiness. It's the most consistently popular topic.
4
4
49
@tyleransom
Tyler Ransom
5 years
I've had some people ask me recently about how I stay productive, so I wrote a short blog post about it. Check it out, if you're interested:
2
10
47
@tyleransom
Tyler Ransom
1 year
it's kind of crazy how much worse ChatGPT is at Stata than it is at R or Python or Julia.
9
3
48
@tyleransom
Tyler Ransom
5 years
Ditto. I passed first year by the skin of my teeth. Keep in mind that the correlation between first-year performance and research productivity is low (in the population).
@EmilyNix100
Emily Nix
5 years
Btw, I struggled a lot my first year in classes. I ended up doing well only once I got into field courses and then my own research. So if you are also struggling in first year and not encouraged by your first year profs but excited about research, hang in there.
3
9
156
4
1
45
@tyleransom
Tyler Ransom
1 year
I put together a slide deck for my master's class about how to use GPT-4 at each stage of the research process. Hopefully someone else also finds this helpful!
0
7
44
@tyleransom
Tyler Ransom
4 years
I just realized it's been 5 years this weekend since I graduated with my PhD! It feels like it's been a lot longer than that. Maybe because the tenure track + raising two special needs children has made me age in dog years? My eye bags certainly support that hypothesis.
2
0
43
@tyleransom
Tyler Ransom
5 years
@Econ_Marshall Also, no one who works with millions of observations "dream[s] in spreadsheets"
2
0
40
@tyleransom
Tyler Ransom
1 year
I spent a non-trivial amount of time this week fighting with Stata's "file write" command to produce LaTeX files. It turns out that inserting ` and $ into said files can be a massive pain because of how Stata interprets these special characters. Here's what I found to work:
3
4
42
@tyleransom
Tyler Ransom
5 years
It’s a really tough time. But the important thing is not to over-analyze it. Things that helped me: 1. Working on other non-JMP projects 2. Getting counseling 3. Continuing to apply for jobs as they get posted.
1
0
41
@tyleransom
Tyler Ransom
6 years
Cheat sheet has been updated to include more about cleaning data and estimatr package functionality:
@tyleransom
Tyler Ransom
6 years
I put together this brief guide for how to do basic econometrics in #tidyR . I hope someone finds it useful!
Tweet media one
9
171
723
3
6
43
@tyleransom
Tyler Ransom
10 months
@paulgp I'll be teaching my Data Science master's level course in the spring and will be encouraging them use copilot/generative AI, no holds barred. But I spend about a week and a half introducing computing tools, so it fits right into my pre-existing syllabus.
1
7
41
@tyleransom
Tyler Ransom
4 years
I'm grateful for the many contributors to open source software. That includes #GNU , #git , #Rstats , @hadleywickham 's #tidyverse , @JuliaLanguage and all of the excellent packages included with these software. #GiveThanks #FOSS
1
2
39
@tyleransom
Tyler Ransom
4 years
To the extent that I can observe them, I judge people by their BibTeX citation keys and PDF filenames.
3
1
38
@tyleransom
Tyler Ransom
2 years
I'm going to try something new this semester. I'd like to mentor one-on-one a new assistant professor in an R1 econ (or similar) department. If you are a new asst prof who would be interested in this, there is an application form here. Details below:
3
18
39
@tyleransom
Tyler Ransom
4 years
Anyone have a sense for where AER:Insights rejected papers are getting published? Are other top journals accepting shorter articles, or are authors revising these to make them longer? I suspect there are a ton of these out there.
9
3
39
@tyleransom
Tyler Ransom
5 years
I'm so happy to have had two JMCs contact me in the last 36 hours! This is what makes #EconTwitter so great.
@tyleransom
Tyler Ransom
5 years
If you want to talk about it, my DMs are open and my email address is listed on my website.
1
3
25
0
0
39
@tyleransom
Tyler Ransom
1 year
Had a tornado blow by last night within 1000 feet of our house; fortunately we didn't get any damage and no reported deaths. Feeling very blessed and grateful.
3
0
36
@tyleransom
Tyler Ransom
4 years
As @tylercowen would say, "Caring more for thee but not for me."
@lukestein
⑆Luke Stein⑈
4 years
I think if you scratch a bit, you’ll find many things basically come down to this:
Tweet media one
2
50
163
0
6
36
@tyleransom
Tyler Ransom
4 years
Hygienist: You haven't had your teeth cleaned in [checks computer] 2 years? We recommend every 6 months, you know. Also Hygienist: Wow, your teeth look pretty great Me: Shouldn't you be congratulating me for solving the optimal stopping problem?
3
0
36
@tyleransom
Tyler Ransom
4 years
Today, I #GiveThanks for: - PhD advisors who patiently taught (and still continue to) teach me - Coauthors who forgive my many coding errors - Exceptional undergraduate advisors that encouraged me to pursue a PhD in the first place
1
0
37
@tyleransom
Tyler Ransom
5 years
Cool thing I found out how to do in R: Download College Scorecard data directly from NCES! library(rscorecard) key <- 'your-key' sc_key(key) data <- sc_init() %>% sc_select_(c('unitid','instnm','iclevel','ugds')) %>% sc_year(2017) %>% sc_get()
3
6
37
@tyleransom
Tyler Ransom
4 years
Something I haven’t heard talked about: states whose tax revenues are disproportionately from sales taxes are about to get absolutely hammered.
3
3
34
@tyleransom
Tyler Ransom
4 years
Today I spent ~3 hours trying to compare Matlab regression output with Stata regression output. I know that sounds mind-numbing (it was), but Stata is a super useful tool for debugging code written in other languages.
1
1
35
@tyleransom
Tyler Ransom
4 months
I just had an article accepted! 🎉 ... and let me tell you how good it felt to be able to just click "upload ZIP folder" to the journal's data repository with no further headache. Can confirm that it's best practice to start on day 1 as Florian recommends.
@FlorianOswald
Florian Oswald 🇪🇺 🇺🇦
6 months
Let me provide a few comments from the other side on this thread. If you start thinking about reproducibility of your work only the day the paper gets accepted, it can get rough. Start on day 1! We provide workshops! Let’s take a closer look: 1/n
6
26
142
2
0
36
@tyleransom
Tyler Ransom
6 years
Behavioral economics at work: If Stata set the default graphics background to be white instead of light blue (e.g. by making “graphregion(color(white))” the default), the world would be a much better place. #nudge
1
4
36
@tyleransom
Tyler Ransom
4 years
I truly appreciate all of the support you've provided me here! I feel much better after a day full of chores and playing with the kids. I know there are more of you out there who feel the same as me, so let's support each other!
@tyleransom
Tyler Ransom
4 years
I've never had major problems with depression, but these past two weeks (since I found out the kids aren't going back to school) have mentally been absolutely brutal. Toughest time since the job market 5½ years ago. Stay positive, everybody!
7
2
191
1
0
36
@tyleransom
Tyler Ransom
3 years
Go long on structural estimation?
@TDeryugina
Tatyana Deryugina 🇺🇦 🇺🇸
3 years
First they came for our diff-in-diff, now they're coming for our instrumental variables. Sigh...
Tweet media one
11
22
252
4
1
34
@tyleransom
Tyler Ransom
4 years
As it turns out, discrete choice modeling is all about buses. Red ones, blue ones, and deciding when to optimally replace their engines.
1
1
31
@tyleransom
Tyler Ransom
7 years
It’s not every day you get to host your Dad as the visiting seminar speaker at work. Today was a really fun day!
Tweet media one
6
0
32
@tyleransom
Tyler Ransom
5 years
Hey #EconTwitter , what is the possibility of moving PhD programs? I know a first-year student at a low-ranked Econ PhD program who is finding out they're not as enamored with Econ as previously thought and is thinking about applying to policy PhD programs this fall.
13
4
34
@tyleransom
Tyler Ransom
4 years
This model looks underidentified.
2
1
32