I taught a new advanced masters/intro Ph.D. course on applied microeconometrics in R this semester. Everything is on GitHub, which means it's freely available for all! I spent a lot of time talking about coding, which might not be clear from the slides.
Josh Merfeld
33.1K posts
Development, labor, and nerdy measurement stuff | Sr. Lecturer, @UQ_News | @iza_bonn | @jpal | insulin addict | dad of an awesome girl | previous @kdi_school
- Don’t use these plotsStop using box plots. Use this plot instead. Here's why:
- New paper! Thread later this week joshmerfeld.github.io/assets/papers/…
- This guy is a professor of CS at UW, and yet he's purposefully misleading you. How? By obscuring changes in the mean with countries with relatively large temperature swings from month to month. Plus a very specific subset of all countriesAverage temperatures by month instead of year, and suddenly the climate crisis looks like a joke.
- People at low-ranked US universities are also “excluded” from top-ranked journals. It’s almost like it’s basically a resource issue. Have to teach a lot? Don’t have research funds? Bad incentives? Good luck competing with someone at Harvard who gets a sabbatical in year two.This paper shows that authors from low-income countries remain excluded from top-ranked economics journals and receive less attention from other economists. Developing country authors are far less likely to be published in top journals even when holding citation counts constant.
- Just to stir up some fun: I used stata (exclusively for many years). I never learned R in grad school, at least not seriously. A couple years ago, I had a paper I wanted to write, but it was impossible to write using stata because of some geospatial stuff I would have to do…
- Men will literally make packages for geospatial data in Stata instead of learning R.The #Stata #Oslo 2024 conference #presentations (Keynote + Stataviz part 6) are now up on #GitHub: github.com/asjadnaqvi/The… In the #keynote I discussed major advancements in making #maps in Stata. Two examples from the talk: 1) Hospitals locations that are converted into count
- I know this is a joke but this is the U.S.’s biggest strength. It’s one of a few countries where, no matter where you’re from or what you look like, you can become “one of them.”Nobody beats China except China (This is the Team USA that finally beat China after countless years of trying for Olympic gold in table tennis)Readers added contextTeam USA is comprised of Americans. Moreover, team China has not played team USA thus far at the 2024 Paris Olympics. usatt.org/womens-senior-… nbcolympics.com/news/china-ext…
- One of our PhD students had a fully funded scholarship to be at one of the best universities in the US (not Harvard) for the summer, where she'd learn from a top economist. Visa rejected. I really hate my country sometimes.
- Replying to @ryancbriggsIn Korea kids as young as seven or eight take public transit alone. Was happy to see some primary students on the bus alone here in Brisbane (older, but can’t imagine that in the US).
- We spend so much time teaching students how to estimate things in R/Stata/whatever, but we completely ignore the most time-consuming component of all empirical work: data cleaning. Should seriously have a course devoted to nothing else.
- Oh no. Undergrads are going to get worse at statistics because of this thing!

















