Joint and Conditional Distributions
Lecture Notes
(came lateβ¦)
Example 7.8
(a)
Keep in mind that you canβt separate out from because they are not necessarily independent.
We can use the fact that is complementary to divide up what means.
But notice that those two X densities are symmetric! Geometrically, they mirror each other the normal density. And so we can say that these two are equal.
And there we go! Thatβs the same as X, so we can say that
What about the joint distribution?
We can create a similar negative contrast.
Open question: work through the joint distribution exercise.
(c)
Since both X and Y are normal, the expectation is 0.
We can make this easier by splitting this into two situations.
The conclusion is that βX and Y are uncorrelatedβ because their covariance is equal to 0.
(d)
But they are not independent! This is a great counterexample to the false intuition that variables that are uncorrelated are necessarily independent. Thatβs why itβs not enough to calculate the covariance to determine independence.
And that indicates
And that is a proof by contradiction!
Example 7.12
(a)
In order to prove that this is a density, we need to prove that that the area under its function (integral) is equal to 1 over the entire domain.
We need to do a double integral here because the domain is across two variables.
The result becomes the integral over the exponential distribution which is known to be 1.
(b)
We are going to take some basic properties. What is the marginal distribution for each variable?
And we can recognize they take the form
Example 7.13
(a)
This type of problem is a way to flip around already understood concepts. We still need the same formula for density, but now weβre actually solving for something instead it proving something we already know.
We are taking a sum here because is the notation used for discrete random variables.
Conditional Distribution: The Discrete Case
We have the marginal probability of which we are already familiar.
From now on we will use the following notation:
which is the conditioning random variable.
Conditional CDF
We can use all of these expressions, which are the same. They might be useful in different contexts, though.
8.16
Conditional Expectation
And this expectation generalizes across any function of X.
This is the same result of linear expectation.
8.19
The joint density is not actually easy to determine here.
What is the probability that (Y = 3)? Itβs a geometric random variable, based on our knowledge of the βtrials until you have successβ property of geometric random variables.
Letβs see the probability for when (Y = 3). We will take the probability of every value of (x).
We actually have a restriction on our domain here.
Thereβs a common identity we can use for the geometric distribution: