Coditional Probability
Coditional Probability
Conditional probability
f , dP
1 2 1 2 dP2 f 1 , 2 dP1 / 2 2
Then, it will be P1 / 2 2 P1 , and we write P1 2 as P1 P2 .
dP dP
C
3
B
2 / 3 (3 ) dP3
C
1 B
dP( 1 2 )/ 3 (3 ) P2 3 (B C)
1
In the equalities that follow appear the previous probabilities in both senses,
and they allow us to infer the equality, for almost all 2 , 3 , of P1 / 2 3 and
P1 / 2 / 3 , in case of existing this last one.
then P P3 , Q(3 ) P2 / 3 (3 ) and R(2 , 3 ) P1 / 2 / 3 (2 , 3 ) P1 / ( 2 3 ) (2 , 3 ) .
Probability P1 / 2 .
P A B P A B
whence and, in the same way, ;
P B P B
therefore
P A B P A B
P / B A I B I B
P B P B
2
Also, it is curious that:
P( 1 2 )/ 3 ( )( A B) P / 3 ( )( A B)
P / ( B,C ) P / B /C (, ) . And, in general: P ( 1 2 ) P / / (, )1 2
Conditioned by , is independent of .
P1 2 3 A B P A B P A B P
1 2 3 A B
P A P
B P A P B
2 3
P1 ( 2 3 ) A ( B C ) P A B C P A P
1 2 3 2 3 (B C )
P A P B C
Probability of X conditioned by Y
If X , Y are random variables defined on a same space with probability
P , these variables determine in R (or in spaces 1 and 2 , in general) individual
probabilities PX and PY respectively. As before, we can define on R 2 (or in 1 2 ) a
joint probability given by:
PX Y A B P X A Y B P X ,Y A B ,
where the marginal probabilities agree with PX and PY . We call to the corresponding
conditional one “Probability of X conditioned by Y ” and we represent it by PX /Y .
3
Let us calculate, like example, PX / X 2 , being f x the function of density of X :
PX X2
A B
PX A B PX A B f x dx f x dx
A B A B
f x f x
f x f x I x f x f x I x f x f x dx
A A
B
f x f x
I A x I A x dPX 2
B
f x f x f x f x
It must be therefore:
y I y f y I y
f
PX / X 2 y A
f y f y
f y f y
A A
In the case of being three variables X , Y , Z it is, in the same previous way,
PX /(Y Z ) PX / Y / Z . And if Z is independent of X , Y , it is PX /Y / Z PX /Y because:
A BC
dPX Y Z dPZ
C
A B
dPX Y dPZ dPY dPX /Y
C B A
whence:
P( X Y )/ Y y A B I B y PX /Y y A
A B P X A Y B P X A X 1 , X 2 f 1 B
PX Y
P X , X 1 , X 2 A f 1 B PX X X A f 1 B PX A PX X f 1 B
1 2 1 2
P X A P X 1 , X 2 f 1 B P X A P Y B PX A PY B
4
We can also deduce two well-known conditional expectation formulas, and see
that conditioned expectation from the point of view treated here, if it exists, coincides
with the classical one.
E X I B (Y ) E E X | Y I B (Y ) , because:
E X | Z E E[ X | Y , Z ] | Z , because:
A last problem