Coin-Die Experiment

green die red die
Coin Die0 Die1
Distribution graph

Description

The coin die experiment consists of first tossing a coin, and then rolling a red die if the coin lands head or a green die if the coin lands tails. Random variable \(X\) gives the coin score (1 for heads and 0 for tails) and random variable \(Y\) gives the die score. These random variables are recorded on each update in the data table. The probability distribution that governs the red die and the distribution that governs the green die can be specified with the select boxes; the choices are

The probability of heads \(p\) for the coin can be varied with a scroll bar. The probability density function and moments of \(Y\) are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density function and moments of \(Y\) are shown in red in the distribution graph and are recorded in the distribution table.

This applet illustrates Conditional Probability and Conditional Distributions.