Calculate expected value and variance of d, d = sqrt(x^2+y^2)

In summary, the conversation discusses the calculation of the expected value and variance of a third stochastic variable, D, defined as the square root of the sum of two other stochastic variables, X and Y. The equation for calculating the variance of D is provided, but the expected value, muD, is not known and cannot be assumed to be the square root of the sum of the expected values of X and Y due to their non-independence. The concept of Jensen's inequality is mentioned as a potential explanation for the difficulty in finding the expected value of D.
  • #1
tschoni
1
0
I'm bad at stochastics so really glad for any help

Homework Statement



I have two normally distributed NON INDEPENDENT stochastic variables X~N(muX,sigX^2) and Y~N(muY,sigY^2)
A third variable D is defined as D = sqrt(X^2 + Y^2).
Since Y and X are stochastic D will also be stochastic.

Homework Equations



But how to calculate expected value muD and variance sigD^2 properly?

The Attempt at a Solution



Calculate the variance sigD^2
D = sqrt(X^2 + Y^2) (1)
D^2 = X^2 + Y^2 (2)
E[D^2] = E[X^2 + Y^2] = E[X^2] + E[Y^2] (3)
sigD^2 = E[(D - muD)^2] = E[D^2] - muD^2 (4)
Using (3) in (4)
sigD^2 = E[X^2] + E[Y^2] - muD^2 (5)
sigD^2 = E[X]^2 + Var[X] + E[Y]^2 + Var[Y] - muD^2 (5)
sigD^2 = muX^2 + sigX^2 + muY^2 +sigY^2 - muD^2 (6)
So far so good.
Calculate muD
At this point I thought I'm done.
But what about muD? I don't have it!
At first tempting to assume
muD = sqrt(muX^2+muY^2)
But I don't think it's true, since X and Y are not independent. And even if it is true, how to show it.
If I start out
muD = E[D] = E[sqrt(X^2 + Y^2)]
I don't manage to come to a solution.

Really appreciate any help
 
Physics news on Phys.org
  • #2
I think that finding Ed (d = sqrt(X^2 + Y^2) ) is possible only numerically. Your hoped-for result Ed = sqrt(muX^2 + muY^2) is false: it is an example of the so-called "fallacy of averages". In (x,y) space the function f(x,y) = sqrt(x^2 + y^2) is *convex*, so E f(X,Y) >= f(EX,EY), and for a spread out distribution like yours (which straddles the origin) the inequality will be strict. Google "Jensens inequality" for more on this.

RGV
 
Last edited:

FAQ: Calculate expected value and variance of d, d = sqrt(x^2+y^2)

What is the formula for calculating expected value of d?

The formula for calculating expected value of d is: E(d) = √[ E(x)^2 + E(y)^2 ]

How do you calculate variance of d?

The formula for calculating variance of d is: Var(d) = E(d^2) - [E(d)]^2

What does the expected value of d represent?

The expected value of d represents the average distance from the origin point (0,0) to a point (x,y) on a graph.

How is the expected value affected by changing the values of x and y?

The expected value is affected by changing the values of x and y. As the values of x and y increase, the expected value of d will also increase. Conversely, as the values of x and y decrease, the expected value of d will also decrease.

Can you use the expected value and variance of d to make predictions about the data?

Yes, the expected value and variance of d can be used to make predictions about the data. They provide useful information about the central tendency and spread of the data, which can help in making predictions or drawing conclusions about the data set.

Back
Top