Ripetizioni di Analisi
EN

Definition · Continuous variables

Density of a random variable

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

Density of a random variable

As in chapter 5, a random variable assigns a number to each outcome of an experiment; here the number is a measurement that can fall at any point of an interval, such as the duration of a test. The distribution of is the rule that gives, for every interval of numbers, the probability that falls in it.

A bus passes every minutes and a student arrives at the stop at a random time. The wait , in minutes, lies between and , and waiting intervals of the same length have the same probability. Hence , because the interval from to covers of the minutes. The same number is the area of the rectangle with base from to and height . Every probability about the wait is therefore an area under the function equal to between and and zero elsewhere; the total area is . Where values are more probable, the function is higher.

A density is an integrable function such that for every , , and

If has a density, its distribution is called absolutely continuous. The density is nonnegative because probabilities are not negative, and its total area is because this is the probability that takes some value.

The set of points where the density is positive is called the support of , as in the discrete case of chapter 5; for the bus it is . If is measured in seconds, is expressed in , because height times base must give a pure number. Changing a density at finitely many points leaves all areas unchanged, because a point has zero width; for this reason the value at the endpoints of the pieces, such as at and , is chosen for convenience.

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 →

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