by Gary KingZagreb MukerjeeNatalie Ayers, and Dominic Skinnion

What is 2k1-in-Silico?

2k1-in-Silico teaches statistics -- the big picture and the details -- without having to simultaneously learn or use a statistical programming language. We focus on three concepts, each corresponding to its own tab (at the top of the screen):

  • Data Generation Processes: how an assumed statistical model can produce data, based on the probability model of uncertainty;

  • Likelihood: the theory of statistical inference, which is almost the inverse of probability where we try to infer the data generation process from the observed data;

  • Simulation: enabling you (rather than some computer program) to completely control how statistical results are computed and presented, so you can understand your results and impactfully present them.

Why use it?

Learning while doing -- controlling inputs and watching how outputs change -- is more helpful than static textbooks, until now, programming lessons wind up interrupting learning (not much different than trying to take swimming lessons during calculus lectures). 2k1-in-Silico keeps learning interactive without requiring that you also find that bug on line 57. 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).

Where can you find more information?

Please see our paper “Statistical Intuition Without Coding (or Teachers)”. The paper and our app parallels some of the core, model-based content of Gov 2001, the first 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, including this app, 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 for helping us improve the ideas behind this app.) 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.

 

Running 2k1-in-Silico

There are two ways to run the app:

  1. Use the app online:
  2. Install the app locally as an R package:
    • Install R (optionally with RStudio) on your computer
    • Open a new R session, with no packages loaded.
    • Make sure your R is at version 4.0.0 or later.
    • Enter: options(pkgType = "binary")  
    • Install the devtools library: install.packages("devtools")
    • Install the package locally with devtools::install_github("iqss-research/2k1-in-silico", upgrade = T, quiet = T), downloading dependencies as needed
    • Load the package with library(Gov2k1inSilico) 
    • Run the app with runGov2k1()