Properties of expectation
To finalize with the important topics on probability statistics referring to discrete probability distributions, we have to learn about expectations.
Although expectation statistics may seem a new concept to us, we will soon realize we have been studying and working with it through a few lessons now, and thus why we have to close this chapter for our statistics course with this topic. And so, to get to our topic, let us learn about the definition of expected value and how to calculate it.
How to calculate the expected value
Remember from our lesson on the mean and standard deviation of a binomial distribution, we learned that the mean of a binomial probability distribution is equal to the expected number of successes per each n trials run in a statistical analysis, and so, we define the expectation of , usually called as the mean of discrete random variable .
Where is a random variable with a range of possible outcomes depending on each case. But equation 1 is not the only expected value formula, going back to how we define expectation in relation to the number of successes in a set of trials, we can see that the expected value can also be related to the mean of a binomial distribution; which is defined as the multiplication of the number of trials in the experiments, times the probability of success in each trial, written as:
Where:
= number of trials
= number of successes in n trials
= probability of success in each trial
The mean provides the best approximation of the amount of times you can expect a certain outcome to occur per a certain number of trials. In other words, the mean of a binomial distribution give us the expectations of success.
Since we are focused on the expected values of a distribution, something important to learn is the formula for variance:
Variance is important when studying expectations, because when constructing graphic representations of the probability distribution in question, one can see how far away each data point in a graph is from the expected value and have an idea of how realistic results are, if there is any bias or errors and how far results are from true experimentally-obtained values. Therefore, the variance equation allows us to calculate how dispersed outcomes are from an expected value.
Properties of expectation
Now that we have learned what expectation is, and how it relates two some discrete probability distributions, it is important to know the mathematical properties and identities its calculations follows, therefore, below we have listed the properties of expectation:Where in full generality we have that :
Using the same approach, we list the properties of variance:
- whenandare independent
Expected value examples
Example 1
For verifying expectation and variance we look at the next situation: If a 6 sided die is rolled what is the expected value shown on the die?For a die we have 6 different probable outcomes: 1, 2, 3, 4, 5, and 6. And each of those probable outcomes have a probability of occurring of since all of them have the same chances of happening (in a fair die of course!).
Using the mathematical expectation definition shown above we solve that:
Now this problem is a great (and very simple) example where we can see that the term expected value shouldnt be taken literally. In other words, the result of 3.5 is not a value that can actually be produced from a die, because all of the probable outcomes of a die are whole numbers! And so, we can see here that the expected value is actually an average that has been weighted given a large number of rolls of the die performed, and this done repeatedly always obtaining a similar result to 3.5. Therefore, the expected value is not necessarily an exact value that can be produced from an experiment, but an average of what can occur, is the mean of random variable .
Example 2
A certain car breaks down every 50 hours of driving time. If the car is driven for a total of 175 hours;- What is the expected number of breakdowns?
Therefore, during the 175 hours that the car is being driven, one can expect to have about 3.5 breakdowns. Good luck to the driver uh?!
Remember this 3.5 number really means that there is a good chance the car will breakdown 3 or 4 times, since there are no half breakdowns (are they?, no we dont think so).
- What is the expected number of breakdowns?
A variance of 3.43 means that from an expectation of 3 to 4 car breakdowns during a 175 hour driving trip, this breakdown numbers can actually vary about 3.42 time, so there is a chance (even if slight) that you will only have one breakdown, or none (which even more improbable).
Example 3
Clara is trying to make the perfect teapot out of pottery. Each time she attempts to make the perfect teapot she will use a lump of clay and she will succeed with a probability of 0.20. Once she makes the perfect teapot she will stop potting.- What is the expected number of lumps of clay Clara will use to make this perfect teapot?
With the information given on the problem, and using the formula for the expectation value from its geometric definition, we have that:
So, we should expect Clara uses at least 5 lumps of clay before she achieves to make the perfect teapot.
- What is the variance on the number of lumps of clay Clara will use?
So, although Clara is expected to use 5 lumps of clay for the perfect teapot, this number can be dispersed so much as to 20 lumps! Let us put this in perspective: since this number is too high, it means there are small chances of she messing up so many lumps of clay. In reality, most chances are of her messing up a one standard deviation of dispersion of lumps of clay, and if you calculate the square root of the variance, you will see the standard deviation is equal to 4.5; therefore, Clara is most probably going to use between zero to 10 lumps of clay in order to create her perfect teapot.
Example 4
Properties of Expectation and VarianceIf a 6 sided die is rolled, what is the expected value shown on the die? What would be the expected combined value of 10 die rolled at the same time?
We know from example one that the expected value of rolling a die is equal to 3.5. Then, what would be the expected value if we roll 10 dice at the same time? Well, we use the expectation properties we learnt above in this lesson, and calculate:
Example 5
Suppose we have two independent random variables, one with parameters and , and the other with parameters and .- What is
- What is
- What is
- What is
To finalize this lesson, we leave you with a few link recommendations that can be useful throughout your independent studies. This lesson on expectation and variance is complete with examples and concepts, then, this printer friendly page on the properties of expectation provides some extra videos with examples.
This is it for our lesson of today, see you in the next one!
We can write out mean as an expected value:
And likewise for variance:
Var
n: number of trials
x: number of success in n trials
p: probability of success in each trial
Binomial:
Var
Geometric:
Var
Properties of Expectation:
Or in full generality:
Properties of Variance:
Var Var
VarVar
Var Var Var if X and Y are independent
And likewise for variance:
Var
n: number of trials
x: number of success in n trials
p: probability of success in each trial
Binomial:
Var
Geometric:
Var
Properties of Expectation:
Or in full generality:
Properties of Variance:
Var Var
VarVar
Var Var Var if X and Y are independent