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
P(X−1(U∈U))∈[0,1]
Notation
Often a measurable space that is the domain of the RV will be a probability space, given as (Ω,A,P)
- 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
For example consider the trivial σ-algebra U={∅,V}
Example
Discrete random variable
Recall the die example from probability spaces (which is restated less verbosely here), there:
Component | Definition |
---|---|
Ω | Ω={(a,b)| a,b∈N, a,b∈[0,6]} |
A | A=P(Ω) |
P | P(A)=136|A| |
Let us define the Random variable that is the sum of the scores on the die, that is X:(Ω,A,P)→({2,⋯,12},P({2,⋯,12}))
It should be clear that ({2,⋯,12},P({2,⋯,12}))
Writing X out explicitly is hard but there are two parts to it:
Warning - the first bullet point is a suspected claim
- We can look at what generates a space, we need only consider the single events really, that is to say:
- X(A∈A)∪X(B∈A)=X(A∪B∈A), so we need only look at X of the individual events
- X(A∈A)∪X(B∈A)=X(A∪B∈A)
TODO: Prove this
- We can write it more explicitly as:
- X(A∈A)={a+b|(a,b)∈A}
- X(A∈A)={a+b|(a,b)∈A}
Example of pitfall
Take X:(Ω,P(Ω),P)→(V,U)
X({(1,2)})={3}∉U
So an example! P(X−1({5}))=P(X=5)=P({(1,4),(4,1),(2,3),(3,2)})=436=19