STT 861 Theory of Prob and STT I Lecture Note - 4
2017-09-27
Expectation and its theorems, Geometry distribution, Negative Binomial distribution and their examples; Theorem of linerarity, PMF of a pair of random variables, Markov's inequality; variance and its examples, uniform distribution.
Portal to all the other notes
- Lecture 01 - 2017.09.06
- Lecture 02 - 2017.09.13
- Lecture 03 - 2017.09.20
- Lecture 04 - 2017.09.27 -> This post
- Lecture 05 - 2017.10.04
- Lecture 06 - 2017.10.11
- Lecture 07 - 2017.10.18
- Lecture 08 - 2017.10.25
- Lecture 09 - 2017.11.01
- Lecture 10 - 2017.11.08
- Lecture 11 - 2017.11.15
- Lecture 12 - 2017.11.20
- Lecture 13 - 2017.11.29
- Lecture 14 - 2017.12.06
Lecture 04 - Sept 27 2017
Expectation
Definition: Let be a (discrete) r.v. with PMF . We say that the expectation of is
Example 1
A game of dice. Throw 1 die, win \$ 1 if outcome is even, win \$ outcome/2 if outcome is odd.
Example 2
Let , thus .
Example 3
Let , , this is the dumb way to solve.
Another way, use linearity,
Example 4
Let , then (prove this at home). Here is a link to it. I don’t want to type it again.
Example 5
Let , then
Try at home
Find the definition, PMF and expectation for the “Multinomial” distribution.
Theorem of Linearity: Let amd be two r.v.’s and Let .
Don’t require and be independent.
Theorem Let and be two independent r.v.’s, then
(try to prove it at home)
PMF of
For a pair of r.v.s, we can define PMF of :
Note: if and are independent, then .
Example 6
Let where is a r.v. Assume , then
Theorem: Let be a r.v.with PMF , let be a function from to , let , Then
Theorem: Let be a r.v. such that (). Then . Proven by the definition.
Theorem (Markov’s inequality): Let be a non-negative r.v. Let be fixed real . Then
(Chebyshev inequality is related to Markov inequality).
Variance (Chapter 1.6)
Empirically the variance is the average squared deviation from the mean.
With data , let
and
Mathematically, variance is defined as:
Let be a r.v.
(General formula)
Here we used the approximate corresponding , .
Proposition: . This is extremely important, especially in doing homework. :-)
Proof:
Usually if PMF of is given, it is easier compute to using the 2nd formula than the original definition.
Usual Notation
Let be a r.v.
- aka “the standard deviation”
Example 7
Let have this PMF: for , .
Then
Finally,
Properties of the variance: Let , let & be independent r.v. Then
- (prove this at home)
Example 8
Let , therefore,
where are i.i.d . Thus
Variance of Bernoulli:
Thus,
In Ch2, we will calculate .
Let , then .
Proposition: Let be a r.v. Let , then
where .
Proof:
Indeed, for , we get the definition of . For we get
Example 9
Let be a uniform r.v. is the set of integers from 1 to , for (definition).
Then
End note
Sometimes people (the professor) use different notation for expectation and variance,
- or
- or
Just choose whichever you like. I prefer ( ) to [ ].
- ← Older-STT 861 Theory of Prob and STT I Lecture Note - 3
- STT 861 Theory of Prob and STT I Lecture Note - 5-Newer →