Difference between revisions of "Random variable"
m |
m |
||
Line 25: | Line 25: | ||
==Example== | ==Example== | ||
===Discrete random variable=== | ===Discrete random variable=== | ||
+ | {{Begin Example}} | ||
+ | Recall the roll two die example from [[Probability space|probability spaces]], we will consider the RV {{M|X}} = the sum of the scores | ||
+ | {{Begin Example Body}} | ||
Recall the die example from [[Probability space|probability spaces]] (which is restated less verbosely here), there: | Recall the die example from [[Probability space|probability spaces]] (which is restated less verbosely here), there: | ||
{|class="wikitable" border="1" | {|class="wikitable" border="1" | ||
Line 54: | Line 57: | ||
* We can write it more explicitly as: | * We can write it more explicitly as: | ||
*: <math>X(A\in\mathcal{A})=\{a+b|(a,b)\in A\}</math> | *: <math>X(A\in\mathcal{A})=\{a+b|(a,b)\in A\}</math> | ||
+ | {{End Example Body}} | ||
+ | {{End Example}} | ||
====Example of pitfall==== | ====Example of pitfall==== |
Revision as of 14:18, 20 March 2015
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}
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