Books Probability and Statistical Inference
Random Variables of the Continuous Type
Let denote the outcome when a point is selected at random from an interval , . If the experiment is performed in a fair manner, it is reasonable to assume that the probability that the point is selected from the interval , , is . That is, the probability is proportional to the length of the interval. So, the CDF (cumulative distribution function), with the same meaning borrowed from the case for discrete random variables, of is
Note that can be written as
where
and assumes the value 0 outside the interval . On we have , and is called the probability density function (PDF) of . The random variable like this is said to have a uniform distribution uniform distribution if its probability density function is constant on an interval.
For a continuous random variable , it is not natural to assign probability to the event for an isolated point in the same way as in the discrete case. As an analogy, consider a rod of total mass : one does not speak of the mass at a single point; instead one works with density (mass per unit length). Probability for continuous outcomes is analogous, which motivates the name probability density function.
We say a probability density function (PDF) probability density function of a random variable of the continuous type, with space that is an interval or union of intervals, is an integrable function on satisfying the following conditions:
- for all .
- .
-
If , then the probability of the event is
The cumulative distribution function (CDF) cumulative distribution function or distribution function distribution function of defined in terms of the PDF is then given by
The expected value expected value of , or the mean mean of , is defined as
the variance variance of is
and the moment-generating function moment-generating function of is
This is not the first place the moment-generating function appears: we already introduced for discrete random variables and related it to moments there. That earlier discussion will be completed when we typeset the discrete chapter; here we only spell out the integral form for the continuous case and recall the same hypotheses.
The algebraic identity holds whenever the second moment is finite: if , then and are finite and the formula follows.
Suppose is finite for all in some open interval with . Then is infinitely differentiable on , and for every nonnegative integer ,
Casella and Berger Casella and Berger (2002) give a standard statement and proof of this identity. In particular, and . Under these hypotheses, the conclusions agree with those already recorded for discrete random variables.
The CDF also answers percentile (or quantile) questions. Fix . A value is called a 100p-th percentile percentile of the distribution of if
Equivalently, is a p-quantile quantile of . The median is the 50th percentile, i.e. any with ; when the solution is unique, . When is continuous and strictly increasing on an interval, there is a unique for each , and the map coincides with the inverse function . More generally, when has flat pieces, one uses the generalized inverse to define the quantile in a unique way; we will not need that refinement here.