In the previous section, we introduced continuous random variables and the most pervasive probability distribution: the Gaussian distribution. In this section, we will look at other commonly used continuous probability distributions: the Uniform, Exponential and Laplace distributions.
The uniform distribution is a distribution that assigns equal density to all values in an interval . Its probability density function is given by:
The CDF for the uniform distribution can be analytically derived by integrating :
Let's visualise the PDF and CDF:
Play around with the values of and to see how the distribution changes. Pay attention to the values of the PDF: how do they change as you change the width of the interval . For instance, set and and visualise the PDF. Do the values of the PDF make sense to you? If not, remember that the PDF expresses probability density and not probability itself!
The uniform distribution has the following properties:
The exponential distribution is a single parameter distribution with the following PDF:
Just like the uniform distribution, we can easily arrive at the CDF by integrating the PDF. For :
For , so the full CDF can be represented as:
Let's visualise:
The exponential distribution has the following properties:
The Laplace distribution is a double-sided version of the exponential distribution. Its PDF is defined as follows:
Relative to the exponential distribution, you can see that:
Let's quickly visualise its PDF:
Its main properties are: