Probability B // Flashcards
Discrete distribution
A r.v. X has a discrete distribution if there exists a finite or countably infinite set of values {x1, x2, … } and corresponding probabilities P1, P2, … satisfying Σ(i) Pi = 1, and
P(X = xi) = Pi for every i
P(X ∈ ℝ \ {x1, x2, … }) = 0
Probability mass function of a discrete distribution
Given the set X = {x1, x2, …} where P(X = xi) = Pi > 0 for all i (the support of the distribution), the pmf is the function fx: X → (0,1], fx(xi) = Pi for every i
Continuous distribution
A r.v. X has a cts distribution if there exists a function fx: ℝ → [0, ∞) with ∫(-∞, ∞) fx(x) dx = 1 such that P(a ≤ X ≤ b) = ∫(a, b) fx(x) dx for all a ≤ b (fx is the probability density function)
Cummulative distribution function of X (discrete)
A function Fx: ℝ → [0,1] where Fx(u) = P(X ≤ u) = Σ(i=1, xi ≤ u) fx(xi)
fx(x) = Fx(x) - Fx(x-) for x in support, where Fx(x-) = lim (h→0) Fx(x-h)
Cumulative distribution function of X (cts)
A function Fx: ℝ → [0,1] where Fx(u) = P(X ≤ u) = ∫(-∞, u) fx(x)dx
fx(x) = (d/dx)Fx(x) where Fx diffble at x
Rule for finding prob density of Y given Y = g(X), X cts (+ many restrictions on g)
If X has prob density fn fx, then
fy(y) = fx(g⁻¹(y))*(d/dy)g⁻¹(y)
Joint distribution of X and Y
If X and Y are a pair of r.vs defined on a sample space (measured in the same expt), the joint dist is the probability measure on ℝ² that assigns to a subset B ⊂ ℝ² the probability P((X,Y) ∈ B)
Discrete joint distribution and mass function
A joint distribution is discrete if there exists countable or finite sets {x1, x2, …} and {y1, y2, …} such that P(X ∈ {x1, x2, …} and Y ∈ {y1, y2, …}) = 1
The joint mass function is fxy(xi,yj) = P(X = xi and Y = yj)
Cts joint distribution and density function
A joint distribution is continuous if there exists a joint density function fxy: ℝ² → [0,∞) so that
P(a ≤ X ≤ b and c ≤ Y ≤ d)
= ∫(a,b)∫(c,d) fxy(x,y) dydx
= ∫(c,d)∫(a,b) fxy(x,y) dxdy
(ie volume under fxy(x,y) over [a,b]x[c,d]
Independence
X and Y are independent if P(X ∈ B and Y ∈ B’) = P(X ∈ B)P(Y ∈ B’) for arbitrary subsets B, B’ ∈ ℝ,
or X and Y are independent if and only if
Fxy(x,y) = Fx(x)*Fy(y)
Convolution of discrete X and Y (dist of X + Y)
If X and Y are independent
P(X+Y=m) = Σ(k∈ℤ) P(X=k)P(Y=m-k)
f_x+y(m) = Σ(k∈ℤ) fx(k)fy(m-k)
Convolution of continuous X and Y (dist of X + Y)
If X and Y are independent
f_x+y(z) = ∫(-∞,∞) fx(x)fy(z-x)dx = ∫(-∞,∞) fx(z-y)fy(y)dy for z ∈ ℝ
Convolution of binomial r.vs
If X and Y are two independent rvs with binomial distributions, having parameters n,p and m,p respectively, then X + Y has a binomial dist with parameters m+n and p
Expectation for discrete distribution
If X has a discrete dist, support {x1,x2,...} and mass fn fx(xi)=P(X=xi) then E(X) = Σ(i)xi*fx(xi) provided Σ|xi|fx(xi) < ∞
Expectation for cts distribution
If X has a cts dist with density fx, then
E(X) = ∫(-∞,∞) x*fx(x)dx
provided ∫(-∞,∞) |x|fx(x)dx < ∞
Expectations of functions of rvs
Let Y = g(X) If X has a discrete distribution with support {x1,x2,...} E[g(X)] = Σ(i)g(xi)fx(xi) If X has a cts dist, E[g(X)] = ∫(-∞,∞) g(x)fx(x)dx
Expectation for functions of a discrete joint dist
Given X,Y are a pair of rvs with respective supports {x1,x2,…} and {y1,y2,…}
E[g(x,y)] = Σ(i,j) g(xi,yj) fxy(xi,yj)