Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

If $g=f(x,y)$ is a function of independent random variables $x$ and $y$ then how do we arrive at the expression for the probability density function of $g$,

$$f_G(g) = \iint f_X(x)f_Y(y)\delta(g-f(x,y))\mbox{d}x\mbox{d}y\ ?$$

I have been looking at some statistics books but cannot find it. Neither am I able to derive it myself. Any help would be appreciated.

share|improve this question

1 Answer

up vote 3 down vote accepted

Changing the variable from $g$ to $u = g - f(x,y)$ gives

$$\eqalign{ \int_{-\infty}^{t}\delta(g - f(x,y))dg =\int_{-\infty}^{t-f(x,y)}\delta(u)du = I_{t - f(x,y) \ge 0} = I_{f(x,y)\le t} }$$

(where $I$ is an indicator function). This is the definition of $\delta$. Now write the CDF for $g$ as an integral; namely,

$$\eqalign{ \int_{-\infty}^{t} f_G(g)dg = &G(t) \\ = &\mathbb{P}[f(x,y)\le t] \\ = &\iint_{\{f(x,y)\le t\}}f_X(x)f_Y(y)dx dy \\ = &\iint I_{f(x,y)\le t}f_X(x)f_Y(y)dx dy \\ = &\iint\left(\int_{-\infty}^{t}\delta(g - f(x,y))dg\right)f_X(x)f_Y(y)dx dy \\ = &\int_{-\infty}^{t} \left(\iint\delta(g - f(x,y)) f_X(x)f_Y(y)dx dy\right) dg. \\ }$$ Every step of this but the last merely applied a definition (of the pdf, of the CDF, of $\mathbb{P}$, and of the integral, in that order) or the preceding result. The last step is Fubini's Theorem extended to distributions.

The idea to do it this way comes from the fundamental intuition for working with generalized functions ("distributions") like $\delta$: they are defined in terms of integration by parts. Taking this as an invitation to integrate $\delta(g - f(x,y))dg$ leads to the first observation and everything follows readily.

share|improve this answer
Very Clear! Thanks. – yayu Oct 5 '11 at 1:54

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.