(Addition of Discrete and Continuous Random Variables)
Line 81: Line 81:
  
 
*<math>f_Z(z) = \int^\infty_{-\infty} f_X(x)f_Y(z-x) dx</math>
 
*<math>f_Z(z) = \int^\infty_{-\infty} f_X(x)f_Y(z-x) dx</math>
 +
 +
 +
 +
 +
If  X and Y are '''discrete''' and independent random variables and Z  = X + Y then<br>
 +
 +
 +
 +
== <math>f_Z(z) = \sum_x f_X(x) f_Y(z-x)  dx</math>==
  
 
==Other Useful Things==
 
==Other Useful Things==

Revision as of 17:11, 22 October 2008

Cumulative Density Function (CDF)

  • $ F_X(x) = P[X \leq x] = \int_{-\infty}^{\infty} f_x(t)dt $
  • $ 1 - F_X(x) = P[X > x]\! $

$ \lim_{x\rightarrow-\infty}F_X(x) = 0 $

$ \lim_{x\rightarrow\infty}F_X(x) = 1 $

If X is discrete PX(k) = P(X<= k)-P(X<=k-1)

                      = FX(k)-FX(k-1)

Converting from CDF -> PDF :

fX(x) = d FX(x)/dt i.e. Take derivative of the CDF to get PDF

Exponential RV

PDF: fX(x) = $ \lambda*e^{-\lambda*x} $, x >= 0 ; fX(x) = 0 , else

CDF: FX(x) = $ 1-e^{-\lambda*x} $

  • E[X] = 1/$ \lambda $ , var(X) = 1/($ \lambda)^2 $

Gaussian RV

  • The sum of many, small independent things
  • Parameters:

$ E[X]=\mu\! $
$ Var[X]=\sigma^2\! $

$ f_X(x)=\frac{1}{\sqrt{2\pi\sigma^2}}e^{\frac{-(x-\mu)^2}{2\sigma^2}} $

For 2 independent Gaussians:

$ Z=X+Y\! $
$ E[Z]=\mu_X +\mu_Y\! $
$ Var(Z)=\sigma^2_X+\sigma^2_Y $

PDF Properties

  • $ f_X(x)\geq 0 $ for all x
  • $ \int\limits_{-\infty}^{\infty}f_X(x)dx = 1 $
  • If $ \delta $ is very small, then
 $  P([x,x+\delta]) \approx f_X(x)\cdot\delta $
  • For any subset B of the real line,
 $  P(X\in B) = \int\limits_Bf_X(x)dx  $
  • For Continuos Random Variable:
 P(X > x) = $  \int\limits_{x}^{\infty}f_X(x)dx  $
 P(X <= x) = $  \int\limits_{-\infty}^{x}f_X(x)dx  $

Theorem of Total Probability for Continuous Random Variables

  • $ f_Y(y) = f_{Y|A}(y)P(A) + f_{Y|B}(y)P(B)\, $
  • $ f_X(x) = \int^\infty_{-\infty}f_{XY}(x,y)dy = \int^\infty_{-\infty}f_{X|Y}(x|y)f_Y(y)dy \, $

Conditioning a Random variable on an Event

$ f_{X|Y}(x)=P(X=x|A)=\frac {P({X=x}\cap A)}{P(A)} $

The events $ {X=x}\cap A $ are disjoint for different values of x, their union is A, and,therefore,

$ P(A)=\sum_xP({X=x}\cap A) $

$ \sum_xP_{x|A}(x)=1 $

Conditioning a Random variable on another Random variable

$ f_{X|Y}(x|y)=\dfrac {f_{XY}(x,y)}{f_{Y}(y)} $

Shifting and Scaling of Random Variables

Let $ Y=aX+b \, $


$ f_Y(y)=\dfrac{1}{|a|}f_Y(\dfrac{y-b}{a})\! $

  • $ E[Y] = aE[X]+b \, $
  • $ Var(X) = a^2 E[X^2] \, $

Addition of Discrete and Continuous Random Variables

If X and Y are continuous and independent random variables and Z = X + Y then


  • $ f_Z(z) = \int^\infty_{-\infty} f_X(x)f_Y(z-x) dx $



If X and Y are discrete and independent random variables and Z = X + Y then


$ f_Z(z) = \sum_x f_X(x) f_Y(z-x) dx $

Other Useful Things

If X and Y are indepdent of each other, then

  • $ E[XY] = E[X]E[Y]\! $
  • $ E[X] = \int^\infty_{-\infty}x*f_X(x)dx\! $
  • $ Var(X) = E[X^2] - (E[X])^2\! $

Marginal Probability Density Functions:

  • $ f_X(x) = \int^\infty_{-\infty} f_{XY}(x,y) dy $
  • $ f_Y(y) = \int^\infty_{-\infty} f_{XY}(x,y) dx $

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett