2.4 Marginal distributions

A marginal distribution can be found by ‘integrating out’ (in the continuous case) the other variables. You can imagine looking at the joint probability function in (say) the x-direction, and accumulating the probability in that direction.

Example 2.8 (Rectangular sample space) For the joint probability distribution above, the marginal distribution for X is fX(x)=113(x+z2)5dz=2(3x+1)5 for 0<x<1. Note that this is a valid PDF.

Similarly, fZ(z)=103(x+z2)5dx=3(1+2z2)10 for 1<z<1.

Example 2.9 (Non-rectangular sample space) Consider the PDF for two rvs X and Y: fX,Y(x,y)=k(x+2y)for 0<x<2 and 0<y<(x/2). To find the value of k, we need to ensure the integral over the sample space S is one. Note that the sample space here is non-rectangular, so we need to be careful with the limits of integration; see Fig. 2.4. So proceed: 1=k20y=x/2y=0(x+2y)dydx=k203x2/4dx=2k, so we require that k=1/2. The PDF is fX,Y(x,y)=(x+2y)/2 over the defined sample space.

A non-rectangular sample space

FIGURE 2.4: A non-rectangular sample space