relationship between two normally distributed variables

114 Views Asked by At

Say I have two normally distributed independent random variables (X1 and X2) with the same variance but different means. How would I calculate P(X1 > X2)?

1

There are 1 best solutions below

2
On

This is the same as $P \left(X_1-X_2>0\right)=\int_0^{\infty } \left(f_1\left( x\right)-f_2\left( x\right)\right) \, dx$

$$ =\frac{1}{2} \left(\frac{\text{erf} \text{$\mu $2}}{\sqrt{2} \sigma }-\frac{\text{erf} \text{$\mu $1}}{\sqrt{2} \sigma }\right)$$