A problem to do once and never come back
There is a problem I gave on the midterm that does not require much imagination. Just know the definitions and do the technical work, so I was hoping we could put this behind us. Turned out we could not and thus you see this post.
Problem. Suppose the joint density of variables is given by
I. Find .
II. Find marginal densities of . Are independent?
III. Find conditional densities .
IV. Find .
When solving a problem like this, the first thing to do is to give the theory. You may not be able to finish without errors the long calculations but your grade will be determined by the beginning theoretical remarks.
I. Finding the normalizing constant
Any density should satisfy the completeness axiom: the area under the density curve (or in this case the volume under the density surface) must be equal to one: The constant chosen to satisfy this condition is called a normalizing constant. The integration in general is over the whole plain and the first task is to express the above integral as an iterated integral. This is where the domain where the density is not zero should be taken into account. There is little you can do without geometry. One example of how to do this is here.
The shape of the area is determined by a) the extreme values of and b) the relationship between them. The extreme values are 0 and 1 for both and , meaning that is contained in the square The inequality means that we cut out of this square the triangle below the line (it is really the lower triangle because if from a point on the line we move down vertically, will stay the same and will become smaller than ).
In the iterated integral:
a) the lower and upper limits of integration for the inner integral are the boundaries for the inner variable; they may depend on the outer variable but not on the inner variable.
b) the lower and upper limits of integration for the outer integral are the extreme values for the outer variable; they must be constant.
This is illustrated in Pane A of Figure 1.
Always take the inner integral in parentheses to show that you are dealing with an iterated integral.
a) In the inner integral integrating over means moving along blue arrows from the boundary to the boundary The boundaries may depend on but not on because the outer integral is over
b) In the outer integral put the extreme values for the outer variable. Thus,
Check that if we first integrate over (vertically along red arrows, see Pane B in Figure 1) then the equation
In fact, from the definition one can see that the inner interval for is and for it is
II. Marginal densities
I can't say about this more than I said here.
The condition for independence of is (this is a direct analog of the independence condition for events ). In words: the joint density decomposes into a product of individual densities.
III. Conditional densities
In this case the easiest is to recall the definition of conditional probability The definition of conditional densities is quite similar:
Of course, here can be replaced by their marginal equivalents.
IV. Finding expected values of
The usual definition takes an equivalent form using the marginal density:
Which equation to use is a matter of convenience.
Another replacement in the usual definition gives the definition of conditional expectations:
Note that these are random variables: depends in and depends on
Solution to the problem
Being a lazy guy, for the problem this post is about I provide answers found in Mathematica:
II. for for
It is readily seen that the independence condition is not satisfied.
Leave a Reply
You must be logged in to post a comment.