Interactive Demo
Confidence Interval Simulator
Confidence Interval Simulator is a free, interactive learning demo from the AP Statistics course on Lykke. It helps you build intuition for Confidence Intervals for One Proportion, Significance Tests for One Proportion, Comparing Two Proportions, Margin of Error. Play with it directly in your browser — it features 2 sliders, 1 dropdown, 2 buttons, direct drag interaction and a live visual canvas. This demo lives in the “Unit 6: Inference for Categorical Data: Proportions” section of the course.

How to use this demo
- Drag the “Sample Size (n)”, “Confidence Level” sliders to change the inputs and watch the result update live.
- Click and drag directly on the canvas to manipulate the scene.
- Use the “Sample ×10”, “Reset” buttons to trigger actions or reset the demo.
- Pick an option from the dropdown to switch between scenarios.
- Experiment freely — there's nothing to break, and every change is reversible.
What you'll explore
- Confidence Intervals for One Proportion
- Significance Tests for One Proportion
- Comparing Two Proportions
- Margin of Error
- P-values and Significance Levels
- Type I and Type II Errors
Frequently asked questions
What does the Confidence Interval Simulator demo do?
Generate samples to see if the calculated intervals capture the true value. Confidence Interval Simulator lets you explore this hands-on instead of only reading about it.
What AP Statistics concept does Confidence Interval Simulator teach?
Apply inference techniques to estimate and test claims about population proportions using confidence intervals and significance tests. It focuses on Confidence Intervals for One Proportion, Significance Tests for One Proportion, Comparing Two Proportions, Margin of Error, P-values and Significance Levels, Type I and Type II Errors from the “Unit 6: Inference for Categorical Data: Proportions” section.
What can I control in Confidence Interval Simulator?
The “Sample Size (n)”, “Confidence Level” sliders change the key inputs; you can drag elements directly on the canvas; a dropdown switches between scenarios; the “Sample ×10”, “Reset” buttons run actions or reset the demo. Every change updates the visualization in real time, so you can see exactly how each variable affects the outcome.
How does Confidence Interval Simulator fit into the AP Statistics course?
AP Statistics introduces students to the major concepts and tools for collecting, analyzing, and drawing conclusions from data. The course is equivalent to a one-semester introductory college statistics course and focus… This demo is the interactive piece for the “Unit 6: Inference for Categorical Data: Proportions” section. Open the full AP Statistics course wiki at https://www.getlykke.com/explore/public/ap-statistics-70553ac9-70f9-422d-b8b6-c328240d85c1 for notes, flashcards, quizzes and the other demos.
What will I understand better after using Confidence Interval Simulator?
You'll build intuition for Confidence Intervals for One Proportion, Significance Tests for One Proportion, Comparing Two Proportions, Margin of Error, P-values and Significance Levels, Type I and Type II Errors — and, crucially, see how they behave when you change the inputs, which is hard to get from a textbook or lecture on AP Statistics alone.
From the AP Statistics course
This interactive demo is part of the Unit 6: Inference for Categorical Data: Proportions section. Explore the full AP Statistics course wiki on Lykke — with notes, flashcards, quizzes and more interactive demos.
Open the AP Statistics course →