# SOCR EduMaterials Activities CoinfidenceIntervalExperiment

### From Socr

m (→Experiments) |
m (→Experiments) |
||

Line 11: | Line 11: | ||

== Experiments == | == Experiments == | ||

- | Go to the | + | Go to the [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html | SOCR Experiment] 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: |

<center>[[Image:SOCR_Activities_ConfidenceIntervalExperiment_SubTopic_Chui_051107_Fig1.jpg|400px]]</center> | <center>[[Image:SOCR_Activities_ConfidenceIntervalExperiment_SubTopic_Chui_051107_Fig1.jpg|400px]]</center> |

## Revision as of 22:19, 11 June 2007

## Contents |

## 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 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. Since it is not possible for every cup to be filled at exactly 8 ounces, setting the random variable X as the weight of the filling can be applied to this applet. The distribution of X is assumed to be of a normal distribution with an expected mean value and standard deviation.

Suppose engineers want to check for the amount of pollution in the waters of Los Angeles and discover the average amount with standard deviation from the past couple of years. By using this applet, they graw generalizations of the average amount of pollution in Los Angeles with a 95% confidence level.

Translate this page: