1 The Golem of Prague

Rabbi Loew and Golem by Mikoláš Aleš, 1899

Rabbi Loew and Golem by Mikoláš Aleš, 1899

As he opened the chapter, McElreath told us that

ultimately Judah was forced to destroy the golem, as its combination of extraordinary power with clumsiness eventually led to innocent deaths. Wiping away one letter from the inscription emet to spell instead met, “death,” Rabbi Judah decommissioned the robot.

Statistical golems

Scientists also make golems. Our golems rarely have physical form, but they too are often made of clay, living in silicon as computer code. These golems are scientific models. But these golems have real effects on the world, through the predictions they make and the intuitions they challenge or inspire. A concern with “truth” enlivens these models, but just like a golem or a modern robot, scientific models are neither true nor false, neither prophets nor charlatans. Rather they are constructs engineered for some purpose. These constructs are incredibly powerful, dutifully conducting their programmed calculations. (McElreath, 2020a, p. 1, emphasis in the original)

There are a lot of great points, themes, methods, and factoids in this text. For me, one of the most powerful themes interlaced throughout the pages is how we should be skeptical of our models. Yes, learn Bayes. Pore over this book. Fit models until late into the night. But please don’t fall into blind love with their elegance and power. If we all knew what we were doing, there’d be no need for science. For more wise deflation along these lines, do check out A personal essay on Bayes factors, Between the devil and the deep blue sea: Tensions between scientific judgement and statistical model selection (D. J. Navarro, 2019) and Science, statistics and the problem of “pretty good inference”, a blog, paper and talk by the inimitable Danielle Navarro.

Anyway, McElreath left us no code or figures to translate in this chapter. But before you skip off to the next one, why not invest a little time soaking in this chapter’s material by way of a lecture by McElreath, himself? He’s an engaging speaker and the material in his online lectures does not entirely overlap with that in the text. Here’s the first lecture from his Winter 2019 course:

Session info

At the end of every chapter, I use the sessionInfo() function to help make my results more reproducible.

sessionInfo()
## R version 4.0.4 (2021-02-15)
## Platform: x86_64-apple-darwin17.0 (64-bit)
## Running under: macOS Catalina 10.15.7
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## loaded via a namespace (and not attached):
##  [1] bookdown_0.21     digest_0.6.27     assertthat_0.2.1  R6_2.5.0         
##  [5] magrittr_2.0.1    evaluate_0.14     highr_0.8         httr_1.4.2       
##  [9] rlang_0.4.10      stringi_1.5.3     curl_4.3          rmarkdown_2.7    
## [13] tools_4.0.4       stringr_1.4.0     glue_1.4.2        xfun_0.22        
## [17] yaml_2.2.1        compiler_4.0.4    vembedr_0.1.4     htmltools_0.5.1.1
## [21] knitr_1.31