Professional Documents
Culture Documents
P
• If x∈R P (X = x) = 0, then X is a continuous random
Discrete Random Variables variable.
P
• If x∈R P (X = x) = 1, then X is a discrete random • An absolutely continuous random variable X has a den-
variable. sity function fX (x) such that
• The probability function is pX (x) = P (X = x). Z b
P (a < X < b) = fX (x) dx
• The law of total probability, discrete random variable ver- a
sion, is
for all a ≤ b.
X
P (A) = P (X = x) P (A | X = x) . • For
R ∞ density functions, f (x) ≥ 0 for all x ∈ R and
x∈R f (x) dx = 1.
−∞ X
1
• Beta distributions: X ∼ Beta(a, b). With parameters • For absolutely continuous random variables X and Y ,
a > 0, b > 0, the density is the joint density function fX,Y (x, y) defined so that
RdRb
P (a ≤ X ≤ b, c ≤ Y ≤ d) = c a fX,Y (x, y) dx dy deter-
1
f (x) = xa−1 (1 − x)b−1 for 0 < x < 1 . mines the joint distribution.
B(a, b) R∞ R∞
• −∞ −∞ fX,Y (x, y) dx dy = 1
where the beta function B(a, b) is defined for a > 0, b > 0
as • For discrete random variables X and Y ,
Z 1 X
Γ(a)Γ(b) P (X = x) = P (X = x, Y = y)
B(a, b) = xa−1 (1 − x)b−1 dx = .
0 Γ(a + b) y
X
Beta(1,1) is Uniform(0,1). P (Y = y) = P (X = x, Y = y)
x
• limx→−∞ F (x) = 0, limx→∞ F (x) = 1. • For discrete random variables X and Y , the conditional
distribution of Y given X = x is the collection of proba-
One-Dimensional Change of Variable bilities
P (Y ∈ B ∩ X = x)
• If X is a discrete random variable and Y = h(X), then P (Y ∈ B | X = x) =
P (X = x)
X
P (Y = y) = P (X = x) . defined whenever P (X = x) > 0.
x:h(x)=y
• The conditional probability function of Y given X is
• If X is an absolutely continuous random variable with
P (X = x, Y = x)
density fX ; if Y = h(X) where h is strictly increasing or pY |X (y | x) =
strictly decreasing when fX (x) > 0 so that y = h(x) im- P (X = x)
plies that x = h−1 (y) is unique; and if h is differentiable defined whenever P (X = x) > 0.
with derivative h0 ; then
• For absolutely continuous random variables X and Y ,
fY (y) = fX (h−1 (y))/|h0 (h−1 (y))| . the conditional density of Y given X = x is defined to be
2
• Discrete random variables X and Y are independent if • If X1 , . . . , Xn are absolutely continuous random variables
and only if P (X = x, Y = y) = P (X = x) P (Y = y) for with joint density fX1 ,...,Xn and if random variables Yi =
all x, y ∈ R. In addition, discrete random variables X hi (X1 , . . . , Xn ) are defined so that hi is differentiable and
and Y are independent if and only if P (Y = y | X = x) = so that h = (h1 , . . . , hn ) is one-to-one on the region where
P (Y = y) for all y ∈ R and all x ∈ R such that fX1 ,...,Xn (x1 , . . . , xn ) > 0, then
P (X = x) > 0.
fX1 ,...,Xn (h−1 (y1 , . . . , yn ))
• Absolutely continuous random variables X and Y are fY1 ,...,Yn (y1 , . . . , yn ) =
|J(h−1 (y1 , . . . , yn ))|
independent if and only if the densities can be chosen
so that fX,Y (x, y) = fX (x)fY (y) for all x, y ∈ R. In Convolution
addition, absolutely continuous random variables X and
Y are independent if and only if fY |X (y | x) = fY (y) for • If X and Y are independent discrete random variables
all y ∈ R and all x ∈ R such that fX (x) > 0. and Z = X + Y , then
• If random variables X and Y are independent, then ran-
X
P (Z = z) = P (X = x) P (Y = z − x) for all z ∈ R .
dom variables g(X) and h(Y ) are also independent. x
• A collection of random variables is independent and iden- • If U1 , U2 ∼ i.i.d. Uniform(0, 1), and we define
tically distributed, or i.i.d. if they are independent and p
have the same marginal distributions. X = −2 ln(U1 ) cos(2πU2 )
and
Order Statistics p
Y = −2 ln(U1 ) sin(2πU2 ),
• Random variables X1 , . . . , Xn sorted from smallest to then X ∼ N(0, 1), Y ∼ N(0, 1), and X and Y are inde-
largest are labeled pendent.
X(1) , . . . , X(n) • If Z ∼ N(0, 1), then X = µ + σZ ∼ N(µ, σ 2 ).
and are called the order statistics of the sample. • If X is a random variable with cumulative distribution
function F , then F −1 (t) = min{x : F (x) ≥ t} for 0 <
• X(1) is the minimum, X(n) is the maximum. t < 1 is the inverse cdf or quantile function of X.