grand_schemer Profile Banner
Marc Kaufmann Profile
Marc Kaufmann

@grand_schemer

Followers
101
Following
80
Statuses
29

Behavioral Economist @CEU | Data skills rated R | Racketeer (@racketlang)

Vienna
Joined October 2022
Don't wanna be here? Send us removal request.
@grand_schemer
Marc Kaufmann
7 months
RT @ACMFUNARCH: The program for #FUNARCH2024 is up! We have a diverse lineup, ranging from experience report on applied functional software…
0
5
0
@grand_schemer
Marc Kaufmann
10 months
RT @QJEHarvard: Recently accepted by #QJE, “Understanding Markets with Socially Responsible Consumers,” by Kaufmann, Andre, and Kőszegi: ht…
0
15
0
@grand_schemer
Marc Kaufmann
2 years
RT @CESifoNetwork: Welcome @MatsKoester to our network - we are looking forward to future cooperations with @ceu - check out Mats' Twitter…
0
2
0
@grand_schemer
Marc Kaufmann
2 years
RT @volodarik: ChatGPT has crossed 1M+ users in just 5 days. To compare, it took Netflix 41 months, FB - 10 months, and Instagram - 2.5 m…
0
10K
0
@grand_schemer
Marc Kaufmann
2 years
RT @RobertLepenies: Genau jetzt ist die Zeit für Hochschulen, Schulen, Journalismus, Marketing, Kommunikation, GPT-3 ernst zu nehmen. Ich f…
0
483
0
@grand_schemer
Marc Kaufmann
2 years
@GaborBekes @StatStas @ceu @Stata @korenmiklos @arieda_muco @martonfleck @AsjadNaqvi Yep, and good points on some of the trash talk (*cough* by me). Next time we should have a clear cut between debating points and our honest (if still not accurate) opinions.
0
0
2
@grand_schemer
Marc Kaufmann
2 years
@kennedymwavu @arieda_muco @korenmiklos @AsjadNaqvi Thanks, that works for the use case as I stated it. The problem is there is actually more text after 'Team R', e.g. 'Team R ...'. In the end, I used a regex, but this approach is nice for one-to-one custom matchings.
0
0
2
@grand_schemer
Marc Kaufmann
2 years
@adriaaaaaaan @arieda_muco @korenmiklos @AsjadNaqvi Thanks, that works for the example I gave - although in the actual example there is additional stuff after, e.g. "Team R ...". But that made me think of regex, which works: mutate( convincing = str_match( convincing, "Team ([A-Za-z]+)")[,2] ) )
0
0
4
@grand_schemer
Marc Kaufmann
2 years
@arieda_muco @korenmiklos @AsjadNaqvi Question to #RStats: what is a clean way to replace the `case_when` in `mutate` by a single line (function call or otherwise)? Assume that `convincing` is a column of "Team R", "Team Stata", or "Team Python" strings. My attempt defines a non-trivial function `get_lang`.
Tweet media one
Tweet media two
3
2
4
@grand_schemer
Marc Kaufmann
2 years
@korenmiklos @AsjadNaqvi The R code's pretty nice in my opinion (said the proud father). Still beat you by a silly line of code while packing more info! 😀
0
0
2
@grand_schemer
Marc Kaufmann
2 years
@GaborBekes @ceu @Stata @korenmiklos @arieda_muco @martonfleck @AsjadNaqvi And congratulations to @GaborBekes for the Inaugural 'Data Analysis Book of the year Rated R' prize for @Gabors_Data!! The prize was given in the category of best DA book in 2022 with #Rstats code by a person present at yesterday's debate.
Tweet media one
1
3
9
@grand_schemer
Marc Kaufmann
2 years
@korenmiklos Re: LoC (silly metric, but OK). My code is 18 LoC (5 lines are to relabel data I am not yet using, but might later). I could shave off more by putting a lot of `ggplot` code in one line (😉 @AsjadNaqvi).
Tweet media one
2
0
4
@grand_schemer
Marc Kaufmann
2 years
@korenmiklos I plotted the breakdown of final votes: did they come from initial @Stata, #RStats, #Python, or Other voters? Conclusion: The Snake snacked on R and Stata. (Despite Team R winning the "Convincing Team" race!) See
Tweet media one
0
2
2
@grand_schemer
Marc Kaufmann
2 years
0
0
3
@grand_schemer
Marc Kaufmann
2 years
@nmwitzig @benrozemberczki @GaborBekes @ceu @korenmiklos @martonfleck @arieda_muco Not for data analysis. But thanks to @sonicisdead, we have two libraries bringing the goodness of the Tidyverse to Racket: sawzall ( and graphite (. #RStats @racketlang
0
2
6
@grand_schemer
Marc Kaufmann
2 years
RT @TimTeaFan: @thomas_neitmann I’d say that’s totally ok. I have R version 4.1 at work for quite some time now and I haven’t used the nati…
0
1
0
@grand_schemer
Marc Kaufmann
2 years
RT @arieda_muco: Python, vs. R vs. Stata: Who wins? With my colleagues, we are going to have a heated debate on the merits of each language…
0
8
0
@grand_schemer
Marc Kaufmann
2 years
2
0
0