In this explainer, we will learn how to predict the actions of a larger group using a sample and find the expected value.
When we talk of the probability of something happening, we mean the chance or likelihood of it occurring. The probability of an event tells us how likely something is to happen in the long run, and there are two ways of looking at this.
- Experimental probability is calculated by looking at the outcomes of a repeated experiment. Experimental probability is also sometimes called the “relative frequency.”
- Theoretical probability is calculated using mathematical reasoning about the possible outcomes.
Theoretically, we know that if we toss a fair coin, we have a 50% (or a 1 in 2) chance of getting “heads”; this is the theoretical probability. If “” stands for “heads,” we write ; that is, the probability of “heads” is 0.5.
If we were to toss a coin 100 times, however, we might find that we get “heads” on only 45 out of the 100 throws. So the experimental probability of “heads” in this case is , or , which is 45% as a percentage, less than our theoretical probability.
The expected value is what we expect to happen on average based on either theoretical or experimental probabilities if we were to perform many trials or experiments. The expected value is calculated by multiplying the probability of the event occurring by the number of times the experiment is performed. Let us see how the expected value works in some examples.
Example 1: Expected Values for Multiple-Choice Tests
Unfortunately for Mason, just as he is about to review for his math test, he finds that the dog has eaten all of his carefully taken notes.
The test is multiple choice, with only one possible correct answer out of 4 options for each question. Mason has a very bad memory and will have to guess the answer to each question. Theoretically, then, for each question Mason will have a 1 in 4 chance of getting it right.
If there are 60 questions, what is Mason’s expected score?
Mason’s expected score is the probability of getting one question right, multiplied by the number of questions. The probability that Mason gets a single question right is . Since there are 60 questions, his expected score is, therefore,
Example 2: Expected Value with a Biased Die
The probability that a biased die will land on an even number is 0.6. If the die is rolled 80 times, how many times is it expected to land on an even number?
We know that the expected value is calculated by multiplying the probability of an event occurring by the number of times the experiment is performed. In this case, the event is that an even number occurs and it has a probability of 0.6. The experiment is rolling the die, which is performed 80 times.
The number of times we would expect the die to land on an even number is, therefore,
In our next example, we will use the experimental probability to calculate the expected value.
Example 3: Using the Experimental Probability to Calculate the Expected Value
In a survey of 400 tourists who visited Egypt, 160 were from Arab countries, 120 were from Europe, 40 were from Latin America, and 80 were from Australia. If the total number of tourists who visited Egypt in a month was 5,000, how many of them are expected to be from Europe?
To find the expected number of tourists from Europe out of 5,000, we must first work out the experimental probability that a tourist was from Europe. (The probability is classed as experimental, as opposed to theoretical, since the data come from a survey.)
There were 400 tourists surveyed, of which 120 were from Europe. Hence, the probability that a tourist chosen at random was from Europe is
The expected value is calculated by multiplying the probability of an event occurring by the number of times the experiment is performed. In our case, we have just calculated the probability that a tourist was European as 0.3. We have a total of 5,000 tourists, so the expected number of European tourists from 5,000 is
Hence, out of 5,000 tourists visiting Egypt, we would expect 1,500 of them to be from Europe.
In our next example, we will use data from a table to calculate the expected value.
Example 4: Expected Value Using Data from a Table
The table shows the results of rolling a die 78 times.
Using this information, how many times is the number 2 expected to appear if the die is rolled 234 times?
The top row in the table tells us the number on the face of the die, and the 2nd row tells us how many times a numbered face occurred out of 78 throws. This means, for example, that the number 2 occurred 17 times out of 78 throws of the die.
The probability of throwing a 2 with this die is therefore To work out the expected number of 2s out of 234 throws, we multiply this probability (0.218) by 234. This gives us Of course, we cannot have 51.012 occurrences of 2, so we round this to the nearest whole number, which is 51. The expected number of 2s out of 78 throws of this die is therefore 51.
We have used the experimental probability here, which we worked out from observed data: out of 78 throws of the die, 17 landed with the number 2 face up. So, the probability of throwing a 2 with this die is . If we had used the theoretical probability, we would have a different result.
Theoretically, each face on a die should have an equal probability of occurring. That is, the probability for each face should be the same at . If we had used this probability, out of 234 throws, we would expect to get a 2, times.
Example 5: Working out Expected Values from a Data Table
A factory produces two types of shirts: A and B. A sample of 100 shirts from each of 5 shopping centers was observed to see how many of each type were sold. The results are shown in the table.
If the factory sells 3,000 shirts, how many of them do you expect to be of type A?
To find out the expected number of shirts of type A out of 3,000 shirts sold, we must first work out the probability that a shirt sold is of type A. For this, from our table, we need the total number of type A shirts sold and the total number of shirts sold overall.