Chapters

Expected value is one of the most used statistical methods to predict the future of anything. The expected value of a discrete random variable is the sum of the product of the probability of each event by the value of that event. Let's simplify the above statement. As the word "Expected" tells you that we expect the return for any kind of action, whether it is related to business or anything else such as how many questions you might get wrong or right in an exam, etc. (We will use this example again to show how expected value works in an MCQ exam).

## Expected Value Formula

To calculate the expected value, you will require two things. The first one is the probability (chance of a certain action occurring) and the number of samples. The probability is denoted by p and the number of samples is denoted by n. Below is the formula to calculate the expected value.

Basically, the expected value formula is the product of the probability of any event and the number of times the event happens. Although the formula varies according to the number of events. In most cases, either you will be using the expected value formula of a binomial random variable or you might use the expected value formula for the multiple events. Sometimes, the expected value is denoted by but in some textbooks, you might find instead of .

The best Maths tutors available
4.9 (36 reviews)
Intasar
£48
/h
1st lesson free!
4.9 (28 reviews)
Paolo
£30
/h
1st lesson free!
4.9 (23 reviews)
Shane
£25
/h
1st lesson free!
5 (16 reviews)
Jamie
£25
/h
1st lesson free!
5 (17 reviews)
Matthew
£30
/h
1st lesson free!
4.9 (12 reviews)
Petar
£40
/h
1st lesson free!
5 (14 reviews)
Harinder
£15
/h
1st lesson free!
4.9 (17 reviews)
Farooq
£40
/h
1st lesson free!
4.9 (36 reviews)
Intasar
£48
/h
1st lesson free!
4.9 (28 reviews)
Paolo
£30
/h
1st lesson free!
4.9 (23 reviews)
Shane
£25
/h
1st lesson free!
5 (16 reviews)
Jamie
£25
/h
1st lesson free!
5 (17 reviews)
Matthew
£30
/h
1st lesson free!
4.9 (12 reviews)
Petar
£40
/h
1st lesson free!
5 (14 reviews)
Harinder
£15
/h
1st lesson free!
4.9 (17 reviews)
Farooq
£40
/h
1st lesson free!

## Expected Value Formula of a Binomial Random Variable

Below is the formula for the expected value of a binomial random variable:

Where is the probability of success and is the number of trails. Let's inherit the MCQ example here, an exam has 20 multiple questions and there are 4 options (which are A, B, C, and D). The student can only choose one answer and out of the 4 options, only one option is correct. It means that the probability of success will be and the number of trails is . The expected value will be:

Here is another example, a coin is tossed 5 times. The probability of getting a tail is . The expected value (the number of tails that you can expect) is:

## Expected Value Formula of Multiple Events

Calculating the expected value in real life is more complicated than you think. For example, you bought a ticket for an art valued at 10,000 dollars. One thousand tickets are sold, what is the expected value of your gain? So, the formula changes to calculate the expected value where there are many possibilities is:

When we are talking about multiple events, we talk about many probabilities. In the above example, there will be people who bought multiple tickets, there might be people who bought only one ticket, and these possibilities go on. To find the expected value for you, you need to find individual products of their probability and number of their tickets (that people bought) and then you need to sum all of the products and that is why we use summation notation.

## Variance of a Discrete Random Variable

Calculating variance is pretty simple in the case of the discrete random variable. To calculate variance, first, you need to square all "number of events occurring" (which is denoted by ). Then you need to multiply all the squared x values with their individual probabilities (). Then the next step is to sum all the (in other words, ). Last but not least, subtract the answer that you obtained by the from the squared value of mu (i.e. ).

## Standard Deviation of a Discrete Random Variable

To calculate the standard deviation of a discrete random variable, you have to find the variance. Once you find the variance, simply take a square root of the value and that is how you find the standard deviation.

## Example

Calculate the expected value, variance, and standard deviation of the probability distribution for the possible outcomes that can be obtained by throwing a die.

The platform that connects tutors and students