Definition · Continuous variables
Moments of a distribution with a density
Definition from the chapter Continuous random variables and distributions of Statistics and probability, with the exercises in which it is used.
Moments of a distribution with a density
In chapter 5 the expected value of a discrete variable was the sum of the values weighted by their probabilities, . With a density, the interval from to has probability approximately , so the sum becomes an integral. If is finite, the expected value is
If is also finite, we define
The first formula integrates the squared values weighted by the density. The integrals of are called the moments of the distribution: is the first moment and the second moment.
The variance is the expected value of the squared deviation from the mean, . The computational formula follows by expanding the square and using the linearity of expectation, . The standard deviation is the square root of the variance. The expected value gives the center of the distribution, such as the mean wait at a counter, and the standard deviation gives the typical distance of the values from that center. If is measured in meters, and the standard deviation have units of , whereas the variance has units of .
Read it in the chapter Continuous random variables and distributions →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →