# SOCR EduMaterials Activities CoinfidenceIntervalExperiment

## Confidence Interval Experiment

## Description

This experiment randomly samples from a N(μ=0, σ2=1) distribution and constructs a confidence interval for the mean (μ). Note how confidence interval widens as the confidence level increases. This is counterbalanced by the sample-size increase. Also, see the effect of the confidence level, 100(1-α)%, on the frequency of intervals missing the estimated parameter (μ=0, in this case).

## Goal

To provide a simple simulation demonstrating the effects of confidence level and sample-size on the size of the constructed confidence interval, and utilizing this experiment when sampling from almost all symmetric unimodal distributions.

‘’’Experiments’’’

Go to the SOCR Experiment [[1]] and select the Confidence Interval Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:

The control buttons on the top allow the user when to begin and end the experiment. “Step” runs one trial, “Run” executes a number of trials depending on the settings of the list boxes below, and “Stop” ends the trials.

The sample size and number of intervals may be modified by the user’s discretion.

Notice that when alpha has a very small value, the results are also small in value and deviation. The image below shows this information:

## Applications

The Confidence Interval Experiment may be applied to any situation regarding a population parameter associated with a probability that is generated from a random sample. For example, adjusting a machine that is to fill cans with soda so that the mean content of the cups is approximately 8 ounces.

Translate this page:

[http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_Edu
Materials_Activities_ConfidenceIntervalExperiment |
|||||||||||