How do I solve for conditional variance in a continuous distribution?

  • Context: Undergrad 
  • Thread starter Thread starter waealu
  • Start date Start date
  • Tags Tags
    Conditional Variance
Click For Summary

Discussion Overview

The discussion revolves around the calculation of conditional variance in the context of a continuous distribution, specifically focusing on the expression Var[Y|X=x]. Participants explore how to set up the problem and derive the necessary components, including conditional expectations.

Discussion Character

  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • One participant seeks guidance on how to find the conditional variance Var[Y|X=x] given a specific continuous distribution function f(x,y) = 2x for defined ranges.
  • Another participant provides the formula for conditional variance, stating that VAR[Y|X=x] = E[Y^2|X=x] - (E[Y|X=x])^2, prompting further exploration of how to calculate these expectations.
  • A participant questions how to derive the conditional expectation E[Y|X=x], suggesting the use of the integral E[Y|X=x]=∫ y*f(y|x)*dy, where f(y|x) is defined as f(x,y) / f(x).
  • Another response elaborates on the integration process, explaining that one integrates over the y component to obtain an expectation in terms of a fixed x, describing the concept of 'slices' in the y-z axis corresponding to univariate distributions for each x value.

Areas of Agreement / Disagreement

Participants generally agree on the formulas for conditional variance and expectation but do not reach a consensus on the specific steps or methods to compute these values from the given distribution.

Contextual Notes

The discussion does not resolve the mathematical steps required to compute the conditional variance or expectation, leaving some assumptions and dependencies on definitions unaddressed.

waealu
Messages
36
Reaction score
0
I am working on studying for a probability exam and I just came across conditional variance, but I can't find anything in my materials for how to solve it.

If I want to find the conditional variance of Y given that X=x, or Var[Y|X=x], how would I solve it? I am given a continuous distribution function of:

f(x,y) = 2x, for 0<x<1, x<y<x+1
otherwise 0.

How do I set up this question?

Thanks!
 
Physics news on Phys.org
Sorry, I think I posted this in the wrong part of the forum. I re-posted it in the Homework help section.
 
Hey waealu and welcome to the forums.

Given VAR[Y|X=x] = E[Y^2|X=x] - (E[Y|X=x])^2, what can you do to calculate the variance?
 
I understand that's how you could get the conditional variance, but how do you get the conditional expectation.

Is it E[Y|X=x]=∫ y*f(y|x)*dy ?

Where f(y|x) = f(x,y) / f(x) ?
 
You integrate out the y component and get an expectation in terms of some x. So usually for getting the expectation of a bi-variate distribution, you integrate across some two-dimensional region, but since it is conditional you are going to integrate with respect to dy and you will get a conditional expectation in terms of some parameter for X=x.

The easiest way to think of it is that for each value of x there is a 'slice' that is in the y-z axis that corresponds to a univariate distribution in terms of y for a fixed x. So if think of the individual slices corresponding to x-values, you have a different univariate distribution for every valid value of x and you are finding an expectation conditioned on a particular value of x. Because you don't specify the x-value it becomes a parameter.

So the conditional expectation assuming E[Y|X=x] is Integral(y-minimum,ymaximum)yf(x,y)dy.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
1
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K