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
[Expand]
Recall the roll two die example from probability spaces, we will consider the RV X = the sum of the scores
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})) is a measurable space however we need not consider a measure on it.
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
TODO: Prove this
- We can write it more explicitly as:
- X(A∈A)={a+b|(a,b)∈A}
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