Tossing a coinΒΆ
Problem
For a random experiment an ideal coin is tossed until it shows heads (\(H\)) for a second time or tails (\(T\)) for a second time. The event space is set to be: \(\{HH; TT; HTH; HTT; THH; THT\}\).
Argue that this random experiment is not a Laplace experiment.
The random variable \(X\) assigns to each event the number of coins tossed. Compute the expectation value of \(X\).
Solution of part a
For a Laplace experiment each outcome has the same probability. Here, this would mean that each outcome has a probability of \(\frac{1}{6}\). Because an ideal coin is used for the random experiment, we can determine the probabilities of each event as follows:
Because at least one of the probabilities now differs from \(\frac{1}{6}\), this random experiment is not a Laplace experiment.
The different probabilities also become apparent if one simulates the random experiment with Sage.
Solution of part b
The expectation value of \(X\) can be determined with the probabilities obtained in part a:
A simulation with Sage yields: