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

  • Thread starter Thread starter Houdini1
  • Start date Start date
  • Tags Tags
    Cdf Variance
AI Thread Summary
The discussion revolves around calculating the variance of a random variable X defined by a specific cumulative distribution function (CDF). The key points include the calculation of the expected value E[X] using the integral of x multiplied by the derivative of the CDF, F'(x), for the interval 1 < x < 2. There is a consideration of the discrete nature of the variable at x=1, requiring the addition of 1*P[X=1] to the integral. The variance for regions where x < 0 and x ≥ 2 is stated to be zero, raising questions about their contribution to the overall variance calculation. The final clarification indicates that these regions are adequately represented in the integral, addressing concerns about missing components in the variance calculation.
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:
I'm taking a look at intuitionistic propositional logic (IPL). Basically it exclude Double Negation Elimination (DNE) from the set of axiom schemas replacing it with Ex falso quodlibet: ⊥ → p for any proposition p (including both atomic and composite propositions). In IPL, for instance, the Law of Excluded Middle (LEM) p ∨ ¬p is no longer a theorem. My question: aside from the logic formal perspective, is IPL supposed to model/address some specific "kind of world" ? Thanks.
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top