Question: how to calculate the variance of a continuous random variable?
Answer: Variance of a continuous random variable. Recall that the variance of a random variable X is defined as follows: var(X)=σ2X=E[(X−μ)2],where μ=E(X).