MHB V: Understanding the Calculation of Variance for a Given CDF

  • Thread starter Thread starter Houdini1
  • Start date Start date
  • Tags Tags
    Cdf Variance
Houdini1
Messages
5
Reaction score
0
I already have the full solution to this so I'm not looking for an answer, I am hoping to get an explanation of certain parts that are unclear.

Question:
A random variable X has the following CDF:

[math] f(x) =\left\{ \begin{array}{lr} 0& x<0\\ \frac{x^2-2x+2}{2} & 1 \le x < 2 \\ 1 & x \ge 2 \end{array} \right.[/math]

Calculate the variance of X.

Solution:
When [math]1<x<2[/math] then E[X] can be calculated by first finding F'(x) and taking the integral [math]\int_{1}^{2}x*F'(x)dx[/math]

Since x must take on a particular value I'm guessing that it must be considered discrete at x=1 so to account for this we must add [math]1*P[X=1][/math] to the above integral.

For x < 0 and [math]x \ge 2[/math] the variance seems to be zero but I don't see why that isn't involved somehow in the calculation since x is apparently any value from negative infinity to infinity. The solution says the the above two parts plus finding the second moments of them are enough to find the variance but it seems to me a piece is missing.
 
Physics news on Phys.org
Houdini said:
I already have the full solution to this so I'm not looking for an answer, I am hoping to get an explanation of certain parts that are unclear.

Question:
A random variable X has the following CDF:

[math] f(x) =\left\{ \begin{array}{lr} 0& x<0\\ \frac{x^2-2x+2}{2} & 1 \le x < 2 \\ 1 & x \ge 2 \end{array} \right.[/math]

Calculate the variance of X.

Solution:
When [math]1<x<2[/math] then E[X] can be calculated by first finding F'(x) and taking the integral [math]\int_{1}^{2}x*F'(x)dx[/math]

Since x must take on a particular value I'm guessing that it must be considered discrete at x=1 so to account for this we must add [math]1*P[X=1][/math] to the above integral.

For x < 0 and [math]x \ge 2[/math] the variance seems to be zero but I don't see why that isn't involved somehow in the calculation since x is apparently any value from negative infinity to infinity. The solution says the the above two parts plus finding the second moments of them are enough to find the variance but it seems to me a piece is missing.

\(F'(x)=0\) for \(x<1\) and also for \(x > 2\) so these regions can be considered to already be represented in your integral of \(xF'(x)\)

CB
 
Last edited:
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top