Mehmet Emre Tiryaki
Back to Notes

Random Variables

Inverse Images

For any function X:Ω→Ω′X : \Omega \to \Omega' and A′⊆Ω′A' \subseteq \Omega',

X−1(A′)={ω∈Ω:X(ω)∈A′}=[X∈A′]X^{-1}(A') = \{\omega \in \Omega : X(\omega) \in A'\} = [X \in A']

Inverse images preserve set operations,

X−1(∅)=∅,X−1(Ω′)=Ω,X−1((A′)c)=(X−1(A′))c,X−1(⋃j∈TAj′)=⋃j∈TX−1(Aj′)X^{-1}(\emptyset) = \emptyset, \quad X^{-1}(\Omega') = \Omega, \quad X^{-1}((A')^c) = (X^{-1}(A'))^c, \quad X^{-1}\Big(\bigcup_{j \in T} A'_j\Big) = \bigcup_{j \in T} X^{-1}(A'_j)

and the same for intersections. Hence if B′\mathcal{B}' is a σ\sigma-field on Ω′\Omega', X−1(B′)X^{-1}(\mathcal{B}') is a σ\sigma-field on Ω\Omega, and for C′⊆2Ω′\mathcal{C}' \subseteq 2^{\Omega'},

X−1(σ(C′))=σ(X−1(C′))X^{-1}(\sigma(\mathcal{C}')) = \sigma(X^{-1}(\mathcal{C}'))

Measurable Functions

A measurable space is a pair (Ω,B)(\Omega, \mathcal{B}) where B\mathcal{B} is a σ\sigma-algebra of subsets of Ω\Omega.

For measurable spaces (Ω,B)(\Omega, \mathcal{B}) and (Ω′,B′)(\Omega', \mathcal{B}'), X:Ω→Ω′X : \Omega \to \Omega' is measurable if X−1(B′)∈BX^{-1}(B') \in \mathcal{B} for all B′∈B′B' \in \mathcal{B}'. Equivalently X−1(B′)⊆BX^{-1}(\mathcal{B}') \subseteq \mathcal{B}, written X∈B/B′X \in \mathcal{B}/\mathcal{B}'. If (Ω′,B′)=(R,B(R))(\Omega', \mathcal{B}') = (\mathbb{R}, \mathcal{B}(\mathbb{R})) then XX is a random variable (RV).

It is enough to check generators. If B′=σ(C′)\mathcal{B}' = \sigma(\mathcal{C}'), then XX is measurable iff X−1(C′)∈BX^{-1}(C') \in \mathcal{B} for all C′∈C′C' \in \mathcal{C}'. So X:Ω→RX : \Omega \to \mathbb{R} is an RV iff

[X≤t]=X−1((−∞,t])∈B∀t∈R[X \le t] = X^{-1}((-\infty, t]) \in \mathcal{B} \quad \forall t \in \mathbb{R}

Distribution

Given (Ω,B,P)(\Omega, \mathcal{B}, P) and a measurable X:(Ω,B)→(Ω′,B′)X : (\Omega, \mathcal{B}) \to (\Omega', \mathcal{B}'), the distribution of XX is Q=P∘X−1Q = P \circ X^{-1},

Q(B′)=P(X−1(B′))=P([X∈B′]),B′∈B′Q(B') = P(X^{-1}(B')) = P([X \in B']), \quad B' \in \mathcal{B}'

Generalized Inverse

For a df FF and 0<u<10 < u < 1,

F←(u)=inf⁡{s∈R:F(s)≥u}F^{\leftarrow}(u) = \inf\{s \in \mathbb{R} : F(s) \ge u\}

F←F^{\leftarrow} is non-decreasing and left-continuous, and for u∈(0,1)u \in (0,1), t∈Rt \in \mathbb{R},

F←(u)≤t  ⟺  u≤F(t)F^{\leftarrow}(u) \le t \iff u \le F(t)

Metric Spaces

d:S×S→[0,∞)d : S \times S \to [0, \infty) is a metric if for x,y,z∈Sx, y, z \in S

  1. d(x,y)=0d(x,y) = 0 iff x=yx = y,
  2. d(x,y)=d(y,x)d(x,y) = d(y,x),
  3. d(x,z)≤d(x,y)+d(y,z)d(x,z) \le d(x,y) + d(y,z).

For x∈Sx \in S and ε>0\varepsilon > 0, Bε(x)={y∈S:d(x,y)<ε}B_\varepsilon(x) = \{y \in S : d(x,y) < \varepsilon\}. A set AA is open if for all x∈Ax \in A there is ε>0\varepsilon > 0 such that Bε(x)⊆AB_\varepsilon(x) \subseteq A. Let O\mathcal{O} be the class of all open sets.

The Borel σ\sigma-algebra of (S,d)(S, d) is B(S)=σ(O)\mathcal{B}(S) = \sigma(\mathcal{O}), and a measurable X:(Ω,B)→(S,B(S))X : (\Omega, \mathcal{B}) \to (S, \mathcal{B}(S)) is an SS-valued random element.

Building Measurable Functions

  • Continuous functions are Borel measurable For metric spaces S1,S2S_1, S_2 with Borel σ\sigma-algebras, a continuous X:S1→S2X : S_1 \to S_2 is measurable.
  • Composition If X:(Ω,B)→(S,S)X : (\Omega, \mathcal{B}) \to (S, \mathcal{S}) and f:(S,S)→(T,T)f : (S, \mathcal{S}) \to (T, \mathcal{T}) are measurable, so is f∘Xf \circ X.
  • X=(X1,…,Xk)X = (X_1, \ldots, X_k) is a random vector iff each XiX_i is an RV. So X+YX + Y, XYXY, max⁡(X,Y)\max(X,Y) are RVs.
  • For real valued RVs, sup⁡n≥1Xn\sup_{n \ge 1} X_n, inf⁡n≥1Xn\inf_{n \ge 1} X_n, lim inf⁡n→∞Xn\liminf_{n \to \infty} X_n and lim sup⁡n→∞Xn\limsup_{n \to \infty} X_n are RVs. If Xn(ω)X_n(\omega) converges to a finite limit for all ω\omega, X=lim⁡n→∞XnX = \lim_{n \to \infty} X_n is an RV. Also {ω:lim⁡n→∞Xn(ω) exists}∈B\{\omega : \lim_{n \to \infty} X_n(\omega) \text{ exists}\} \in \mathcal{B}.

A simple function is a measurable real valued function with finite range.

σ(X)\sigma(X)

For measurable X:(Ω,B)→(Ω′,B′)X : (\Omega, \mathcal{B}) \to (\Omega', \mathcal{B}'),

σ(X)=X−1(B′)={[X∈B′]:B′∈B′}\sigma(X) = X^{-1}(\mathcal{B}') = \{[X \in B'] : B' \in \mathcal{B}'\}

For a real RV the target σ\sigma-algebra is B(R)\mathcal{B}(\mathbb{R}).

A class F⊆B\mathcal{F} \subseteq \mathcal{B} is a sub σ\sigma-algebra if it is itself a σ\sigma-algebra on Ω\Omega. A random element XX is F\mathcal{F}-measurable if σ(X)⊆F\sigma(X) \subseteq \mathcal{F}, i.e. X−1(B′)∈FX^{-1}(B') \in \mathcal{F} for all B′∈B′B' \in \mathcal{B}', shorthand X∈FX \in \mathcal{F}.

For a family {Xt:t∈T}\{X_t : t \in T\} on (Ω,B)(\Omega, \mathcal{B}),

σ(Xt:t∈T):=⋁t∈Tσ(Xt)=σ(⋃t∈Tσ(Xt))\sigma(X_t : t \in T) := \bigvee_{t \in T} \sigma(X_t) = \sigma\Big(\bigcup_{t \in T} \sigma(X_t)\Big)

the smallest σ\sigma-algebra containing all σ(Xt)\sigma(X_t).

Example: for A∈BA \in \mathcal{B} and X=1AX = \mathbf{1}_A, since X−1({1})=AX^{-1}(\{1\}) = A and X−1({0})=AcX^{-1}(\{0\}) = A^c,

σ(X)={∅,Ω,A,Ac}\sigma(X) = \{\emptyset, \Omega, A, A^c\}

so observing XX tells whether AA occurred.

Generators for σ(X)\sigma(X)

If X:(Ω,B)→(Ω′,B′)X : (\Omega, \mathcal{B}) \to (\Omega', \mathcal{B}') is measurable and B′=σ(C′)\mathcal{B}' = \sigma(\mathcal{C}'), then

σ(X)=σ({[X∈C′]:C′∈C′})\sigma(X) = \sigma(\{[X \in C'] : C' \in \mathcal{C}'\})

If XX is real valued, σ(X)=σ({[X≤x]:x∈R})\sigma(X) = \sigma(\{[X \le x] : x \in \mathbb{R}\}).