# SOCR EduMaterials Activities CoinfidenceIntervalExperiment

### From Socr

(→See also) |
|||

(4 intermediate revisions not shown) | |||

Line 3: | Line 3: | ||

== Description == | == Description == | ||

- | This experiment randomly samples from a N(μ=0, σ<sup>2</sup>=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). | + | This experiment randomly samples from a N(μ=0, σ<sup>2</sup>=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). A more [[SOCR_EduMaterials_Activities_General_CI_Experiment | general Confidence Intervals (CI) activity is available here]]. |

== Goal == | == Goal == | ||

Line 24: | Line 24: | ||

==See also== | ==See also== | ||

- | [[http:// | + | * [[SOCR_EduMaterials_Activities_ConfidenceIntervals | Another SOCR Confidence Interval Activity]]. |

+ | * [[SOCR_EduMaterials_Activities_General_CI_Experiment | A General Confidence Intervals (CI) activity]]. | ||

+ | * Christou N, Dinov ID (2011) [http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0019178 Confidence Interval Based Parameter Estimation—A New SOCR Applet and Activity]. [http://www.plosone.org PLoS ONE] 6(5): e19178. [http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0019178 doi:10.1371/journal.pone.0019178]. | ||

== Applications == | == Applications == |

## Current revision as of 00:45, 1 June 2011

## 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). A more general Confidence Intervals (CI) activity is available here.

## 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 Experiments 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:

## See also

- Another SOCR Confidence Interval Activity.
- A General Confidence Intervals (CI) activity.
- Christou N, Dinov ID (2011) Confidence Interval Based Parameter Estimation—A New SOCR Applet and Activity. PLoS ONE 6(5): e19178. doi:10.1371/journal.pone.0019178.

## 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 draw generalizations of the average amount of pollution in Los Angeles with a 95% confidence level.

Translate this page: