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.

β„™(𝑋≀π‘₯)β„™(πœ–=1)+β„™(βˆ’π‘‹β‰€π‘₯)β„™(πœ–=βˆ’1)

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

π‘Œ=𝑁(0,1)

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.

Cov(𝑋,π‘Œ)=𝔼[π‘‹π‘Œ]βˆ’π”Ό[𝑋]𝔼[π‘Œ]=𝔼[𝑋,π‘Œ]

We can make this easier by splitting this into two situations.

=𝔼[π‘‹β‹…πœ–π‘‹]=𝔼[πœ–]𝔼[𝑋2]=0

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.

𝔼[𝑋2π‘Œ2]=𝔼[𝑋2πœ–2𝑋2]=𝔼[πœ–2𝑋4]=𝔼[πœ–2]𝔼[𝑋4]=1Γ—3=3

𝔼[𝑋2]=1

𝔼[π‘Œ2]=𝔼[πœ–2𝑋2]=𝔼[πœ–2]𝔼[𝑋2]=1

And that indicates

𝔼[𝑋2π‘Œ2]≠𝔼[𝑋2]𝔼[π‘Œ2]

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?

π‘“π‘Œ(𝑦)=π‘Ž2π‘¦π‘’βˆ’π‘Žπ‘¦

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.

(π‘₯βˆ’1)2π‘₯2

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:

𝑔(π‘₯)=βˆ‘π‘›=0∞π‘₯𝑛=11βˆ’π‘₯

𝑔′(π‘₯)=βˆ‘π‘›=1βˆžπ‘›π‘₯π‘›βˆ’1=1(1βˆ’π‘₯)2

π‘₯𝑔′(π‘₯)=βˆ‘π‘›=0βˆžπ‘›π‘₯𝑛=π‘₯(1βˆ’π‘₯)2