How would you calculate the expected value for continuous case?

How would you calculate the expected value for continuous case?

μ=μX=E[X]=∞∫−∞x⋅f(x)dx. The formula for the expected value of a continuous random variable is the continuous analog of the expected value of a discrete random variable, where instead of summing over all possible values we integrate (recall Sections 3.6 & 3.7).

What is the median of a continuous random variable?

The median of a continuous probability distribution is the point at which the distribution function has the value 0.5. A continuous random variable X has the following distribution function.

What is the average value of random variable?

The mean can be regarded as a measure of `central location’ of a random variable. It is the weighted average of the values that X can take, with weights provided by the probability distribution. The mean is also sometimes called the expected value or expectation of X and denoted by E(X).

Which is the expected value of continuous random?

E[X2] = 1 ∫ 0x2 ⋅ xdx + 2 ∫ 1×2 ⋅ (2 − x)dx = 1 ∫ 0x3dx + 2 ∫ 1(2×2 − x3)dx = 1 4 + 11 12 = 7 6.

How to calculate the expected value of X?

If X is a random variable with corresponding probability density function f(x), then we define the expected value of X to be E(X) := Z∞ −∞ xf(x)dx We define the variance of X to be Var(X) := Z∞ −∞ [x − E(X)]2f(x)dx 1 Alternate formula for the variance As with the variance of a discrete random variable, there is a simpler formula for the variance. 2

How to calculate the variance of a continuous random variable?

For the variance of a continuous random variable, the definition is the same and we can still use the alternative formula given by Theorem 3.7.1, only we now integrate to calculate the value: Var (X) = E [ X 2] − μ 2 = (∫ − ∞ ∞ x 2 ⋅ f (x) d x) − μ 2 Example 4.2. 1

How to calculate the standard deviation of a random variable?

The random variable X is given by the following PDF. Check that this is a valid PDF and calculate the standard deviation of X . To verify that f ( x) is a valid PDF, we must check that it is everywhere nonnegative and that it integrates to 1. We see that 2 (1-x) = 2 – 2x ≥ 0 precisely when x ≤ 1; thus f ( x) is everywhere nonnegative.