Ripetizioni di Analisi
EN

Definition · Discrete variables

Moments of a discrete random variable

Definition from the chapter Random variables and discrete distributions of Statistics and probability, with the exercises in which it is used.

Moments of a discrete random variable

For the number of heads in two tosses, the mean of the values , , weighted by their probabilities is

This is the weighted mean of Chapter 2, with probabilities in place of relative frequencies.

The expected value , also called the mean of , is this weighted mean:

When the support is infinite the sum is a series, and the expected value is defined only if the series converges absolutely, that is, if . If takes no negative values and the series diverges, one sets .

For a function , the expected value of is computed from the table for by replacing each value with :

whenever the sum converges absolutely. With this gives ; for the two coins, , which differs from . The number is called the moment of order ; is the first moment and the second.

With the previous formula gives , because the masses sum to . Moreover, for two random variables and with finite expected values,

even when and depend on each other; the result is proved in Chapter 7. For the sum of the results of two dice, for example, , because each die has mean . This property is called linearity of expectation.

Let ; the Greek letter is read mu. The deviations of from its mean are . If , the variance of is the mean of the squared deviations:

The second expression follows by expanding the square, , and applying linearity: . For the two coins the deviations are , , , so , and the second formula gives . The square root of the variance is called the standard deviation and has the same units as ; it indicates how far the values of typically lie from the mean.

Two random variables and are independent when, for every pair of values and , the events and are independent in the sense of Chapter 4, that is, , where the comma means that both events occur. The results of two separate dice are independent. Several random variables are independent when, for every choice of values , the events are mutually independent (Chapter 4). For independent random variables with finite variances, the variance of the sum is the sum of the variances, ; this too is proved in Chapter 7.

Read it in the chapter Random variables and discrete 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 →

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents