Problem of the Day: There are five balls in an urn, , in a box. Draw a boll u.a.r. Record the number of the ball; return the ball; repeat times. Let be the sum over observed numbers. Find .
Given a probability space. A random variable(RV) is a function , s.t. for all . (we call this measurable)
Distribution, c.d.f
Given a RV , its (cumulative) distribution function, c.d.f is defined as
1.1 Discrete RV
A discrete RV means is either finite or countably infinite.
Like, for , indicator RV is a discrete RV.
It has to satisfy:
.
is right-continuous: .
1.2 Continuous RV
is continuous, . Then, we consider probability density function, p.d.f and
More generally,
2 Expectation
Expectation/Mean
For a function , define expectation.
For discrete RV,
For continuous RV,
Provided that . (absolutely convergent.)
By the following theorem, we need absolute convergence to ensure is well defined.
Theorem (Riemann Rearrangement Theorem)
If converges but diverges, then for any given , a permutation : .
Variance
Define variance of : .
Claim (Linearity of Expectation)
Let be RVs defined on the same probability space and are well defined. Then for all constants ,
By the claim, we can compute
Covariance
Let be RVs on the same probability space. Then
Similarly, we can show
Theorem (Tail Sum Formula)
Let be a RV with range . Then
By definition, this is easy to prove.
3 Conditional Probability
Given that event happens, what is the probability that also happens?
We want to consider a new probability space . How should we define so that it is consistent with ?
For all s.t. , we want
Since , we know .
So for all s.t. , define conditional probability are independent if , i.e. .
Independence of Events
Events are independent iff for every and every subset ,
Independence of RVs
RVs on the same probability space are said to be independent () iff
Equivalent condition:
For discrete case, .
For continuous case, .
RVs on the same probability space are said to be mutually independent iff
Mutual independence leads to pairwise independence. The other direction is generally not correct.
. The other direction is generally not correct.
, i.e. , but the other direction is generally not correct.