Mastering statistical concepts requires repeated practice, but learning to code in R often diverts attention from the statistics itself. 2K1 simplifies this process, letting students focus on the material without needing coding skills. After lectures and readings, students can use 2K1 to generate data, explore how different choices affect outcomes, estimate models based on the data, and calculate key measures of interest. This approach allows for a deeper understanding of statistics in real-world contexts while keeping both the details and the big picture in view.
Learning while doing -- controlling inputs and watching how outputs change -- tends to be more helpful than static textbooks. However, programming lessons can interrupt learning (for the same reason as you probably don't take swimming lessons during calculus class, even if you need to learn both skills). We also provide extensive and automated in-context assistance if, when, and where you need it (simply click on the little tooltips marked i whenever needed).
Please see our paper “Statistical Intuition Without Coding (or Teachers)”. The ideas here parallel some of the core, model-based content of Gov 2001, a key course in the Harvard Government Department's social science methods sequence (taught for many years by Gary King). All the lectures, videos, and many other teaching materials are available for other instructors and students to use in their courses as well from the course website, j.mp/G2001, many parts of which are linked to in the tooltips in the app. (Thanks to generations of Gov2001 students and teaching fellows for helping us improve the ideas reflected here.) This lecture video gives an overview of the course.
To learn more about 2K1-in-Silico, to send comments or suggestions, or to contribute to this open source package, see the app's website and GitHub repository.
To learn more about the math behind 2K1-in-Silico, see the math documentation.
To learn more about our covariates, see the X Values documentation.
To see substantive applications for various DGP models, see our list of examples.
If you are an instructor, you may find our Technical Lesson Plans helpful starting points.
To see a list of additional resources that follow similar principles, see our list of more apps.
options(pkgType="binary")
.devtools
library: install.packages("devtools")
. devtools::install_github(“iqss-research/2k1-in-silico”, upgrade = T, quiet = T)
, downloading dependencies as needed library("Gov2k1inSilico")
. runGov2k1()
.