Continuous Probability
Cumulative distribution function
The cumulative distribution function of a random variable
holds for every real number
Density function
A function
holds for every real numbers
Then (only if the density function exists) we have
where the latter equation is for "almost all" real numbers
For every density function
Expectation
Let
The variance of
The standard deviation of
Note: expectation of
Exponential distribution
A random variable
If
Example 1
Problem
We have ordered an item online, and we know that the delivery is between 8:00 and 10:00, at a time which is uniformly distributed on the interval
a) Calculate
b)
c)
Solution
a) Since the probabilities are proportional to the length of the interval (a = 8, b = 9):
b) Since the probabilities are proportional to the length of the interval (a = 8.5, b = 9):
c) Since the probabilities are proportional to the length of the interval (a = 9.75, b = 10):
Example 2
Problem
Let the cumulative distribution function of
a) Determine the density function of
b) What is the probability that
c) Determine the expectation of
d) Determine the standard deviation of
Solution
a) If it exists, the density function is the derivative of the cumulative distribution function:
It is easy to check that
b) Based on the definition of the cumulative distribution function:
Or:
c) Based on the definition of expectation:
d) We first calculate the expectation of
And then calculate the standard deviation:
Example 3
Problem
Suppose that X has uniform distribution on the interval
a) Find the cumulative distribution function and density function of
b) Find the cumulative distribution function and density function of
c) Determine the expectation and variance of
Solution
Since
The CDF (cumulative distribution function) of
so:
a) Find the cumulative distribution function and density function of
The density function of
b) Find the cumulative distribution function and density function of
The density function of
c) Because the primitive function of
Because the primitive function of
And then we find the variance of
