Various parametric continuous probability models have been presented and discussed in this blog. The number of parameters in these models ranges from one to two, and in a small number of cases three. They are all potential candidates for models of severity in insurance applications and in other actuarial applications. This post highlights these models. The list presented here is not exhaustive; it is only a brief catalog. There are other models that are also suitable for actuarial applications but not accounted for here. However, the list is a good place to begin. This post also serves a navigation device (the table shown below contains links to the blog posts).
Many of the models highlighted here are related to gamma distribution either directly or indirectly. So the catalog starts with the gamma distribution at the top and then branches out to the other related models. Mathematically, the gamma distribution is a two-parameter continuous distribution defined using the gamma function. The gamma sub family includes the exponential distribution, Erlang distribution and chi-squared distribution. These are distributions that are gamma distributions with certain restrictions on the one or both of the gamma parameters. Other distributions are obtained by raising a distribution to a power. Others are obtained by mixing distributions.
Here’s a listing of the models. Click on the links to find out more about the distributions.
|Gamma sub families|
|Independent sum of gamma|
|Raising to a power||Raising exponential to a positive power|
|Raising exponential to a power|
|Raising gamma to a power|
|Raising Pareto to a power|
|Burr sub families|
The above table categorizes the distributions according to how they are mathematically derived. For example, the gamma distribution is derived from the gamma function. The Pareto distribution is mathematically an exponential-gamma mixture. The Burr distribution is a transformed Pareto distribution, i.e. obtained by raising a Pareto distribution to a positive power. Even though these distributions can be defined simply by giving the PDF and CDF, knowing how their mathematical origins informs us of the specific mathematical properties of the distributions. Organizing according to the mathematical origin gives us a concise summary of the models.
Further Comments on the Table
From a mathematical standpoint, the gamma distribution is defined using the gamma function.
In this above integral, the argument is a positive number. The expression in the integrand is always positive. The area in between the curve and the x-axis is . When this expression is normalized, i.e. divided by , it becomes a density function.
The above function is defined over all positive . The integral of over all positive is 1. Thus is a density function. It only has one parameter, the , which is the shape parameter. Adding the scale parameter making it a two-parameter distribution. The result is called the gamma distribution. The following is the density function.
Both parameters and are positive real numbers. The first parameter is the shape parameter and is the scale parameter.
As mentioned above, many of the distributions listed in the above table is related to the gamma distribution. Some of the distributions are sub families of gamma. For example, when are positive integers, the resulting distributions are called Erlang distribution (important in queuing theory). When , the results are the exponential distributions. When and where is a positive integer, the results are the chi-squared distributions (the parameter is referred to the degrees of freedom). The chi-squared distribution plays an important role in statistics.
Taking independent sum of independent and identically distributed exponential random variables produces the Erlang distribution, a sub gamma family of distribution. Taking independent sum of exponential random variables, with pairwise distinct means, produces the hypoexponential distributions. On the other hand, the mixture of independent exponential random variables produces the hyperexponential distribution.
The Pareto distribution (Pareto Type II Lomax) is the mixture of exponential distributions with gamma mixing weights. Despite the connection with the gamma distribution, the Pareto distribution is a heavy tailed distribution. Thus the Pareto distribution is suitable for modeling extreme losses, e.g. in modeling rare but potentially catastrophic losses.
As mentioned earlier, raising a Pareto distribution to a positive power generates the Burr distribution. Restricting the parameters in a Burr distribution in a certain way will produces the paralogistic distribution. The table indicates the relationships in a concise way. For details, go into the blog posts to get more information.
Another informative way to categorize the distributions listed in the table is through looking at the tail weight. At first glance, all the distributions may look similar. For example, the distributions in the table are right skewed distributions. Upon closer look, some of the distributions put more weights (probabilities) on the larger values. Hence some of the models are more suitable for models of phenomena with significantly higher probabilities of large or extreme values.
When a distribution significantly puts more probabilities on larger values, the distribution is said to be a heavy tailed distribution (or said to have a larger tail weight). In general tail weight is a relative concept. For example, we say model A has a larger tail weight than model B (or model A has a heavier tail than model B). However, there are several ways to check for tail weight of a given distribution. Here are the four criteria.
|Tail Weight Measure||What to Look for|
|1||Existence of moments||The existence of more positive moments indicates a lighter tailed distribution.|
|2||Hazard rate function||An increasing hazard rate function indicates a lighter tailed distribution.|
|3||Mean excess loss function||An increasing mean excess loss function indicates a heavier tailed distribution.|
|4||Speed of decay of survival function||A survival function that decays rapidly to zero (as compared to another distribution) indicates a lighter tailed distribution.|
Existence of moments
For a positive real number , the moment is defined by the integral where is the density function of the distribution in question. If the distribution puts significantly more probabilities in the larger values in the right tail, this integral may not exist (may not converge) for some . Thus the existence of moments for all positive is an indication that the distribution is a light tailed distribution.
In the above table, the only distributions for which all positive moments exist are gamma (including all gamma sub families such as exponential), Weibull, lognormal, hyperexponential, hypoexponential and beta. Such distributions are considered light tailed distributions.
The existence of positive moments exists only up to a certain value of a positive integer is an indication that the distribution has a heavy right tail. All the other distributions in the table are considered heavy tailed distribution as compared to gamma, Weibull and lognormal. Consider a Pareto distribution with shape parameter and scale parameter . Note that the existence of the Pareto higher moments is capped by the shape parameter . If the Pareto distribution is to model a random loss, and if the mean is infinite (when ), the risk is uninsurable! On the other hand, when , the Pareto variance does not exist. This shows that for a heavy tailed distribution, the variance may not be a good measure of risk.
Hazard rate function
The hazard rate function of a random variable is defined as the ratio of the density function and the survival function.
The hazard rate is called the force of mortality in a life contingency context and can be interpreted as the rate that a person aged will die in the next instant. The hazard rate is called the failure rate in reliability theory and can be interpreted as the rate that a machine will fail at the next instant given that it has been functioning for units of time.
Another indication of heavy tail weight is that the distribution has a decreasing hazard rate function. On the other hand, a distribution with an increasing hazard rate function has a light tailed distribution. If the hazard rate function is decreasing (over time if the random variable is a time variable), then the population die off at a decreasing rate, hence a heavier tail for the distribution in question.
The Pareto distribution is a heavy tailed distribution since the hazard rate is (Pareto Type I) and (Pareto Type II Lomax). Both hazard rates are decreasing function.
The Weibull distribution is a flexible model in that when its shape parameter is , the Weibull hazard rate is decreasing and when , the hazard rate is increasing. When , Weibull is the exponential distribution, which has a constant hazard rate.
The point about decreasing hazard rate as an indication of a heavy tailed distribution has a connection with the fourth criterion. The idea is that a decreasing hazard rate means that the survival function decays to zero slowly. This point is due to the fact that the hazard rate function generates the survival function through the following.
Thus if the hazard rate function is decreasing in , then the survival function will decay more slowly to zero. To see this, let , which is called the cumulative hazard rate function. As indicated above, . If is decreasing in , has a lower rate of increase and consequently has a slower rate of decrease to zero.
In contrast, the exponential distribution has a constant hazard rate function, making it a medium tailed distribution. As explained above, any distribution having an increasing hazard rate function is a light tailed distribution.
The mean excess loss function
The mean excess loss is the conditional expectation . If the random variable represents insurance losses, mean excess loss is the expected loss in excess of a threshold conditional on the event that the threshold has been exceeded. Suppose that the threshold is an ordinary deductible that is part of an insurance coverage. Then is the expected payment made by the insurer in the event that the loss exceeds the deductible.
Whenever is an increasing function of the deductible , the loss is a heavy tailed distribution. If the mean excess loss function is a decreasing function of , then the loss is a lighter tailed distribution.
The Pareto distribution can also be classified as a heavy tailed distribution based on an increasing mean excess loss function. For a Pareto distribution (Type I) with shape parameter and scale parameter , the mean excess loss is , which is increasing. The mean excess loss for Pareto Type II Lomax is , which is also decreasing. They are both increasing functions of the deductible ! This means that the larger the deductible, the larger the expected claim if such a large loss occurs! If the underlying distribution for a random loss is Pareto, it is a catastrophic risk situation.
In general, an increasing mean excess loss function is an indication of a heavy tailed distribution. On the other hand, a decreasing mean excess loss function indicates a light tailed distribution. The exponential distribution has a constant mean excess loss function and is considered a medium tailed distribution.
Speed of decay of the survival function to zero
The survival function captures the probability of the tail of a distribution. If a distribution whose survival function decays slowly to zero (equivalently the cdf goes slowly to one), it is another indication that the distribution is heavy tailed. This point is touched on when discussing hazard rate function.
The following is a comparison of a Pareto Type II survival function and an exponential survival function. The Pareto survival function has parameters ( and ). The two survival functions are set to have the same 75th percentile, which is . The following table is a comparison of the two survival functions.
Note that at the large values, the Pareto right tails retain much more probabilities. This is also confirmed by the ratio of the two survival functions, with the ratio approaching infinity. Using an exponential distribution to model a Pareto random phenomenon would be a severe modeling error even though the exponential distribution may be a good model for describing the loss up to the 75th percentile (in the above comparison). It is the large right tail that is problematic (and catastrophic)!
Since the Pareto survival function and the exponential survival function have closed forms, We can also look at their ratio.
In the above ratio, the numerator has an exponential function with a positive quantity in the exponent, while the denominator has a polynomial in . This ratio goes to infinity as .
In general, whenever the ratio of two survival functions diverges to infinity, it is an indication that the distribution in the numerator of the ratio has a heavier tail. When the ratio goes to infinity, the survival function in the numerator is said to decay slowly to zero as compared to the denominator.
It is important to examine the tail behavior of a distribution when considering it as a candidate for a model. The four criteria discussed here provide a crucial way to classify parametric models according to the tail weight.
The previous post opens up a discussion on generating distributions by raising an existing distribution to a power. The previous post focuses on the example of raising an exponential distribution to a power. This post focuses on the distributions generated by raising a gamma distribution to a power.
Raising to a Power
Let be a random variable. Let be a positive constant. The random variables , and are called transformed, inverse and inverse transformed, respectively.
Let , and be the probability density function (PDF), the cumulative distribution function (CDF) and the survival function of the random variable (the base distribution). The following derivation seeks to express the CDFs of the “transformed” variables in terms of the base CDF .
Unlike the exponential distribution, the CDF of the gamma distribution does not have a closed form. Suppose that is a random variable that has a gamma distribution with shape parameter and scale parameter . The following is the expression of the gamma CDF.
By a change of variable, the CDF can be expressed as the following integral.
Note that and are the gamma function and incomplete gamma function, respectively, defined as follows.
The CDF can be evaluated numerically using software. When the gamma distribution is raised to a power, the resulting CDF will be defined as a function of .
“Transformed” Gamma CDFs
The CDF of the “transformed” gamma distributions does not have a closed form. Thus the CDFs are to be defined based on an integral or the incomplete gamma function, shown in the preceding section. We still use the two-step approach – first deriving the CDF without the scale parameter and then add it at the end. Based on the two preceding sections, the following shows the CDFs of the three different cases.
The transformed gamma distribution and the inverse transformed gamma distribution are three-parameter distributions with being the shape parameter, being the scale parameter and being in the power to which the base gamma distribution is raised. The inverse gamma distribution has two parameters with being the scale parameter and being shape parameter (the same two parameters in the base gamma distribution). Computation of these CDFs would require the use of software that can evaluate incomplete gamma function.
Another Way to Work with “Transformed” Gamma
The CDFs derived in the preceding section is a two-step approach – first raising a gamma distribution with scale parameter equals to 1 to a power and then adding a scale parameter. The end result gives CDFs that are a function of the incomplete gamma function. Calculating a CDF would require using a software that has the capability of evaluating incomplete gamma function (or evaluating an equivalent integral). If the software that is used does not have the incomplete gamma function but has gamma CDF (e.g. Excel), then there is another way of generating the “transformed” gamma CDF.
Observe that the CDFs in the last section are the results of raising a base gamma distribution with shape parameter and (transformed), shape parameter and (inverse) and shape parameter and (inverse transformed). Based on this observation, we can evaluate the CDFs and the moments. This section shows how to evaluate CDFs using this approach. The next section shows how to evaluate the moments.
Transformed Gamma Distribution
Inverse Gamma Distribution
Inverse Transformed Gamma Distribution
Example 1 below uses Excel to compute the transformed gamma CDF.
“Transformed” Gamma Moments
Following the idea in the preceding section, the moments for the “transformed” gamma moments can be derived using gamma moments with the appropriate parameters (see here for the gamma moments). The following table shows the results.
|Base Gamma Parameters||Moments|
Note that the moments for the transformed gamma distribution exists for all positive . The moments for inverse gamma are limited (capped by the shape parameter ). The moments for inverse transformed gamma are also limited, this time limited by both parameters. The computation for these moments is usually done by software, except when the argument of the gamma function is a positive integer.
“Transformed” Gamma PDFs
Once the CDFs are known, the PDFs are derived by taking derivative. The following table gives the three PDFs.
Each PDF is obtained by taking derivative of the integral for the corresponding CDF.
The post is concluded with one example demonstrating the calculation for CDF and percentiles using the gamma distribution function in Excel.
The size of a collision claim from a large pool of auto insurance policies has a transformed gamma distribution with parameters , and . Determine the following.
- The probability that a randomly selected claim is greater than than 6.75.
- The probability that a randomly selected claim is between 4.25 and 8.25.
- The median size of a claim from this pool of insurance policies.
- The mean and variance of a claim from this pool of insurance policies.
- The probability that a randomly selected claim is within one standard deviation of the mean claim size.
- The probability that a randomly selected claim is within two standard deviations of the mean claim size.
Since , this is a transformed gamma distribution. There are two ways to get a handle on this distribution. One way is to plug in the three parameters , and into the transformed gamma CDF (in the table Step 2. “Transformed” Gamma CDF (with scale parameter)). This would require using a software that can evaluate the incomplete gamma function or its equivalent integrals. The other way is to know that this distribution is the result of raising the gamma distribution with shape parameter and scale parameter to the power of 1/2. We take the latter approach.
In Excel, =GAMMA.DIST(A1,B1,C1,TRUE) is the function that produces the gamma CDF , assuming that the value is in cell A1, the shape parameter is in cell B1 and the scale parameter is in cell C1. When the last parameter is TRUE, it gives the CDF. If it is FALSE, it gives the PDF. For example, =GAMMA.DIST(2.5, 2, 1, TRUE) gives the value of 0.712702505.
The transformed gamma distribution in question (random variable ) is the result of raising gamma and scale parameter 16 (random variable ) to 1/2. Thus the CDF is obtained from evaluating the gamma CDF , which is =GAMMA.DIST(, 2.5, 16, TRUE). As a result, the following gives the answers for the first two bullet points.
=GAMMA.DIST(, 2.5, 16, TRUE)
The median or other percentiles of transformed gamma distribution are obtained by a trial and error approach, i.e. by plugging in values of into the gamma CDF =GAMMA.DIST(, 2.5, 16, TRUE). After performing the trial and error process, we see that and . Thus we take the median to be 5.9. So the median size of a claim is around 5.9.
Computation of the moments of a gamma distribution requires the evaluation of the gamma function . Excel does not have an explicit function for gamma function. Since is in the gamma PDF, we can derive the gamma function from the gamma PDF in Excel =GAMMA.DIST(1, a, 1, FALSE). The value of this gamma PDF is . This the value of is divided by the value of this gamma PDF value. For example, the following Excel formulas give and .
=EXP(-1)/GAMMA.DIST(1, 5, 1, FALSE) = 24
=EXP(-1)/GAMMA.DIST(1, 2.5, 1, FALSE) = 1.329340388
The moments is . Based on the results in the section on “Transformed” gamma moments, the following gives the mean and variance.
The following gives the probability of a claim within one or two standard deviations of the mean.
The chi-squared distribution has a simple definition from a mathematical standpoint and yet plays an important role in statistical sampling theory. This post is the first post in a three-part series that gives a mathematical story of the chi-squared distribution.
This post is an introduction which highlights the fact that mathematically chi-squared distribution arises from the gamma distribution and that the chi-squared distribution has an intimate connection with the normal distribution. This post lays the ground work for the subsequent post.
The next post (Part 2) describe the roles played by the chi-squared distribution in forming the various sampling distributions related to the normal distribution. These sampling distributions are used for making inference about the population from which the sample is taken. The population parameters of interest here are the population mean, variance, and standard deviation. The population from which the sample is take is assumed to be modeled adequately by a normal distribution.
Part 3 describes the chi-squared test, which is used for making inference on categorical data (versus quantitative data).
These three parts only scratches the surface with respect to the roles played the chi-squared distribution in statistics. Thus the discussion in this series only serves as an introduction on chi-squared distribution.
Defining the Chi-Squared Distribution
A random variable is said to follow the chi-squared distribution with degrees of freedom if the following is the density function of .
where is a positive integer. In some sources, the distribution is sometimes named distribution. Essentially the distribution defined in is a gamma distribution with shape parameter and scale parameter 2 (or rate parameter ). Note that the chi-squared distribution with 2 degrees of freedom (when ) is simply an exponential distribution with mean 2. The following figure shows the chi-squared density functions for degrees of freedom 1, 2, 3, 5 and 10.
Figure 1 – Chi-squared Density Curves
Just from the gamma connection, the mean and variance are and . In other words, the mean of a chi-squared distribution is the same as the degrees of freedom and its variance is always twice the degrees of freedom. As a gamma distribution, the higher moments are also known. Consequently the properties that depend on can be easily computed. See here for the basic properties of the gamma distribution. The following gives the mean, variance and the moment generating function (MGF) for the chi-squared random variable with degrees of freedom.
Independent Sum of Chi-Squared Distributions
In general, the MGF of an independent sum is simply the product of the MGFs of the individual random variables . Note that the product of Chi-squared MGFs is also a Chi-squared MGF, with the exponent being the sum of the individual exponents. This brings up another point that is important for the subsequent discussion, i.e. the independent sum of chi-squared distributions is also a chi-squared distribution. The following theorem states this fact more precisely.
If are chi-squared random variables with degrees of freedom , respectively, then the independent sum has a chi-squared distribution with degrees of freedom.
Thus the result of summing independent chi-squared distributions is another chi-squared distribution with degree of freedom being the total of all degrees of freedom. This follows from the fact that if the gamma distributions have identical scale parameter, then the independent sum is a gamma distribution with the shape parameter being the sum of the shape parameters. This point is discussed in more details here.
The Connection with Normal Distributions
As shown in the above section, the chi-squared distribution is simple from a mathematical standpoint. Since it is a gamma distribution, it possesses all the properties that are associated with the gamma family. Of course, the gamma connection is far from the whole story. One important fact is that the chi-squared distribution is naturally obtained from sampling from a normal distribution.
Suppose that the random variable follows a standard normal distribution, i.e. the normal distribution with mean 0 and standard deviation 1. Then follows a chi-squared distribution with 1 degree of freedom.
By definition, the following is the cumulative distribution function (CDF) of .
Upon differentiating , the density function is obtained.
Note that the density is that of a chi-squared distribution with 1 degree of freedom.
With the basic result in Theorem 1, there are more ways to obtain chi-squared distributions from sampling from normal distributions. For example, first normalizing a sample item from normal sampling and then squaring it will produce a chi-squared observation with 1 degree of freedom. Similarly, by performing the same normalizing in each sample item in a normal sample and by squaring each normalized observation, the resulting sum is a chi-squared distribution. These are made more precise in the following corollaries.
Suppose that the random variable follows a normal distribution with mean and standard deviation . Then follows a chi-squared distribution with 1 degree of freedom.
Suppose that is a random sample drawn from a normal distribution with mean and standard deviation . Then the following random variable follows a chi-squared distribution with degrees of freedom.
Calculating Chi-Squared Probabilities
In working with the chi-squared distribution, it is necessary to evaluate the cumulative distribution function (CDF). In hypothesis testing, it is necessary to calculate the p-value given the value of the chi-squared statistic. In confidence interval estimation, it is necessary to determine the the critical value at a given confidence level. The standard procedure at one point in time is to use a chi-squared table. A typical chi-squared table can be found here. We demonstrate how to find chi-squared probabilities first using the table approach and subsequently using software (Excel in particular).
The table gives the probabilities on the right tail. The table in the link given above will give the chi-squared value (on the x-axis) for a given area of the right tail () per df. This table lookup is illustrated in the below diagram.
Figure 2 – Right Tail of Chi-squared Distribution
For df = 1, , thus and . So for df = 1, the 90th percentile of the chi-squared distribution is 2.706. The following shows more table lookup.
df = 2, .
The 99th percentile of the chi-squared distribution with df = 2 is 9.210.
df = 15, .
The 10th percentile of the chi-squared distribution with df = 15 is 8.547.
The choices for in the table are limited. Using software will have more selection for and will give more precise values. For example, Microsoft Excel provides the following two functions.
=CHISQ.DIST(x, degree_freedom, cumulative)
The two functions in Excel give information about the left-tail of the chi-squared distribution. The function CHISQ.DIST returns the left-tailed probability of the chi-squared distribution. The parameter cumulative is either TRUE or FALSE, with TRUE meaning that the result is the cumulative distribution function and FALSE meaning that the result is the probability density function. On the other hand, the function CHISQ.INV returns the inverse of the left-tailed probability of the chi-squared distribution.
If the goal is to find probability given an x-value, use the function CHISQ.DIST. On the other hand, if the goal is to look for the x-value given the left-tailed value (probability), then use the function CHISQ.INV. In the table approach, once the value is found, the interplay between the probability () and x-value is clear. In the case of Excel, one must choose the function first depending on the goal. The following gives the equivalent results for the table lookup presented above.
=CHISQ.DIST(2.706, 1, TRUE) = 0.900028622
=CHISQ.INV(0.9, 1) = 2.705543454
=CHISQ.DIST(9.21, 2, TRUE) = 0.989998298
=CHISQ.INV(0.99, 2) = 9.210340372
=CHISQ.DIST(8.547, 15, TRUE) = 0.100011427
=CHISQ.INV(0.1, 15) = 8.546756242
Mathematically, the Weibull distribution has a simple definition. It is mathematically tractable. It is also a versatile model. The Weibull distribution is widely used in life data analysis, particularly in reliability engineering. In addition to analysis of fatigue data, the Weibull distribution can also be applied to other engineering problems, e.g. for modeling the so called weakest link model.This post gives an introduction to the Weibull distribution.
Defining the Weibull Distribution
A random variable is said to follow a Weibull distribution if has the following density function
where and are some fixed constants. The notation refers to the exponential function . As defined here, the Weibull distribution is a two-parameter distribution with being the shape parameter and being the scale parameter. The following is the cumulative distribution function (CDF).
Connection with the Exponential Distribution
The Weibull distribution can also arise naturally from the random sampling of an exponential random variable. A better way to view Weibull is through the lens of exponential. Taking an observation from an exponential distribution and raising it to a positive power will result in a Weibull observation. Specifically, the random variable has the same CDF as in if is an exponential random variable with mean . To see this, consider the following:
The idea of the Weibull distribution as a power of an exponential distribution simplifies certain calculation on the Weibull distribution. For example, a raw moment of the Weibull distribution is simply another raw moment of the exponential distribution. For an exponential random variable with mean , the raw moments are (details can be found here):
For the Weibull random variable with parameters and , i.e. where is the exponential random variable with mean , the following shows the mean and higher moments.
With the moments established, several other distributional quantities that are based on moments can also be established. The following shows the variance, skewness and kurtosis.
The notation here is the skewness. The notation is kurtosis. The excess kurtosis is . In some sources, the notation is to denote excess kurtosis. Of course and are the mean and variance, respectively.
Another calculation that is easily accessible for the Weibull distribution is that of the percentiles. It is easy to solve for in the CDF in . For example, to find the median, set the CDF equals to 0.5 and solves for , producing the following.
Another basic and important property to examine is the failure rate. The failure rate of a distribution is the ratio of the density function to its survival function. The following is the failure of the Weibull distribution.
See here for a discussion of the failure rate in conjunction with the exponential distribution. Suppose that the distribution in question is a lifetime distribution (time until termination or death). Then the failure rate can be interpreted as the rate of failure at the next instant given that the life has survived to time .
When the Parameters Vary
The discussion in the previous section might give the impression that all Weibull distributions (when the parameters vary) behave in the same way. We now look at examples showing that as (shape parameter) and/or (scale parameter) vary, the distribution will exhibit markedly different behavior. Note that when , the Weibull distribution is reduced to the exponential distribution.
The following diagram shows the PDFs of the Weibull distribution with , and where in all three cases.
Figure 1 shows the effect of the shape parameter taking on different values while keeping the scale parameter fixed. The effect is very pronounced on the skewness. All three density curves are right skewed. The PDF with (the blue curve) has a very strong right skew. The PDF with (the red curve) is exponential and has, by comparison, a much smaller skewness. The PDF with looks almost symmetric, though there is a clear and small right skew. This observation is borne out by the calculation. The skewness coefficients are (blue curve), (red curve) and (green curve).
Another clear effect of the shape parameter is the thickness of the tail (in this case the right tail). Figure 1 suggests that the PDF with (the blue curve) is higher than the other two density curves on the interval . As a result, the blue curve has more probability mass in the right tail. Thus the blue curve has a thicker tail comparing to the other two PDFs. For a numerical confirmation, the following table compares the probabilities in the right tail.
It is clear from the above table that the Weibull distribution with the blue curve assigns more probabilities to the higher values. The mean of the distribution for blue curve is 2. The right tail (over 5 times the mean) contains 4.23% of the probability mass (a small probability for sure but not negligible). The right tail (over 12.5 times the mean) still has a small probability of 0.00673 that cannot be totally ignored. On the other hand, the Weibull distribution for the green curve has a light tail. The mean of the distribution for the green curve is about 0.89. At (over 4.5 times of its mean), the tail probability is already negligible at . At (over 11 times of its mean), the tail probability is , practically zero.
Let’s compare the density curves in Figure 1 with their failure rates. The following figure shows the failure rates for these three Weibull distributions.
According to the definition in , the following shows the failure rate function for the three Weibull distributions.
The blue curve in Figure 1 () has a decreasing failure rate as shown in Figure 2. The failure rate function is constant for the case of (the exponential case). It is an increasing function for the case of . This comparison shows that the Weibull distribution is particularly useful for engineers and researchers who study the reliability of machines and devices. If the engineers believe that the failure rate is constant, then an exponential model is appropriate. If they believe that the failure rate increases with time or age, then a Weibull distribution with shape parameter is more appropriate. If the engineers believe that the failure rate decreases with time, then a Weibull distribution with shape parameter is more appropriate.
We now compare Weibull distributions with various values for (scale parameter) while keeping the shape parameter fixed. The following shows the density curves for the Weibull distributions with while keeping .
The effect of the scale parameter is to compress or stretch out the standard Weibull density curve, i.e. the Weibull distribution with . For example, the density function for is obtained by stretching out the density curve for the one with . The same overall shape is maintained while the density curve is being stretched or compressed. According to , the mean of the transformed distribution is increased (stretching) or decreased (compressing). For example, as is increased from 1 to 2, the mean has a two-fold increase. As the density curve is stretched, the resulting distribution is more spread out and the peak of the density curve decreases. The overall effect of changing the scale parameter is essentially a change in the scale in the x-axis.
The next example is a computational exercise.
The time until failure (in months) of a semiconductor device has a Weibull distribution with shape parameter and scale parameter .
- Give the density function and the survival function.
- Determine the probability that the device will last at least 500 hours.
- Determine the probability that the device will last at least 600 hours given that it has been running for over 500 hours.
- Find the mean and standard deviation of the time until failure.
- Determine the failure rate function of the Weibull time until failure.
To obtain the density function, the survival function and the failure rate, follow the relationships in , and .
Note that the Weibull failure rate is the ratio of the density function to the survival function. In this case, the failure is an increasing function of . Since is a time scale, then this is a model for machines that wear out over time (see the next section).
The probability that the device will last over 500 hours is . The unconditional probability that the device will last over 600 hours is The conditional probability that the device will last more than 600 hours given that it has lasted more 500 hours is the ratio .
To find the mean and variance, we need to evaluate the gamma function. Using Excel, we obtain the following two values of the gamma function (as shown here):
The mean and standard deviation of the time until failure are:
The Weibull Failure Rates
Looking at the failure rate function indicated in and looking at Figure 2, it is clear that when the shape parameter , the failure rate decreases with time (if the distribution is a model for the time until death of a life). When the shape parameter , the failure rate is constant. When the shape parameter , the failure rate increases with time. As a result, the Weibull family of distribution has a great deal of flexibility for modeling the failures of objects (machines, devices).
When the shape parameter , the failure rate decreases with time. Such a Weibull distribution is a model for infant mortality, or early-life failures. When the shape parameter (or near 1), the failure rate is constant or near constant. The resulting Weibull distribution (an exponential model) is a model for random failures (failures that are independent of age). When the shape parameter , the failure rate increases with time. The resulting Weibull distribution is a model for wear-out failures.
In some applications, it may be necessary to model each phase of a lifetime separately, e.g. the early phase with a Weibull distribution with , the useful phase with a Weibull distribution with close to 1 and the wear-out phase with a Weibull distribution with . The resulting failure rate curve resembles a bathtub curve. The following is an idealized bathtub curve.
The blue part of the bathtub curve is the early phase of the lifetime, which is characterized by decreasing failure rate. This is the early-life period in which the defective products die off and are taken out of the study. The next period is the useful-life period, the red part of the curve, in which the failures are random that are independent of age. In this phase, the failure rate is constant or near constant. The green part of the bathtub curve is characterized by increasing failure rates, which is the wear-out phase of the lifetime being studied.
Weakest Link Model
Another attractiveness of the Weibull model is that it can be used to model the so called the weakest link model. Consider a machine or device that has multiple components. Suppose that the device dies or fails when any one of the components fails. The lifetime of such a machine or device is the time to the first failure. Such a lifetime model is called the weakest link model. It can be shown that under these conditions a Weibull distribution is a good model for the distribution of the lifetime of such a machine or device.
If the time until failure of the individual components are indpendent and identically distributed Weibull random variables, then it follows that the minimum of of the Weibull random variables is also a Weibull random variable. To see this, let be independent and identically distributed Weibull random varaibles. Let and be the parameters for the common Weibull distribution. Let . The following gives the survival function of .
where and . This shows that has a Weibull distribution with shape parameter (as before) and scale parameter . Under the condition that the times to failure for the multiple components are indentically Weibull distributed, the lifetime of the device is also a Weibull model.
The Moment Generating Function
The post is concluded with a comment on the moment generating function for the Weibull distribution. Note that relationship indicates that all positive moments for the Weibull distribution exist. A natural question is on whether the moment generating function (MGF) exists. It turns out that MGF does not always exist for the Weibull distribution. The MGF exists for the Weibull distribution whenever the shape parameter . However the MGF cannot be expressed in terms of any familiar functions. Instead, the Weibull MGF can be expressed as a power series.
To see this, start with the power series for .
Since the positive moments exist for the Weibull distribution, the higher moments from are plugged into the power series. It can be shown that the last series converges when .
When , the power series does not converge. For a specific example, let . Then the term in the series is simplified to , when goes to infinity when . Thus the Weilbull distribution with the shape parameter is an example of a distribution where all the positive moments exist but the MGF does not exist.
This post continues with the discussion on the exponential distribution. The previous posts on the exponential distribution are an introduction, a post on the relation with the Poisson process and a post on more properties. This post discusses the hyperexponential distribution and the hypoexponential distribution.
Suppose are independent exponential random variables. If they are identically distributed where the common mean is (the common rate is ), then the sum follows the gamma distribution with shape parameter and rate parameter . Since the shape parameter in this case is an integer , the gamma distribution is also called the Erlang distribution, a sub family of the gamma family.
What if the exponential are not identically distributed? Suppose that the rate parameter of is such that for . Then the sum is said to follow a hypoexponential distribution.
To contrast, a hyperexponential distribution is also a “sum” of independent exponential random variables . The notion of “sum” is not the arithmetic sum but rather is the notion of a mixture. The random variable can be one of the independent exponential random variables such that is with probability with . Such a random variable is said to follow a hyperexponential distribution.
The Erlang distribution, the hypoexponential distribution and the hyperexponential distribution are special cases of phase-type distributions that are useful in queuing theory. These distributions are models for interarrival times or service times in queuing systems. They are obtained by breaking down the total time into a number of phases, each having an exponential distribution, where the parameters of the exponential distributions may be identical or may be different. Furthermore, the phases may be in series or in parallel (or both). The phases are in series means that the phases are run sequentially, one at a time. The Erlang distribution is one example of a phase-type distribution where the phases are in series and that the phases have the same parameter for the expoenential distributions. The hypoexponential distribution is an example of a phase-type distribution where the phases are in series and that the phases have distinct exponential parameters. The hyperexponential distribution is an example of a phase-type distribution where the phases are in parallel, which means that the system randomly selects one of the phases to process each time according to specified probabilities.
The Erlang distribution is a special case of the gamma distribution. For basic properties of the Erlang distribution, see the previous posts on the gamma distribution, starting with this post. The remainder of the post focuses on some basic properties of the hyper and hypo exponential distributions.
The Hyperexponential Distribution
The hyperexponential distribution is the mixture of a set of independent exponential distributions. To generate a hyperexponential distribution, let be independent exponential random variables with rates parameters , and with weights , respectively. Then is a hyperexponential random variable if is with probability . Thus the hyperexponential distribution has a variable number of parameters. There are many parameters, for the exponential rate parameters and for their respective weights. We use the same notations in the discussion of the hyperexponential distribution that follows.
Basic facts about mixture distributions can give a great deal of information on the hyperexponential distribution. For example, many distributional quantities of a mixture distribution are obtained by taking weighted averages of the corresponding quantities of the individual components. Specifically, the density function, the cumulative distribution function (CDF), the survival function, along with the mean, the higher moments can all be obtained by taking weighted averages. However, the the variance of a mixture is not the weighted average of the individual variances. The following shows the probability density function , the survival function and the cumulative distribution function of the hyperexponential distribution.
The above three distributional quantities are the weighted averages of the corresponding quantities of the individual exponential distributions. The hyperexponential distribution is sometimes called a finite mixture since there are a finite number of components in the weighted average. The raw moments of the hyperexponential distribution are also weighted averages of the corresponding exponential raw moments. The following shows the mean and the higher moments where is any positive integer.
Interestingly, the hyperexponential variance is not the weighted average of the individual variances.
The following gives the correct variance of the hyperexponential distribution.
It is instructive to rearrange the above variance as follows:
Compare with the right hand side of . The difference is the content within the squared brackets in , which represents the added uncertainty in a mixture. Note that the content within the squared brackets is a positive value and is the variance of the random variable that has value with probability . In other words, the content inside the squared brackets is the variance of the conditional exponential means (see the random variable described below).
The derivation in shows that the hyperexponential variance is more than the weighted average of the individual exponential variances. This is because the mixing of the exponential random variables has added uncertainty. There are two levels of uncertainty in a mixture – the uncertain in each component (e.g. in each exponential distribution) and the uncertainty in not knowing which component will be realized, which is the added uncertainty. The content inside the squared brackets quantifies the added uncertainty. See here for a more detailed discussion on the variance of a mixture.
The coefficient of variation of a probability distribution is the ratio of its standard deviation to its mean (we only consider the case where the mean is positive). It is sometimes called the relative standard deviation and is a standardized measure dispersion of a probability distribution. For the exponential distribution, the coefficient of variation is always one. For the hyperexponential distribution, the coefficient of variation is always more than one. To see why, consider the random variable as defined below (note that this is the same random variable that is used above to explain the added undertainty in a mixture).
The variance of is given by the following:
We now rearrange to show that the coefficient of variation of the hyperexponential distribution is more than one.
The variance is identical to the content within the squared brackets in . The above derivation shows that the variance of the hyperexponential distribution is always greater than the mean, hence making the coefficient of variation always more than one.
The following is the failure rate of the hyperexponential distribution.
The failure rate (also called the hazard rate) can be interpreted as the rate of failure at the instant right after the life has survived to age . If the lifetime of a system is modeled by an exponential distribution, then the failure rate is constant, which is another way to state the memoryless property of the exponential distribution. Since the exponential distribution is the only continuous distribution with the memoryless property, the failure rate in is obviously not constant. However, as the life goes up in age, the failure is approaching a constant failure rate as shown by the following:
where . That is, as the life (or system or process) goes up in age, the hyperexponential failure rate approaches that of the exponential component with the smallest failure rate (the longest lifetime). This makes intuitive sense. As the system or process survives to a high age, it is more likely the hyperexponential random variable is the exponential component that lasts the longest.
To see why is true, multiple both the numerator and the denominator in by . Then the terms with become (in the numerator) and (in the denominator). As , the terms with go to zero. As a result, the ratio goes to .
Though not discussed here, several distributional quantities that are based on moments can be calculated, properties such as skewness and kurtosis, using the moments obtained in .
The Hypoexponential Density Function
The remainder of the post discusses the basic properties of the hypoexponential distribution. We first examine the probability density function of a hypoexponential distribution. Since such a distribution is an independent sum, the concept of convolution can be used. The following example show how it is done for the hypoexponential distribution with 2 phases. It turns out that the density function in general has a nice form.
Suppose the rate parameters are and for the two independent exponential random variables and where . Determine the density function of the independent sum .
The integral for the density function is:
Note that the density appears to be a weighted average of the two individual exponential density functions, even though one of the weights is negative.
Suppose that the hypoexponential distribution has three phases. The parameters of the three phases are , and . Determine the density of the independent sum .
The idea is to apply the convolution of the density obtained in Example 1 and the exponential density . The convolution integral is:
The result of the integral is:
The density function also appears to be a weighted average of the individual exponential density functions with some of the weights being negative.
Now, the general form of the density function for a hypoexponential density function.
where the weight is defined as:
The density function in the general case of phases can be established by an induction proof.
More Hypoexponential Properties
As before, the hypoexponential random variable is the sum where are independent exponential random variables with being the rate parameter for . Since it is an independent sum, the mean and variance are easily obtained.
The coefficient of variation is the ratio of the standard deviation to the mean. For the exponential distribution, the coefficient of variation is always 1. For the hypoexponential distribution, the coefficient of variation is always less than 1. The following is the square of the coefficient of variation for a hypoexponential random variable.
Note that the quantity in the denominator in is always larger than the numerator, showing that . As a result, . In contrast, the coefficient of variation of the hyperexponential distribution is always greater than 1 (see ).
The survival function for the hypoexponential distribution has the following form:
where the weights are defined in . Then the CDF is . As an example, the survival function for the hypoexponential distribution in Example 1 is
With the density function in , several distributional quantities that are based on moments can be calculated, properties such as skewness and kurtosis.
The following is the failure rate of the hypoexponential distribution.
The hypoexponential failure rate is obviously not a constant rate since only the exponential distribution has constant failure rate. However, as the system reaches high ages, the failure rate approaches that of the smallest exponential rate parameters that define the hypoexponential distribution. The same observation is made above in , that is,
where . Suppose that the lifetime of a life or system is modeled by a hypoexponential distribution. Then when the system is in a high age, the failure rate is approximately the smallest rate parameter of the exponential distributions defining the hypoexponential lifetime. In other words, as the hypoexponentially distributed lifetime becomes large, the remaining lifetime of the system is approximately the exponential lifetime with a rate parameter equal to the smallest of the exponential rate parameters. The proof of is similar to the proof for . Simply multiply the numerator and denominator of by . Then the terms with become constants. As , the terms with go to zero and the ratio goes to .
This post is a continuation of the previous post on the exponential distribution. The previous post discusses the basic mathematical properties of the exponential distribution including the memoryless property. This post looks at the exponential distribution from another angle by focusing on the intimate relation with the Poisson process.
The Poisson Process
A previous post shows that a sub family of the gamma distribution that includes the exponential distribution is derived from a Poisson process. This post gives another discussion on the Poisson process to draw out the intimate connection between the exponential distribution and the Poisson process.
Suppose a type of random events occur at the rate of events in a time interval of length 1. As the random events occur, we wish to count the occurrences. Starting at time 0, let be the number of events that occur by time . A counting process is the collection of all the random variables . That is, we are interested in the collection . More specifically, we are interested in a counting process that satisfies the following three axioms:
- The probability of having more than one occurrence in a short time interval is essentially zero.
- The probability of the occurrence of a random event in a short time interval is proportional to the length of the time interval and not on where the time interval is located. More specifically, the probability of the occurrence of the random event in a short interval of length is approximately .
- The numbers of random events occurring in non-overlapping time intervals are independent.
Any counting process that satisfies the above three axioms is called a Poisson process with the rate parameter . Of special interest are the counting random variables , which is the number of random events that occur in the interval and , which is the number of events that occur in the interval . There are also continuous variables that are of interest. For example, the time until the occurrence of the first event, denoted by , and in general, the time until the occurrence of the th event, denoted by . We are also interested in the interarrival times, i.e. the time between the occurrences of two consecutive events. These are notated by where is the time between the occurrence of the st event and the occurrence of the th event. Of course, .
Some Basic Results
Given a Poisson process with rate parameter , we discuss the following basic results:
- The discrete random variable is a Poisson random variable with mean .
- The discrete random variable is a Poisson random variable with mean .
- The interarrival times, , where , are independent and identically distributed exponential random variables with rate parameter (or mean ).
- The waiting time until the th event has a gamma distribution with shape parameter and rate parameter .
Waiting Time Variables
The result that is a Poisson random variable is a consequence of the fact that the Poisson distribution is the limit of the binomial distribution. To see this, let’s say we have a Poisson process with rate . Note thar is the rate of occurrence of the event per unit time interval. Then subdivide the interval into subintervals of equal length. When is sufficiently large, we can assume that there can be only at most one event occurring in a subinterval (using the first two axioms in the Poisson process). Each subinterval is then like a Bermoulli trial (either 0 events or 1 event occurring in the subinterval). The probability of having exactly one event occurring in a subinterval is approximately . By the third criterion in the Poisson process, the subintervals are independent Bernoulli trials. Thus the total number of events occurring in these subintervals is a Binomial random variable with trials and with probability of success in each trial being . It can be shown mathematically that when , the binomial distributions converge to the Poisson distribution with mean . This fact is shown here and here. It follows that has a Poisson distribution with mean .
To show that the increment is a Poisson distribution, we simply count the events in the Poisson process starting at time . It is clear that the resulting counting process is also a Poisson process with rate . We can use the same subdivision argument to derive the fact that is a Poisson random variable with mean . The subdividing is of course on the interval .
Based on the preceding discussion, given a Poisson process with rate parameter , the number of occurrences of the random events in any interval of length has a Poisson distribution with mean . Thus in a Poisson process, the number of events that occur in any interval of the same length has the same distribution. Any counting process that satisfies this property is said to possess stationary increments. On the other hand, any counting process that satisfies the third criteria in the Poisson process (the numbers of occurrences of events in disjoint intervals are independent) is said to have independent increments. Thus a Poisson process possesses independent increments and stationary increments.
Here is an interesting observation as a result of the possession of independent increments and stationary increments in a Poisson process. By independent increments, the process from any point forward is independent of what had previously occurred. By stationary increments, from any point forward, the occurrences of events follow the same distribution as in the previous phase. Starting with a Poisson process, if we count the events from some point forward (calling the new point as time zero), the resulting counting process is probabilistically the same as the original process. The probabilistic behavior of the new process from some point on is not dependent on history. The probability statements we can make about the new process from some point on can be made using the same parameter as the original process. In other words, a Poisson process has no memory.
We now discuss the continuous random variables derived from a Poisson process. The time until the first change, , has an exponential distribution with mean . To see this, for to happen, there must be no events occurring in the interval . Thus, is identical to . This means that has an exponential distribution with rate . What about and and so on? After the first event had occurred, we can reset the counting process to count the events starting at time . Then the time until the next occurrence is also an exponential random variable with rate . Consequently, all the interarrival times are exponential random variables with the same rate . Furthermore, by the discussion in the preceding paragraph, the exponential interarrival times are independent.
As a consequence of the being independent exponential random variables, the waiting time until the th change is a gamma random variable with shape parameter and rate parameter . Note that and that independent sum of identical exponential distribution has a gamma distribution with parameters and , which is the identical exponential rate parameter.
The connection between exponential/gamma and the Poisson process provides an expression of the CDF and survival function for the gamma distribution when the shape parameter is an integer. Specifically, the following shows the survival function and CDF of the waiting time as well as the density.
The key in establishing the survival is that the waiting time is intimately related to , which has a Poisson distribution with mean . For to happen, there can be at most events occurring prior to time , i.e. .
Reversing the Poisson Process
The preceding discussion shows that a Poisson process has independent exponential waiting times between any two consecutive events and gamma waiting time between any two events. Starting with a collection of Poisson counting random variables that satisfies the three axioms described above, it can be shown that the sequence of interarrival times are independent exponential random variables with the same rate parameter as in the given Poisson process. Interestingly, the process can also be reversed, i.e. given a sequence of independent and identically distributed exponential distributions, each with rate , a Poisson process can be generated.
To see this, let be a sequence of independent and identically distributed exponential random variables with rate parameter . Mathematically, the are just independent and identically distributed exponential random variables. Now think of them as the interarrival times between consecutive events. So the first event occurs at time and the second event occurs at time and so on. In general, the th event occurs at time . More specifically, the counting process is where is defined below:
For to happen, it must be true that and . The probability is then
The above derivation shows that the counting variable is a Poisson random variable with mean . The derivation uses the gamma survival function derived earlier. On the other hand, because of the memoryless property, are also independent exponential random variables with the same rate . If the counting of events starts at a time rather than at time 0, the counting would be based on for some . By the same argument, would be Poisson with mean .
We have just established that the resulting counting process from independent exponential interarrival times has stationary increments. The resulting counting process has independent increments too. This is because the interarrival times are independent and that the interarrival times are also memoryless.
From a mathematical point of view, a sequence of independent and identically distributed exponential random variables leads to a Poisson counting process. On the other hand, if random events occur in such a manner that the times between two consecutive events are independent and identically and exponentially distributed, then such a process is a Poisson process. This characterization gives another way work with Poisson processes.
Suppose that the time until the next departure of a bus at a certain bus station is exponentially distributed with mean 10 minutes. Assume that the times in between consecutive departures at this bus station are independent.
- Tom and his friend Mike are to take a bus trip together. Tom arrives at the bus station at 12:00 PM and is the first one to arrive. Mike arrives at the bus stop at 12:30 PM. They will board the first bus to depart after the arrival of Mike. What is the the probability that zero buses depart from this bus station while Tom is waiting for Mike?
- Answer the same question for one bus, and two buses?
- What is the probability that there are at least three buses leaving the station while Tom is waiting?
Because the inter-departure times are independent and exponential with the same mean, the random events (bus departures) occur according to a Poisson process with rate per minute, or 1 bus per 10 minutes. The number of bus departures in a 30-minute period is a Poisson random variable with mean 3 (per 30 minutes). Let be the number of buses leaving the bus station between 12:00 PM and 12:30 PM. Thus the answers are:
Taxi arrives at a certain street corner according to a Poisson process at the rate of two taxi for every 15 minutes. Suppose that you are waiting for a taxi at this street corner and you are third in line. Assume that the people waiting for taxi do not know each other and each one will have his own taxi. What is the probability that you will board a taxi within 30 minutes?
The number of arrivals of taxi in a 30-minute period has a Poisson distribution with a mean of 4 (per 30 minutes). If there are at least 3 taxi arriving, then you are fine. Let be the number of arrivals of taxi in a 30-minute period. The answer is
In this post, we present a view of the exponential distribution through the view point of the Poisson process. Any counting process that satisfies the three axioms of a Poisson process has independent and exponential waiting time between any two consecutive events and gamma waiting time between any two events. On the other hand, given a sequence of independent and identically distributed exponential interarrival times, a Poisson process can be derived. The memoryless property of the exponential distribution plays a central role in the interplay between Poisson and exponential.
This post focuses on the mathematical properties of the exponential distribution. Since the exponential distribution is a special case of the gamma distribution, the starting point of the discussion is on the properties that are inherited from the gamma distribution. The discussion then switches to other intrinsic properties of the exponential distribution, e.g. the memoryless property. The next post discusses the intimate relation with the Poisson process. Additional topics on exponential distribution are discussed in this post.
The exponential distribution is highly mathematically tractable. For the exponential distribution with mean (or rate parameter ), the density function is . Thus for the exponential distribution, many distributional items have expression in closed form. The exponential distribution can certainly be introduced by performing calculation using the density function. For the sake of completeness, the distribution is introduced as a special case of the gamma distribution.
The Gamma Perspective
The exponential distribution is a special case of the gamma distribution. Recall that the gamma distribution has two parameters, the shape parameter and the rate parameter . Another parametrization uses the scale parameter , which is . For now we stick with the rate parameter because of the connection with the Poisson process discussed below. The exponential distribution is simply a gamma distribution when . Immediately the properties of the gamma distribution discussed in the previous post can be transferred here. Suppose that is a random variable that follows the exponential distribution with rate parameter , equivalently with mean . Immediately we know the following.
The above items are obtained by plugging into the results in the post on gamma distribution. It is clear that exponential distribution is very mathematically tractable. The CDF has a closed form. The moments have a closed form. As a result, it is possible to derive many more properties than the ones shown here.
The Memoryless Property
No discussion on the exponential distribution is complete without the mentioning of the memoryless property. Suppose a random variable has support on the interval . The random variable is said to have the memoryless property (or the “no memory” property) if
holds for all positive real numbers and . To get an appreciation of this property, let’s think of as the lifetime (in years) of some machine or some device. The statement in says that if the device has lived at least years, then the probability that the device will live at least more years is the same as the probability that a brand new device lives to age years. It is as if the device does not remember that it has already been in use for years. If the lifetime of a device satisfies this property, it does not matter if you buy an old one or a new one. Both old and new have the same probability of living an additional years. In other words, old device is as good as new.
Since the following is true,
the memoryless property is equivalent to the following:
The property says that the survival function of this distribution is a multiplicative function. The exponential distribution satisfies this property, i.e.
On the other hand, any continuous function that satisfies the multiplicative property must be an exponential function (see the argument at the end of the post). Thus there is only one continuous probability distribution that possesses the memoryless property. The memoryless property can also be stated in a different but equivalent way as follows:
The conditional random variable is distributed identically as the unconditional random variable
The statement can be rewritten . This means the conditional variable shares the same survival function as the original random variable , hence sharing the same cumulative distribution and the same density function and so on.
The memoryless property, anyone of the three statements, is a striking property. Once again, thinking of as the lifetime of a system or a device. The conditional random variable in statement is the remaining lifetime for a device at age . Statement says that it does not matter how old the device is, the remaining useful life is still governed by the same probability distribution for a brand new device, i.e. it is just as likely for an old device to live more years as for a new device, and that an old device is expected to live as long as a new device.
Let’s look a few examples.
Suppose that a bank has two tellers serving retailed customers that walk into the bank lobby. A queue is set up for customers to wait for one of the tellers. The time between the arrivals of two consecutive customers in the queue has an exponential distribution with mean 3 minutes. The time each teller spent with a customer has an exponential distribution with mean 5 minutes. Assume that the service times for the two tellers are independent. At 12:00 PM, both tellers are busy and a customer has just arrived in the queue.
- What is the probability that the next arrival in the queue will come before 12:05 PM? Between 12:05 and 12:10? After 12:10 PM?
- If no additional customers arrive before 12:05 PM, what is the probability that the next arrival will come within the next 5 minutes?
- If both tellers are busy serving customers at 1:00 PM, what is the probability that neither teller will finish the service before 1:05 PM? Before 1:10 PM?
Let be the waiting time between two consecutive customers and be the service time of a bank teller, both in minutes. The answers for Part 1 are
Part 2 involves the memoryless property. The answer is:
Part 3 also involves the memoryless property. It does not matter how long each server has spent with the customer prior to 1:00 PM, the remaining service time after 1:00 PM still has the same exponential service time distribution. The answers are:
Suppose that times between fatal auto accidents on a stretch of busy highway have an exponential distribution with a mean of 20 days. Suppose that an accident occurred on July 1. What is the probability that another fatal accident occurred in the same month? If the month of July were accident-free in this stretch of highway except for the accident on July 1, what is the probability that there will be another fatal accident in the following month (August)?
Let be the time in days from July 1 to the next fatal accident on this stretch of highway. Then is exponentially distributed with a mean of 20 days. The probability that another fatal accident will occur in the month of July is , which is
Note that the month of July has 31 days and the month of August has 31 days. If the month of July is accident-free except for the accident on July 1, then the probability that an accident occurs in August is:
In setting , the memoryless property is used in the above derivation . If the occurrence of fatal accidents is a random event and furthermore, if the time between two successive accidents is exponentially distributed, then there is no “memory” in the waiting of the next fatal accident. Having a full month of no accidents has no bearing on when the next fatal accident occurs.
Suppose that the amount of damage in an automobile accident follows an exponential distribution with mean 2000. An insurance coverage is available to cover such damages subject to a deductible of 1000. That is, if the damage amount is less than the deductible, the insurance pays nothing. If the damage amount is greater than the deductible, the policy pays the damage amount in excess of the deductible. Determine the mean, variance and standard deviation of the insurance payment per accident.
For clarity, the example is first discussed using and , where is the mean of the exponential damage and is the deductible. Let be the amount of the damage of an auto accident. Let be the amount paid by the insurance policy per accident. Then the following is the rule for determining the amount of payment.
With this payment rule, , and can be worked out based on the exponential random variable for the damage amount as follows:
Because the exponential distribution is mathematically very tractable, the mean and the variance are very doable. Indeed the above integrals are excellent exercise for working with exponential distribution. We would like to demonstrate a different approach. Because of the memoryless property, there is no need to calculate the above integrals.
The insurance payment is a mixture. Specifically it can be one of two possibilities. With probability , . With probability , . Because is an exponential random variable, is distributed identically as the original damage amount . Thus the mean of , , is the weighted average of and . Likewise is also a weighted average. The following shows how to calculate the first two moments of .
The second moment of the random variable is . The variance of the insurance payment is
In this example, and . We have:
Using the memoryless property and the fact that the insurance is a mixture requires less calculation. If the damage amount is not exponential, then we may have to resort to the direct calculation by doing the above integrals.
The Unique Distribution with the Memoryless Property
Now we show that exponential distribution is the only one with the memoryless property. First establish the fact that any right continuous function defined on satisfying the functional relation must be an exponential function. The statement that is a right continuous function means that if and for all , then .
Let be a right continuous function that is defined on such that it satisfies the functional relation . First, establish the following:
for any positive integers and .
Note that for any positive integer , . It follows that for any positive integer , . On the other hand, . To see this, note that . Raising both sides to gives the claim. Combining these two claims give the fact stated above. We have established the fact that for any positive rational number .
Next, we show that for any . To see this, let be a sequence of rational numbers converging to from the right. Then . By the above fact, for all . On the other hand, . The same sequence converges to both and . Thus . This means that is an exponential function with base . If the natural log constant is desired as a base, where .
Suppose that is memoryless. Let be the survival function of the random variable , i.e. . Then by property , . So the survival function satisfies the functional relation . The survival function is always right continuous. By the fact that any right continuous function satisfying the functional relation must be an exponential function, the survival function must be an exponential function. Thus is an exponential random variable. This establishes the fact that among the continuous distributions, the exponential distribution is the only one with the memoryless property.