What is this?

Use this app to learn 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 Process: using probability models (models for how data can be produced);
  • Inference: using likelihood models (almost the inverse of probability, where we try to infer the data generation process from the data);
  • Quantities of Interest: using statistical simulation, enabling you rather than some software program to control how statistical results are presented, so you can understand your results and impactfully present them.

Why use it?

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).

How do you use it?

Follow the bouncing arrow above!

Where can you find more information?

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.

Documentation

▸ Math Documentation:

To learn more about the math behind 2K1-in-Silico, see the math documentation.

▸ X Values:

To learn more about our covariates, see the X Values documentation.

▸ Local R Install:
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().




Generated Y (from DGP Tab)


Guesstimate

Statistical Model


Log Likelihood


Maximum Likelihood Estimates