Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given two random samples a and b of a normal distribution, how can I calculate the probability that their difference |a-b| is bigger (or lesser) than c?

share|cite|improve this question
up vote 3 down vote accepted

Suppose that $X_1 \sim {\rm N}(\mu_1,\sigma_1^2)$ and $X_2 \sim {\rm N}(\mu_2,\sigma_2^2)$ are independent. Then, $X_1 - X_2 \sim {\rm N}(\mu_1 - \mu_2 , \sigma_1^2 + \sigma_2^2)$. Set $Y = X_1 - X_2$, $\mu = \mu_1 - \mu_2$, and $\sigma^2 = \sigma_1^2 + \sigma_2^2$. Then, for any $c > 0$, $$ P(|Y| \le c) = P( - c \le Y \le c) = P\bigg(\frac{{ - c - \mu }}{{\sigma }} \le \frac{{Y - \mu }}{{\sigma }} \le \frac{{c - \mu }}{{\sigma }}\bigg). $$ Noting that $(Y - \mu)/\sigma \sim {\rm N}(0,1)$, we are actually done.

share|cite|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.