StatLens

Statistical visualizations: bell curve, dotplot, histogram, scatterplot with regression line, and confidence interval

Using StatLens in your course?  For instructors →

📝 Reviewing StatLens? Leave feedback in the margin

StatLens is a work in progress, and your feedback makes it better. You can comment right on the page — nothing to install.

  1. Click the < tab on the right edge of any page to open the annotation sidebar (powered by a free tool called Hypothesis). The first time, create a free account.
  2. Select any text on the page, click Annotate, and type your comment — it stays pinned to that exact spot.
  3. Reviewers: if you were invited to the 145 StatLens Review group, pick it at the top of the sidebar (instead of “Public”) so your notes reach the author.

Anything helps — confusing controls, notation you'd change, a chart that misleads, or plain bugs.  

Start by asking: what type of variable do I have? Each row shows all the tools for that situation.

Data Type Explore Bootstrap CI Randomization Test Traditional CI Traditional Test
One Quantitativeone numeric variable (heights, scores, prices…) Descriptive Stats CI for a Mean Test for a Mean CI for a Mean One-Sample t-Test
One Categoricalone variable with categories (yes/no, color, party…) Frequency Table CI for a Proportion Test for a Proportion CI for a Proportion One-Proportion z-Test
Compare Two Groupsnumeric outcome split by group (treatment vs. control…) Compare Groups CI: Diff in Means CI: Diff in Props Test: Diff in Means Test: Diff in Props CI: Diff in Means CI: Diff in Props Two-Sample t-Test Two-Proportion z-Test
Paired Samplestwo measurements on the same subjects (before/after…) Descriptive Statson the differences CI: Paired Diff Test: Paired Diff CI: Paired Diff Paired t-Test
Two Categoricaltwo category variables (group × outcome…) Two-Way Table χ² Randomization χ² Test
One Categorical (fit)one category variable vs. a claimed distribution One Category χ² Goodness-of-Fit χ² GOF Test
Multiple Groups3+ groups, numeric outcome (ANOVA) Compare Groups ANOVA Randomization Pairwise CIsTukey / Bonferroni ANOVA F-Test
Two Quantitativetwo numeric variables (x & y, scatterplot data…) Scatterplot CI for Slope Test for Correlation CI for Slope Regression Slope t-Test
Multiple Regression

Start by asking: what parameter am I estimating or testing?