Average Successes across Repeated Sets of Trials
Suppose each free throw goes in independently with probability , and let count the baskets in attempts. Then : across many sets of ten attempts, the average number of baskets approaches .
Expected value is the probability-weighted average of a random variable. It describes the mean over many repetitions. One set can give a different result. An expected value can also be noninteger even when the random variable itself only takes integer values.
Expected Value Formula for Binomial
A binomial random variable counts successes in a fixed number of independent trials, each with the same success probability. Its expected value gives the long-run mean number of successes. It is not necessarily the most likely count, which is described by the mode instead.
Binomial distribution has an expected value:
In this formula, is the number of trials and is the probability of success in each trial.
If the success probability in each trial is , then the expected number of successes in trials is:
Deriving the Expected Value
The formula follows by representing each trial with an indicator variable.
Let represent the -th trial. It equals for success and for failure.
The expected value for a single trial is:
Since the total number of successes () is the sum of all successes in each trial, then:
By linearity of expectation, the expected values add:
The expected number of successes is the number of trials multiplied by the success probability.
Dice Rolling Case Study
Problem:
A fair die is rolled times. What is the expected value for getting a five on the die from all the rolls?
Solution:
Verify that the experiment satisfies the binomial conditions:
- There are only two possibilities: success (rolling a ) or failure (rolling a number other than )
- Fixed number of trials: rolls
- Each roll is independent: the result of previous rolls doesn't affect subsequent rolls
- Same probability of success: on each roll
The parameters are:
Apply the expected-value formula:
So, what does this number mean?
Expected value doesn't mean you will get the number exactly times in one experiment (because that's impossible). It means that if you repeat the experiment with rolls hundreds or thousands of times, the number will appear about times per set on average.
In practice, in one set of rolls, you might get the number as many as , , , or even times. But when averaged over the long term, the result will approach .