Simulation-Based InferenceStatLens
Bootstrap confidence intervals and randomization hypothesis tests.
Confidence Intervals (Bootstrap)
-
CI for a Mean
Bootstrap a single mean, median, or standard deviation.
-
CI for a Proportion
Bootstrap a single proportion.
-
CI for Difference in Means
Bootstrap the difference between two group means.
-
CI for Paired Differences
Bootstrap mean difference from matched pairs.
-
CI for Difference in Proportions
Bootstrap the difference between two group proportions.
-
CI for Regression Slope
Resample (x, y) pairs and refit lines.
Hypothesis Tests (Randomization)
-
Test for a Mean
Shifted bootstrap test under H₀: μ = μ₀.
-
Test for a Proportion
Simulate under H₀: p = p₀.
-
Test for Difference in Means
Permutation test for two group means.
-
Test for Difference in Proportions
Shuffle group labels to test two proportions.
-
Test for Paired Differences
Sign-flip test under H₀: μd = 0.
-
Chi-Square Test
Randomization test for a contingency table.
-
Chi-Square Goodness-of-Fit
Draw samples under H₀ to test whether one categorical variable fits a specified distribution.
-
Test for Correlation
Shuffle y-values to test H₀: ρ = 0.
-
ANOVA Test
Shuffle group labels to test equality of means across 3+ groups.