StatLens For instructors →

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

Build confidence intervals by bootstrapping and test hypotheses by randomization. Part II, Chapters 6–9

Data Type Bootstrap CI Randomization Test
One Quantitativeone numeric variable CI for a Mean Test for a Mean
One Categoricalone yes/no variable CI for a Proportion Test for a Proportion
Compare Two Groupsnumeric outcome by group CI: Diff in Means CI: Diff in Props Test: Diff in Means Test: Diff in Props
Paired Samplesbefore/after on same subjects CI: Paired Diff Test: Paired Diff

See all Simulation tools →


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?