Grant McDermott (@gmcd@mastodon.social) Profile Banner
Grant McDermott (@gmcd@mastodon.social) Profile
Grant McDermott (@[email protected])

@grant_mcdermott

Followers
7,067
Following
758
Media
468
Statuses
7,687

Economist @amazon | Affiliate faculty @uoregon | Very sporadic tweets | 🇿🇦 in 🇺🇸

Eugene, OR (via Cape Town, SA)
Joined April 2011
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
I'm teaching a "data science for economists" course this semester. If you're interested in learning more about #rstats , Git(Hub), programming, databases, cloud computation, ML, etc., I'll be making all of my course material publicly available here:
Tweet media one
Tweet media two
54
709
3K
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
I made a slide deck on data.table for my "big data in economics" class: The target audience is #rstats users who are familiar with the #tidyverse , but are (a) interested in what #rdatatable has to offer and/or (b) how the two complement each other.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
13
99
532
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Reminder: Bootstrapping is the most intuitive way to teach inference in introductory stats courses. And the only reason we don’t is because of outdated pedagogy.
12
102
515
@grant_mcdermott
Grant McDermott (@[email protected])
3 months
The `tinyplot` 📦 is now available on CRAN 🎉 _tl;dr_ `tinyplot` is a super lightweight extension of the base #rstats graphics system. Makes it easy to draw complex (base) plots with minimal code/effort. See the website for a detailed tutorial + more info.
Tweet media one
Tweet media two
4
87
433
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Stoked to teach my data science for economists course again this year. Yesterday we covered Git. I’ll repeat that I’m prepared to give this lecture (or another) at any institution that invites me out for a seminar... The lecture slides, etc. are all here:
5
77
414
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
In teaching some intro-to-ML stuff, I've noticed that there's not a nice automated way to visualize decision tree partitions in #ggplot2 . So I packaged up some simple functions in my spare time (ha ha, I know). Feel free to kick the tyres. #rstats
Tweet media one
4
69
398
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
My American friends are incredulous whenever I explain the restrictions of the H-1B visa. My spouse is not allowed to work. I cannot accept short-term work offers (consulting gigs or paid speaking engagements). I cannot put my house on Airbnb. Even volunteer work is complicated.
@Noahpinion
Noah Smith 🐇🇺🇸🇺🇦🇹🇼
6 years
1/The next book in my "immigration and diversity" reading list is "Probationary Americans", by Edward Park and John Park. It's about all the hoops that America makes immigrants jump through these days.
8
52
170
16
125
360
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
When you finish a PhD in ANY FIELD they take you into a special room & tell you that, actually, there aren’t very many academic jobs available.
3
29
335
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
If you are a Stata user (or you know one!) you really should check out @JulianReif 's fantastic reproducibility and coding guide. Lots of good advice and it even comes with an @AeaData -compliant sample replication package.
4
97
318
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
I'm seriously considering turning my "Data Science for Economists" course notes into a book. You can help me decide by answering three simple polling questions below! (Comments and retweets appreciated.)
13
61
271
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
A shortcut I like to use is calling multiple geoms in an lapply() call, since this automatically generates a list. Works well for investigating plotting variations, e.g. ggplot(diamonds, aes(carat)) + lapply(c(50,200), function(b) geom_histogram(bins=b, alpha=0.3))
Tweet media one
4
24
185
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Siri, show me the earliest known example of the Coase Theorem.
@JenAshleyWright
Jennifer Wright
6 years
This woman is both my hero and history's greatest villain.
Tweet media one
103
6K
26K
1
40
173
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Hear me out. Netflix, but with good movies.
15
8
162
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
In news that will surprise no-one, @edrubin has produced some stellar lecture material for his PhD econometrics course. If you'd like to learn more about econometrics, causal inference, simulation (and the R code to do it all), please check out his repo:
2
39
147
@grant_mcdermott
Grant McDermott (@[email protected])
8 years
ISIS in their own words. Fairly astonishing. Truly clarifying.
4
60
115
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@dlmillimet @snavarrol @causalinf Underscoring the madness that most PhD programs don't offer a dedicated data cleaning & wrangling course. Or workflow or version control. We just feed students pristine datasets & puzzle over the fact that so many struggle to stay on track. At least offer a programming bootcamp!
3
10
127
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
New mini #rstats 📦: An #rmarkdown template that I use for exporting documents to both PDF and HTML format. Takes care of various annoyances/inconsistencies like: - Author affiliations - Multicolumn environments - Non-standard fonts in PDF plots - etc.
Tweet media one
Tweet media two
4
17
112
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Same, but for plotting software & themes. Stata white: economist. Stata default blue: labour economist. ggplot2 default grey: Just learnt ggplot2. (Or, Hadley Wickham.) ggplot2 other: omg I love R Matplotlib: masochist/macroeconomist. Excel: "data scientist in finance".
@profmusgrave
Thankful Musgrave 🦃
6 years
What an academic's choice of typeface for their CV reveals about them: Times New Roman: old Computer Modern: math snob Garamond: style snob Calibri: don't know how to use Word Arial: Google Docs user Comic Sans: nothing left to prove
607
1K
8K
3
17
109
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@rachelsederberg @jenniferdoleac @wtdickens I have a deck tailored towards economists here:
2
14
108
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Woah.. I just tried the newly-enabled GPU support for #julialang 's FixedEffectModels package (for high dimensional FEs) & the performance boost is truly impressive. At least 2x as fast as the next best option. Some benchmarks from an actual model that I'm estimating. #econtwitter
Tweet media one
7
22
106
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Since I'm seeing renewed calls for a programming bootcamp on #EconTwitter ... Here's the (updated) shell lecture that I'm giving this week:
3
19
102
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@JoshuaSGoodman We've just done the same @uoregon . I've been amazed at how well/quickly senior faculty have embraced the transition. (The students seem very happy.) @edrubin and I have put together various resources for our colleagues. E.g. this "bare minimum" intro to R:
5
17
98
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Since various SW benchmarks are going around today... A short thread on why I use #rstats . Put simply, it offers by far the fastest & most efficient tools for the work I do (i.e. mostly data wrangling & applied econometrics).
2
24
96
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
As I say in the syllabus, this course basically covers all of the things I wish I'd been taught in grad school. At the same time, I've benefited immensely from so many people making their teaching materials (and software!) publicly available. This is me trying to pay it forward.
2
3
85
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Okay this is my favourite student gift this quarter. We used Natural Lite as an ex. of an inferior good during my intermediate micro class... even though I kept saying I'd never tried it. PS. Blame @mikeanton13 , whose lecture notes I cribbed. PPS. Will this work with Laphroaig?
Tweet media one
3
9
84
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Well, well, well... another development in the HDFE model space. Check out the new #rstats fixest 📦. Claims to be significantly faster than lfe, reghdfe, et al. No GPU required and also supports non-linear models (logit, etc.)
Tweet media one
5
19
82
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Pretty niche, but here's one I use: You can trick R into giving the full marg. effect of interaction terms by writing the model as y~x1+x1:x2 (instead of y~x1*x2). E.g. Say you want the full ME of 'Wind:Month6'. On the LHS you must add -2.368+4.051. The RHS gives 1.683 directly.
Tweet media one
Tweet media two
@toddrjones
Todd Jones 🦊
5 years
#EconTwitter , what is one of your favorite programming tricks/commands? #rstats #Stata One of mine: in LaTeX, to easily refer to a table/figure, define the file path in a new command: \newcommand\path{../output/} ... \input{\path/tbl.tex} (tbl.tex is a table in its own file)
6
5
38
5
11
84
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
JPE switching to monthly publishing schedule in 2020.
@urbanthoughts11
21st Century City
5 years
1970: One more lane will fix it. 1980: One more lane will fix it. 1990: One more lane will fix it. 2000: One more lane will fix it. 2010: One more lane will fix it. 2020: ? via @avelezig
6K
76K
218K
1
5
83
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Checking commit histories for student projects and, yeah, they got this GitHub stuff down.
Tweet media one
3
0
80
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
* Talking to my 5yo about the different things grown-ups do for a living. Me: You know what my job is, right? 5yo: Sure. You are Mom's helper.
1
1
79
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
So a pretty good weekend was topped off by receiving this letter last night...
Tweet media one
7
1
74
@grant_mcdermott
Grant McDermott (@[email protected])
5 months
I’m giving this workshop👇on high-performance data wrangling next week. $/€20 gets you in the door, with all proceeds to UKR aid orgs. I promise to make it worthwhile. tl;dr The power of these newer data tools is honestly staggering. I use them all the time. You can too.
@d_mykhailyshyna
Dariia Mykhailyshyna
6 months
❗️Our next workshop will be on May 2nd, 6 pm CEST on Big Data wrangling with DuckDB & Polars! Register or sponsor a student by donating to support 🇺🇦! Details: Please share! #AcademicTwitter #EconTwitter
Tweet media one
2
23
52
2
15
75
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Even more reshaping benchmarks. (Give the people what they want.)
Tweet media one
Tweet media two
7
10
67
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
ICYMI: My "data science for economists" course material is available online. We just got to webscraping and I'll be adding links to new lecture slides each week as part of this original thread. 👇
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
I'm teaching a "data science for economists" course this semester. If you're interested in learning more about #rstats , Git(Hub), programming, databases, cloud computation, ML, etc., I'll be making all of my course material publicly available here:
Tweet media one
Tweet media two
54
709
3K
2
16
67
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
It's my mid-term tenure review today. By chance, my former adviser (and all-round dude) Chris Costello was passing through town and we managed to grab breakfast together. It's amazing how much of our success is just being lucky enough to have great mentors.
2
0
63
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Last week, I mentioned a trick for quickly obtaining the full marginal effect of interaction terms. Here's an expanded blog post version, showing that the same shortcut works for higher-order interactions and non-linear models.
4
13
64
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Enjoyed myself a little too much making these 3-D plot of global fishing activity. It's almost cheating how easy @tylermorganwall 's #rayshader package makes this. #rstats Data from @GlobalFishWatch .
2
14
65
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
With this year's academic job market looking miserable, it's a good time to ask: How are we preparing our students for life post-grad school? (Graduate students: How are you preparing yourselves?) Internships, networking, marketing, etc. Lots of ideas and sage advice here 👇
1
14
59
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Since people are sharing their 1st year PhD war stories here's mine: I went back to school after 5 years out. There are definite advantages to this, but one mistake I made was thinking it would be easy because I was a lot (like, really a lot) more focused than undergrad.
3
7
58
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Everyone has a favourite package for exporting regression tables. Mine = 👇
3
11
58
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Reminder: @lrberge 's fixest 📦 keeps getting better & better. A new version just hit CRAN with a bunch of new features/fixes. Run high-dimensional fixed effect models at insane speeds... Like, anywhere from 10-100(!) times faster than lfe or reghdfe.
1
9
58
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
I mean, seriously, just look at these slides. #rstats #EconTwitter
Tweet media one
Tweet media two
Tweet media three
Tweet media four
5
4
58
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
For years, I’ve uncritically (if infrequently) parroted the alarming findings of the Stanford Prison Experiment. Turns out it is very close to junk science. I’ll be correcting the record whenever given the chance now. THREAD 👇
5
15
55
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
My TA (in grey) clearly stressed about the impending switch to remote lecturing.
Tweet media one
0
0
55
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Doing my best to stay off social media. But, just to be clear: Damn the racists. Damn police brutality. Damn the nihilists and looters trying to co-opt righteous, peaceful protest. And damn this abominable administration.
0
3
52
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
There have been some innovative new measures od COVID19's impact on the economic, incl Google Trends ( @paulgp et al.) and electricity ( @SteveCicala ). Here's another one that might be of interest: Global GitHub activity.
1
14
53
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Some excellent, free and open-source textbooks for instructors looking to adopt this kind of approach in their own curricula: - @ModernDive : (ht @andrewheiss ) - @OpenIntroOrg : (ht @LindenMcBride )
1
9
50
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 9: Spatial analysis in R. #rstats #spatial
Tweet media one
Tweet media two
Tweet media three
Tweet media four
4
16
50
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Days 1 and 2 of a three day project. Well deserved, I'd say.
Tweet media one
Tweet media two
Tweet media three
4
0
47
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
"The use of chopsticks, for instance, is highly predictable using sequenced genes. It would of course be ridiculous to conclude that chopstick use is genetically determined and unalterable by social institutions." 🔥from @maxkasy .
@maxkasy
Maximilian Kasy
5 years
The politics of machine learning (part II): What are the dangers of ML - filter bubbles and polarization, targeting, inequality, and discrimination, ownership of data and concentration of power:
0
20
67
0
9
45
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Woah... Just seen that @rstudio have made their awesome Package Manager publicly available. Among other things, this means you can install #rstats binaries on multiple Linux distros. (No more installing from source!)
3
9
44
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
@sharatganapati Jus gon leave this here.
0
2
45
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
This is a fun thread. For me it was reading Schelling's Micromotives and Macrobehaviour in undergrad. During grad school, I'd say no book had a deeper impact on my thinking than E.T. Jaynes' Probability Theory. It is phenomenal.
@causalinf
scott cunningham
5 years
I’m curious about what intellectual events changed your life? I’ve said it before but just so I can go first: Becker’s Nobel speech made me go to grad school, Roth and Sotomayor made me think in terms of two sided matching, and George Box made me value what models were and did.
171
44
451
3
6
44
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
To be clear, I think it's only natural and correct for the US to carefully manage its immigration policy. (I am not advocating open borders here.) But the current system seems... sub-optimal from nearly everyone's perspective.
1
6
43
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
ICYMI. Yesterday's lecture notes on spatial analysis. Cancel your expensive GIS software subscription and learn how to draw maps like a boss in R.
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 9: Spatial analysis in R. #rstats #spatial
Tweet media one
Tweet media two
Tweet media three
Tweet media four
4
16
50
1
6
42
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
I'm increasingly converting all of my research projects into packages. It makes so much sense once you think about. Click through for the tips. Stay for the amazing slide deck.
@malco_barrett
https://bsky.app/profile/malcolmbarrett.malco.io
5 years
Looking forward to speaking at @nyhackr tonight! I'll be talking about why your project is already an #rstats package and why you're already walking the path of R development, even if you don't realize it slides:
Tweet media one
10
33
218
0
5
42
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 6: Webscraping: (1) Server-side and CSS. (With an application on scraping Men's 100m world record times from Wikipedia.)
Tweet media one
2
5
39
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
The funny thing is, whenever someone condescendingly tells me that “R is just gimmicks” (or some such nonsense), I know that I just have to show them something like this to convince them to take it seriously.
2
4
41
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Some very happy news from last week. Like her brother, shows an early aptitude for continuous eating and being nocturnal.
Tweet media one
4
0
39
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Not to be that guy... but logging back on here after a few days and thought this would have received more traction. Don't you people like ggplot2 tricks??
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
A shortcut I like to use is calling multiple geoms in an lapply() call, since this automatically generates a list. Works well for investigating plotting variations, e.g. ggplot(diamonds, aes(carat)) + lapply(c(50,200), function(b) geom_histogram(bins=b, alpha=0.3))
Tweet media one
4
24
185
5
0
40
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Reminder that lots of #rstats packages come with built-in, interactive demos and they are great. ## list all demos demo(package = .packages(all.available = TRUE)) ## list demos for xgboost demo(package = "xgboost") ## run one demo("basic_walkthrough", package = "xgboost")
0
9
39
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
ICYMI... (data.table is easily the fastest data wrangling tool I've used in any language... and believe me when I say that I've tried a lot of them.)
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
I made a slide deck on data.table for my "big data in economics" class: The target audience is #rstats users who are familiar with the #tidyverse , but are (a) interested in what #rdatatable has to offer and/or (b) how the two complement each other.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
13
99
532
1
6
37
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 8: Regression analysis in R. A whirlwind tour of (nearly!) all the main regression functions and packages that an applied economist could want: OLS, IV, FE models, robust and clustered SEs...
Tweet media one
Tweet media two
7
11
36
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
@nshulav @causalinf The official data.table documentation is great, but I humbly submit:
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
I made a slide deck on data.table for my "big data in economics" class: The target audience is #rstats users who are familiar with the #tidyverse , but are (a) interested in what #rdatatable has to offer and/or (b) how the two complement each other.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
13
99
532
1
4
36
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@causalinf These are all amazing, but I have a particular fondness for the "Changing just a tiny bit in my LaTeX tabular" GIF:
1
7
36
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
With all the friendly language war stuff stuff by happening in #econtwitter today (R vs Python vs Stata), I want to make over point that I haven't seen elsewhere: Academic econ no longer occupies a privileged position in the econometric sphere.
1
15
38
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
Dinners are good IMHO. What we should end is the ridiculous practice (norm?) of having academic JMCs present in suits.
@poliscibitches
Poli Sci Bitches
5 years
We should end the "dinners as part of the interview" hiring practice in academia. It's awkward for the interviewee, and the whole "we need to know if they'll fit in with the department"/collegiality thing is just another way to discriminate against nontraditional hires.
105
115
2K
4
1
36
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@saraunsaree Either is great. (Anyone who claims x is bad/outdated etc is profoundly misinformed.) I started in Python but now predominantly use R because it has better support for my specific needs. Your needs may be different. If you decide to go the R route:
1
1
36
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
I recently listened to a podcast with Daron Acemoglu in which he mentioned using voice recognition software to write his books (and maybe even papers?) Does anyone else do this? #EconTwitter
Yes
77
No
725
18
8
36
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@toddrjones By *far* (like, 100x for big datasets) the fastest estimation will be with fixest::feols in R. See tutorial and benchmarks here:
3
6
35
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
You have to be very lucky to land an academic job at the best of times. (Trust me, I know.) But, for those of us in quantitative / data-heavy fields at least, your outside option has never been so good. Tool up, stay informed, and know that career happiness comes in many forms.
0
3
34
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
So unlike @causalinf , for instance, knowing (& liking) my outside options were big factors in my mental health. "If prelims go south on me, I can always move on to this other thing.. which is pretty cool actually." Reducing pressure was key. Same on the job market 4 years later.
1
4
35
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
🤯
@JeffDean
Jeff Dean (@🏡)
5 years
Google Dataset Search is now officially out of beta. "Dataset Search has indexed almost 25 million of these datasets, giving you a single place to search for datasets & find links to where the data is." Nice work, Natasha Noy and everyone else involved!
48
3K
7K
1
7
33
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 10: Writing functions and programming intro. #rstats #programming (No nice data visualizations for this lecture, so here is a picture of a border collie puppy instead. Also: objectively the best kind of puppy.)
Tweet media one
2
5
33
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Oh, trust me, I know the feeling.
Tweet media one
2
0
32
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 1: Course motivation and introduction to data viz (with ggplot2).
Tweet media one
Tweet media two
Tweet media three
Tweet media four
2
5
33
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@DinaPomeranz [1/n] I did my PhD in Norway and the support was fantastic. We seriously neglect quality of life in deciding a PhD (mental health, finances, etc.) and I think my experience was hard to beat. More about that here:
2
2
31
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
People don't like to talk about this either, but a very similar argument could be made about open-source software.
@_farahsaid
Farah Said
5 years
How are economists based in developing countries, with limited funding for international trips, ever supposed to catch up (that is, if they are accepted/invited to present at seminars/conferences)?
2
6
42
2
6
32
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Okay #econtwitter , I see a lot of people asking for advice on parallel programming. This lecture has you covered. Going parallel can yield huge benefits, is remarkably easy to do nowadays, and shouldn't cost you a cent extra.
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
Lecture 12: Parallel programming. #rstats #parallel #multicore Learn how easy it is to run R code in parallel (and then congratulate yourself for being so awesome).
1
9
24
2
9
31
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@hhsievertsen I'd call it a marginal effects (or coefficient) plot. See here for a bunch of examples using ggplot2 in R:
1
0
31
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
What a sick fucking joke.
@ReichlinMelnick
Aaron Reichlin-Melnick
4 years
This is bad. ICE just told students here on student visas that if their school is going online-only this fall, the students must depart the United States and cannot remain through the fall semester.
Tweet media one
3K
64K
80K
0
1
29
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
"The blue paradox: Preemptive overfishing in marine reserves": Joint work with Kyle Meng, Gavin McDonald and Chris Costello now available online at @PNASNews ! A quick thread on our motivation and key findings... [1/n]
1
14
31
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
For decades, the go-to textbook for natural resource economics has been Conrad. He has a bunch of nice Excel exercises for solving+plotting dynamic models. It would be cool to update these with Shiny app versions. Here's one example: #EconTwitter
2
4
31
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
But working long hours in the private sector simply does not prepare you for having to *think* constantly. About difficult concepts. A lot of non-academic work is rote. Sure the hours are long (and potentially highly stressful), but the tasks generally aren't mentally exhausting.
3
1
30
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
@TDeryugina -y McStressface.
2
1
27
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
"All co-authors contributed equally to this manuscript." @legogradstudent
Tweet media one
2
0
30
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
@jim_savage_ @causalinf @edrubin and I tried to cover some of these differences in a quick “R intro” that we gave to our colleagues recently:
2
2
30
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Love to type out a long, detailed StackOverflow question only to figure out the answer as I'm about to post.
3
0
28
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
Unhelpful reminder of pre-COVID plans. :(
Tweet media one
5
0
27
@grant_mcdermott
Grant McDermott (@[email protected])
4 years
@KelliMarquardt Honestly, the best guard I've found against this is just to put *everything* up on the web. Sounds counterintuitive, but the bigger your "portfolio" the less you feel judged by any one thing. Plus, I def code better from the outset if I know I'm going to be sharing at the end.
0
0
26
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
@benconomics @amandayagan @edrubin Seconded. Amanda, looks like you’ve already been inundated with good links, but if you’re looking for a “bare minimum” (<1 hr) R intro guide for Stata users... Ed and I put this tutorial together for some of our colleagues:
0
2
28
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
(Also, it turns out that posting screenshots of my slides is an excellent way to spot typos after the fact.)
1
0
28
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@ryanbedwards @ArielOrtizBobea @dynarski Mate, the shock going from a J-1 to H-1B is something. I'm half convinced the current system persists simply mostly because most US citizens (i.e. the actual voting populace) have no idea what it actually entails.
@grant_mcdermott
Grant McDermott (@[email protected])
6 years
My American friends are incredulous whenever I explain the restrictions of the H-1B visa. My spouse is not allowed to work. I cannot accept short-term work offers (consulting gigs or paid speaking engagements). I cannot put my house on Airbnb. Even volunteer work is complicated.
16
125
360
5
5
27
@grant_mcdermott
Grant McDermott (@[email protected])
5 years
@Andrew___Baker @dlmillimet @snavarrol @causalinf At the risk of shameless self promotion, feel free to borrow from mine: Last I checked, it had racked up something like 12,000 unique visitors. Clearly there's demand. @edrubin are starting to work on a book version. More news hopefully soon ;)
0
3
27