Lecture 5: Joint Probability Distributions: Bo Li
Lecture 5: Joint Probability Distributions: Bo Li
Bo LI
Z b Z d
P[(X , Y ) ∈ A] = P(a ≤ X ≤ b, c ≤ Y ≤ d) = f (x, y )dx dy
a c
Independence
Independence
Independence
Multinomial Distribution
Covariance
Cov(X , Y ) = E [(X − µX ) (Y − µY )]
P P
y (x − µX ) (y − µY ) p(x, y ),
x
if X and Y are discrete
= R∞ R∞
−∞ −∞ (x − µX ) (y − µY ) f (x, y )dx dy ,
if X and Y are continuous
Cov(X , Y ) = E(XY ) − µX · µY
Correlation
Correlation
Conditional Distributions
Conditional Variance
The conditional mean of any function g(Y ) can be obtained similarly. In
the discrete case,
X
E(g(Y )|X = x) = g(y )pY |X (y |x)
y ∈DY
There is a shortcut formula for the conditional variance analogous to that for
V (Y ) itself:
σY2 |X =x = V (Y |X = x) = E Y 2 |X = x − µ2Y |X =x
Conditional Distributions
Conditional Distributions
Conditional Distributions
Conditional Distributions
Conditional Distributions
We thus obtain
Var(T ) = [E(X )]2 Var(N) + E(N) Var(X )
Bo LI (Tsinghua SEM) Lec 5: Joint Probability Distributions 59 / 80
Jointly Distributed Random Variables
Prediction
Suppose we want the predict Y using an instrument X . Our
predictor is hence denoted as h(X ). We need some measure of the
effectiveness of a prediction. One that is amenable to mathematical
analysis and that is widely used is the mean square error (MSE):
h i
MSE = E [Y − h(X ))2
Note that
h i
MSE = E[[Y − E(Y |X ))]2 + E (E(Y |X ) − h(X ))2
h∗ (X ) = E(Y |X )
Prediction
Chebyshev Inequality
Var(X ) σ2
P(|X − µ| > ) ≤ = →0
2 n2
Chisquare Distribution
Chisquare Distribution
Chisquare Distribution
t distribution
X −µ
T = √
S/ n
has the t distribution with (n − 1) degrees of freedom, tn−1
Bo LI (Tsinghua SEM) Lec 5: Joint Probability Distributions 76 / 80
Sampling Distributions and Estimation Distributions Based on a Normal Random Sample
t distribution
F distribution
F distribution
for the sample variance from the first group we know (m − 1)S12 /σ12 is
χ2m−1 , and similarly for the second group (n − 1)S22 /σ22 is χ2n−1 . Thus,
(m−1)S12 /σ12
m−1 S12 /σ12
Fm−1,n−1 = =
(n−1)S12 /σ22 S22 /σ22
n−1
F distribution