SOCR EduMaterials Activities NegativeBinomial

From SOCR
Jump to: navigation, search

Negative Binomial Experiment

Description

The negative binomial experiment consists of performing Bernoulli trials, with probability of success p, until the k'th success occurs. The successes are shown as red dots in the timeline. The number of trials Y is recorded on each update. The density and moments of Y are also shown in the distribution graph and the distribution table. The parameters k and p can be varied with scroll bars.

Goal

To provide a simulation demonstrating properties of the Negative Binomial(k, p) distribution. This applet also facilitates the calculations of the Negative Binomial mass/density function, the moments and cumulative distribution function. More details about Negative Binomial Distribution are available here.

Experiment

Go to the SOCR Experiments and select the Negative Binomial Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:

SOCR EBook Dinov RV NegBinomial 013008 Fig3.jpg

When pressing the play button, one trial will be executed and recorded in the distribution table below. The fast forward button symbolizes the nth number of trials to be executed each time. The stop button ceases any activity and is helpful when the experimenter chooses “continuous,” indicating an infinite number of events. The fourth button will reset the entire experiment, deleting all previous information and data collected. The “update” scroll indicates nth number of trials (1, 10, 100, or 1000) performed when selecting the fast forward button and the “stop” scroll indicates the maximum number of trials in the experiment.

The parameters k and p may be varied according to the user and their values will affect the spread and center of the graph of the mass function.

Note that the empirical density and moments graph begin to converge to the distribution graph after every trial. In other words, the empirical graph is more saturated at the left side of the graph because the distribution graph obtains maximum values on this side. The spread of the empirical graph is rather large but most of the values are towards the left with outliers on the right.

Applications

See this Presidential campaigning example.



Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif