Probability - Mean
Mean
From our example from Binomial Distribution about dice rolling. We roll a dice ten times and get:
Another way to write this is tallying up our unique numbers and multiplying each by the occurence fraction:
This is using frequency. Imagine we are instead using the "fraction of infinitely many", the probability.
Our expectation
Note that our expectation (mean) is different from our average. The average is the random variable, it might change between experiments and with sample size. The mean (expectation) will never change. A higher number of trials will make the average more likely to approach the mean.
In this course, the average will be used as our random variable, we will examine how the average changes between experiments and its variance (error bars). The expectation will never have error bars.
"take the product of the value with the probability and add it up for every possible value."
Example: gambling
Cast a die.
- If you get 5 or 6, you get 10€. Call this
. - 4 gives you 3€. Call this
- 1 2 or 3 means you need to pay 5€.
Our random variableis the total money we will get.
So, if we play the game infinitely many times, we will gain 1.333€ per round, although we might lose money at some point and gain money at others. If you keep playing the game then you will eventually gain this much per round overall.
Expectation of the sum of two dice
We have a blue die and a red die.
In this case, since we are looking for the expectation,
We can rearrange this to add up the blue dice numbers and red numbers separately:
"The expectation of the sum is the sum of the expectation"
This is our first Probability - Important Formulas
Expectation of Sum in Binomial Distribution:
Probability of
Continue for
The expectation for
This is true for each
So, the expectation of the sum in a binomial dist is:
This of course also carries on to the Poisson Distributions, where