Interactive Contingency Table & Simulation Tool

Build tables, calculate probabilities, and run simulations to understand statistical concepts.

A friendly Labrador Retriever service dog wearing a red vest, looking attentively.

1. Build Population Table

Category
Routine Maintenance
Brake/Tire Issues
Row Total
Domestic Car
0
Foreign Car
0
Column Total000

2. Calculations

4. True Sampling Simulation

This simulates drawing a random sample **without replacement** from the total population. Notice how sample probabilities differ from true probabilities due to random chance. This selection also controls the Bootstrap simulation below.

5. Bootstrapping Simulation

This simulation demonstrates bootstrapping. First, we draw one random sample. Then, we treat that sample as our only data and "resample" from it thousands of times (**with replacement**) to estimate the uncertainty and create a confidence interval for the true population probability.