Random variable
Contents
[hide]Definition
A Random variable is a measurable map from a probability space to any measurable space
Let (Ω,A,P) be a probability space and let X:(Ω,A)→(V,U) be a random variable
Then:
X−1(U∈U)∈A, but anything ∈A is P-measurable! So we see:
P(X−1(U∈U))∈[0,1] which we may often write as: P(X=U) for simplicity (see Mathematicians are lazy)
Notation
Often a measurable space that is the domain of the RV will be a probability space, given as (Ω,A,P), and we may write either:
- X:(Ω,A,P)→(V,U)
- X:(Ω,A)→(V,U)
With the understanding we write P in the top one only because it is convenient to remind ourselves what probability measure we are using.
Pitfall
Note that it is only guaranteed that X−1(U∈U)∈A but it is not guaranteed that X(A∈A)∈U, it may sometimes be the case.
For example consider the trivial σ-algebra U={∅,V}
However If you consider X:(Ω,A,P)→(V,{∅,V}) then this is just the random variable "something happens" underneath it all, or if V={2,⋯,12} the event that the sum of the scores is ≥2.
Example
Discrete random variable
Recall the roll two die example from probability spaces, we will consider the RV X = the sum of the scores
Example of pitfall
Take X:(Ω,P(Ω),P)→(V,U), if we define U={∅,V} then clearly:
X({(1,2)})={3}∉U. Yet it is still measurable.
So an example! P(X−1({5}))=P(X=5)=P({(1,4),(4,1),(2,3),(3,2)})=436=19