Abstract
Several distributions and families of distributions are proposed to model skewed data, e.g., with skew-normal and related distributions. Lambert W random variables offer an alternative approach in which, instead of constructing a new distribution, a certain transformation is proposed. Such an approach allows the construction of a Lambert W skewed version from any distribution. Here, we choose the Lambert W normal distribution as a natural starting point and include the Lambert W exponential distribution due to the simplicity and shape of the exponential distribution, which, after skewing, may produce a reasonably heavy tail for loss models. In the theoretical part, we focus on the mathematical properties of obtained distributions, including the range of skewness. In the practical part, the suitability of the corresponding Lambert W transformed distributions is evaluated on real insurance data. Finally, the results are compared with those obtained using common loss distributions.
1. Introduction
Loss modelling is an essential part of actuarial and financial mathematics. Several distributional models have been applied over the years, and the increasing volumes of data and computational power have motivated the use of even more complex distributions to fit the data.
In the actuarial and financial fields, the data are usually skewed. Several classical distributions can be used to fit skewed data (see, e.g., [1,2]). A generic approach for skewing symmetric distributions was introduced in Azzalini [3], where the shape of the normal distribution is deformed by a certain skewness parameter. Similarly, other asymmetric distributions (e.g., skew t-distribution) have been developed [4]. Unified overviews of skewed distributions are provided in [5,6], while a review of different applications of skew-elliptical distributions in actuarial and financial mathematics is provided in [7].
In [8], another method of generating skewness was introduced through the Lambert W function that, when applied to symmetric distributions, can produce skewness and a heavy tail. In addition, Lambert W random variables can be seen as a generalization, as the input distribution can be arbitrary and not necessarily symmetric. When using the Lambert W function, instead of using the parametric manipulation of the original symmetric density function to introduce skewness, the random variable itself is transformed.
Another Lambert W transformation related to random variables was studied in [9], namely, a class of log-Lambert W random variables with applications to likelihood-based inference of normal random variables.
A different approach using the Lambert W function was introduced in [10,11], where the transformation is applied to the cumulative distribution function of the continuous positive valued random variable.
The Lambert W function has proven useful in mathematics, physics, chemistry, biology, engineering, risk theory, and other fields, though it has been less widely used in statistical modelling. Nonetheless, there are a number of noteworthy examples. In [12], the Lambert W approach was applied to normalize a vector regardless of its actual distribution. The use of the Lambert W distribution in matrix factorization with an implementation in probabilistic programming was presented in [13]. The Lambert W function has been used to derive the exact distribution of the likelihood ratio test statistic and to solve related problems in [14,15,16].
The approach of modelling the skewed random variables and symmetrizing the data using the Lambert W function as a variable transformation was used in [8,12,17,18]. We use [8] as the basis of our construction in this paper.
The rest of this paper is organized as follows. In the first section, we provide a short overview of the Lambert W function. In Section 3, general definitions and the expressions of the cumulative density functions and probability density functions of the Lambert W random variables are introduced, followed by more detailed results concerning the Lambert W normal and exponential distributions. In Section 4, we describe the results of fitting the Lambert W normal and exponential distributions to two insurance-related datasets, then compare the fit with several typical insurance models. Proofs of several properties, technical details of estimation, and additional figures showing the fitted distributions are presented in the Appendix A, Appendix B and Appendix C.
2. The Lambert W Function and Its Properties
In the following, we define the Lambert W function and provide a brief overview of its properties; refer to [19,20,21] for more details on the topic.
The Lambert W function is a set of inverse functions for the following function: , in other words,
Substituting leads to the definition of the Lambert W function.
Definition 1.
The Lambert W function is defined by the following equality:
Note that, in general, the function can be defined for real or complex arguments, and that Equation (1) has infinitely many solutions, most of which are complex. Following the notation of [21], we denote the different branches of the function by , where the branch index and . For real x, all branches other than and are complex. For , the equation has only complex solutions. We denote the branch corresponding to by , which we call the principal branch, and the branch corresponding to by , which we call the non-principal branch.
Among the characteristic properties of the function (see Figure 1 as well) are:
Figure 1.
Lambert W function.
Based on its construction as an inverse of a certain exponential function, the asymptotes of W are similar to those of the natural logarithm. More precisely, the limits can be found as follows:
and
At the same time, the absolute difference between the Lambert’s W function and the natural logarithm goes to infinity for [20].
3. Lambert W Random Variables
3.1. Definitions
Next, we present the definitions of different types of Lambert random variables based on Goerg [8]. We provide the formulae of the cumulative distribution function (cdf) and probability density function (pdf) for scale and location–scale random variables.
Definition 2.
Let U be a continuous random variable with a cdf , and pdf ; then,
is a noncentral and nonscaled Lambert random variable with skewness parameter γ.
The skewness parameter can take any value on the real line; however, as the exponential function is always positive, the transformation (2) preserves the sign. Thus, if , then . The effect of the transformation on the shape of the distribution depends on the original variable U. If U has both positive and negative values, then positive folds back the tail with negative values at a point , relocating part of negative U values, while on the positive side the values move further away, making the right tail heavier. Negative acts the other way around. Note that for a skewed U, the Lambert W transform can produce a more symmetric random variable.
The transformation in (2) is not scale- or location-invariant. In order to keep these properties, which are needed, for example, to construct the Lambert W normal random variables, it is necessary to include the transformed variable’s location and scale parameters in the definition. For more details about the location-scale family of distributions, refer to [22] (pp. 116–121).
Definition 3.
Let X be a continuous random variable from a location-scale family with cdf , where β is the corresponding parameter vector. Let be the zero-mean unit variance version of X. Then,
is a location-scale Lambert random variable with parameter vector .
If , the location-scale Lambert random variable takes values in the interval . For a negative , on the contrary, Y has an upper bound, and the values are in the interval .
For , the cdf and pdf of a location-scale Lambert random variable are respectively
and
where and we denote the derivative of by z as
In (6), the principal and non-principal branches are not distinguished, as the same holds for both.
The derivation of these expressions can be found in Goerg [8]. The derivation and resulting expressions for are similar, except that the three regions considered are pivoted: the first region is , where only the principal branch is used; the second region is , where both branches are used; and for last region, where the cdf reaches 1 and the pdf is equal to 0.
For a non-negative X from the scale family, for example, an exponentially-distributed X, we can define the corresponding scale-family Lambert random variable as follows.
Definition 4.
Let X be a non-negative continuous random variable from a scale family with cdf , where β is the parameter vector. Let be the unit-variance version of X. Then,
is a scale Lambert random variable with parameter vector .
If , then the cdf and pdf for a scale Lambert random variable can be found easily, as the transformation (7) takes values only on the positive side of the real line; as we apply the transformation W on positive arguments as well, only the principal branch plays a role. Hence, the cdf has the following form:
Taking the derivative of (8), we obtain the following form for the pdf:
Our primary focus is on positive that produces a heavier right tail to right-skewed distribution, possibly making the distribution more suitable for describing insurance losses. Yet, the results for are not as straightforward as for the location-scale family case. Thus, to complete the theory, we analyze this situation as well and derive the cdf and pdf. First, the cdf:
Now, as the argument is negative for , both branches are needed when we apply the Lambert function. Hence,
The principal and non-principal branches are equal at point ; thus, this is the point where the cdf reaches 1. In summary, if , then
and the corresponding pdf is
3.2. Lambert W Normal Distribution
In this section, we apply the Lambert location-scale transformation (3) on a normal random variable . The resulting random variable
is a Lambert random variable with parameter vector . Without loss of generality, we assume that the skewness parameter is positive; the situation is mirrored for negative -s (i.e., left skew instead of right skew). Using (4), the cdf for a positive skewness parameter can be written as
where and is the standard normal cdf. Likewise, using (5), we obtain the pdf for as
where and are the components of the pdf corresponding to the principal and non-principal branch, respectively:
Examples of the cdf and pdf for the Lambert distribution with are shown in Figure 2.
Figure 2.
Plots of the pdf (left panel) and cdf (right panel) of distributions with different values.
In the following, we provide several results that describe the behaviour of the pdf of a Lambert W normal random variable. To keep our proofs technically cleaner, the analysis is applied to Lambert random variables, as generalization to Lambert is straightforward. Proofs of these lemmas are presented in Appendix A.
Lemma 1.
The pdf of a Lambert random variable Z, has an asymptote at :
The point where has an asymptote can be thought of as a point where the transformation folds the left tail of and fits it into the interval . At this turning point, the density accumulates; see Figure 2, Figure 3, Figure 4 and Figure 5 for examples. Although the transformation squeezes the negative values of into a fixed interval and makes the right tail heavier, it continues to have zero as a point where the probability mass is divided into equal halves. Furthermore, at point , the pdf is equal to the pdf of , i.e., . This property is pointed out in the right-hand panels of Figure 5 and Figure 6.
Figure 3.
Examples of Lambert pdf with and .
Figure 4.
Examples of Lambert pdf with and .
Figure 5.
Example of Lambert pdf when . The right panel shows a closer view of the interval marked with grey in the left panel.
Figure 6.
Example of Lambert pdf with . The right panel shows a closer view of the interval marked with grey in the left panel.
Lemma 2.
The principal branch component of the pdf of a Lambert random variable has the following properties. The function :
- (a)
- has two local extrema (maximum and minimum) if ; and
- (b)
- is monotone decreasing if .
Lemma 3.
The non-principal branch component of the pdf of a Lambert random variable has the following properties. The function :
- (a)
- is monotone increasing (to 0) if ; and
- (b)
- has two local extrema (maximum and minimum) if .
Consequently, depending on the value of the skewness parameter , it is possible to distinguish three main shapes of the pdf of a Lambert W normal random variable. First, if , then the pdf has two local extrema due to the principal branch component ; see Figure 3 or the left panel of Figure 4 for examples. Second, if , then the pdf is a strictly decreasing function of z, as in the right panel of Figure 4. Third, if , then the pdf again has two local extrema, now due to the non-principal branch component , and compared to the first case, the overall shape of pdf is different, as seen in Figure 5 and Figure 6. In these two figures, the right panel provides a more detailed view of the interval where the maximum is placed. As notably seen in Figure 6, the apparently sharp peak turns out to be quite smooth if examined more closely.
Lastly, we provide the expressions of the moments and skewness coefficient of a Lambert random variable. The moments of a Lambert random variable can be found using the moment generating function (mgf) of the underlying standard normal distribution. Let Z be a Lambert random variable. The moments for Z are then as follows [8]:
where denotes the mgf of . For the general case, i.e., for a Lambert random variable Y, we can use the properties of the location-scale family, meaning that we have
As the moments are found using the derivatives of an exponential function, the moments of any order k exist and are finite. Using the above expressions, we can derive the formulae for the mean of Y
the variance of Y
and the skewness coefficient :
The skewness coefficient is a monotone function of , and has the same sign. As , we have , and the speed of growth is exponential. For example, if we look at the range of values , where the pdf is monotone decreasing, the skewness coefficient grows from around 3 to 20,000 (see Figure 7).
Figure 7.
Skewness coefficient for Lambert random variables for different ranges of the skewness parameter .
3.3. Lambert W Exponential Distribution
Let X be an exponentially distributed random variable with parameter ( as rate). Then, the transformed random variable
has a Lambert distribution with parameter vector . According to (7), for positive , the cdf of Y is
and, using (9), the pdf of Y is
For , the expressions for cdf and pdf additionally involve the non-principal branch of the Lambert W function, as seen in (10) and (11):
and
For examples of the pdf and cdf for the Lambert distribution, see Figure 8 and Figure 9. As apparent from Figure 8, the Lambert random variables have a heavier tail in the case of positive as compared to the exponential distribution.
Figure 8.
Plots of the pdf (left panel) and cdf (right panel) of distributions with different positive values.
Figure 9.
Plots of the pdf (left panel) and cdf (right panel) of distributions with different negative values.
For negative values (see Figure 9), the random variable Y takes values in the fixed interval , as the transformation relocates the larger values of the underlying exponential random variable X. While it can be argued that this kind of transformation is not relevant for typically heavy-tailed insurance data, our example (see Section 4) shows an adequate fit when using the Lambert W exponential random variables with for log claims of Danish fire loss data. In the case of , if the absolute value of is small, this produces a distribution with a suitably large cut-off point to fit data with moderate tails, as is the case for the Danish log claims data. Similarly, only small values of are of practical use for positive , as the tail quickly becomes heavy very. For example, if , then Lambert random variables do not have a finite first moment. For , the first moment is . In general, the following expression holds:
The skewness coefficient for a Lambert random variable with can be calculated as follows:
If , then the third moment of Y is infinite, and the coefficient cannot be found. The skewness coefficient is a non-monotonic function of (see Figure 10). If , the distribution simplifies to exponential, and the skewness coefficient . For a Lambert distribution, the skewness coefficient can exceed a value of 2, and approaches infinity as . For values , the skewness coefficient is a decreasing function of with a minimum value of , while for it is increasing (see Figure 10).
Figure 10.
Skewness coefficient for Lambert with parameter .
4. Fitting Lambert W Random Variables to Insurance Data
In this subsection, we fit the Lambert W normal and exponential random variables on two well-known datasets, the US indemnity data introduced in [23] and the Danish fire data introduced in [24], then compare the fit with previous results.
These datasets have been widely used in field-specific literature before; see, e.g., [25,26] for the US indemnity data and [27,28,29] for the Danish fire data, among others. A consolidated overview of previous results is provided in [30].
To recall the distributions of these example datasets, see Figure 11 for the US indemnity data and Figure 12 for the Danish fire loss data. In both figures, the left panel presents the data on the original scale (thousands of USD for US indemnity and millions of DKK for Danish fire data), and the right panel presents the same data after log transformation. In the case of the log-transformed data, we use a similar shift to the one in [30] in order to keep the results comparable. More precisely, the transformation is applied on the original variable y.
Figure 11.
Left panel: US indemnity data (in thousands of USD). Right panel: same data after log-transformation.
Figure 12.
Left panel: Danish fire data claims (in millions of DKK). Right panel: same data after log-transformation.
It is evident that both datasets exhibit significant skewness when observed on the original scale. The skewness is more extreme for the Danish fire data, with a skewness coefficient of , as compared to for the US indemnity data. In the case of the US indemnity data, the log-transformed data produces an almost symmetric histogram that is very similar to a normal distribution. The log-transform reduces the skewness for Danish fire data as well, although the result remains skewed, with .
In [30], nineteen distributions were fitted to the two aforementioned datasets, with the result that the skew-normal and skew t distributions are reasonably competitive compared to other models commonly used for insurance data.
In our research, we follow this construction and include all fitted continuous distributions while adding three more distributions to the list: the Lambert W normal and exponential distributions as our main contribution, and the Pareto distribution, which was previously missing due to technical problems. We use the maximum likelihood method for parameter estimation, as in [30]. For more details of the estimation process, see Appendix B.
To compare these models with competitors, we measure the goodness of fit between the data and distribution using the Akaike Information Criterion (AIC) and the Bayesian Information Criterion (BIC). The BIC is included because the number of parameters of the distributions ranges from 1 to 5, making the penalty of the AIC quite small compared to the flexibility that additional parameters can provide.
Before the comparison, we first examine the parameter estimates of the Lambert W distributions in Table 1.
Table 1.
Parameter estimates for Lambert distributions.
In the case of the Lambert W exponential model for the US indemnity data, the estimate provides an infinite skewness coefficient. At the same time, the fit according to the BIC is good relative to other models; see Table 2 and later discussion. As the US indemnity data are close to normal on the log scale, the Lambert W exponential is not really a suitable model here. However, the estimate corresponds to a skewness coefficient value of , i.e. this model is able to pick up the symmetry of the data.
Table 2.
US indemnity data: AIC and BIC values for fitted distributions.
What is interesting in the case of the Danish log data is the negative estimate, as it produces a distribution with an upper bound of , here resulting in . As the maximum value in data is around , this model allows even higher claim values than in the data. Furthermore, this model suits the data well, as it ranks high according to BIC value (see Table 3, discussed in detail later on). The fit is not good for the same data on the original scale, which are highly skewed, and the estimate can be considered unexpectedly low.
Table 3.
Danish fire data: AIC and BIC values for fitted distributions.
From the estimates of the Lambert W normal parameter, we can point out that the estimates are in the interval that produces monotone decreasing pdf for both datasets on the original scale. For US indemnity data on the log scale, the estimate produces a distribution very similar to normal, which is in agreement with the histogram. For the Danish log data, the estimate for is , which is in the interval , which corresponds to the pdf shape with some downward bend between the asymptote and maximum, as in the left panel of Figure 4. As shown in the following analysis, the fit provided by the Lambert W transformed random variables is promising.
The results of model fitting are presented in Table 2 and Table 3. The distributions are sorted in ascending order by the number of parameters, with the two newly added Lambert W distributions always shown at the top of the table. In every column, the first three results are marked: the best result is in bold, the second-best is underlined, and the third-best is underlined and in italics.
In the case of the US indemnity data (see Table 2), we have seen earlier that the log-transformed data closely resemble the normal distribution. Therefore, the log-normal distribution can be expected to provide the best fit for the data in the original scale. However, the Lambert W exponential model provides a good fit as well, with the second-best AIC and BIC values. For the log-transformed data, the two smallest AIC values are almost equal, with the following block having very close values. Thus, the skew-normal and Lambert W normal distributions share first place, and skew t follows at the top of the next block. Based on the BIC, the normal distribution provides the best fit, having fewer parameters than the skew-normal or Lambert W normal. The skew-normal and Lambert W normal distributions fall to second and third place, respectively. The pdfs for the best three models with data histograms are plotted in Figure A1 in Appendix C. It is apparent from the latter graph that the top three models exhibit a high degree of similarity, with the primary distinction residing in the region of small claims when viewed on the original scale. For the log-transformed data, the three curves practically coincide.
From Table 3, it can be seen that for the Danish fire data on the original scale, the two best-fitting models are the skew t and Lambert W normal distributions. For the Danish log data, the Lambert W normal distribution again has the best fit based on the AIC, followed by the skew t. Based on the BIC, the best model is the Lambert W normal distribution, while the Lambert W exponential has the second best result; for further illustration, see Figure A2 in Appendix C. The three best pdfs for the original data are very similar. On the log-transformed data, the discrepancies are not large either, though they are more clearly visible. In conclusion, the Lambert W models provide a good fit to both the original and log-transformed data.
5. Summary
In this paper, we have addressed the Lambert W transform-based approach and the properties of the resulting distributions, thoroughly investigating the Lambert W normal and Lambert W exponential distributions. We introduce the skewness via the Lambert W transform and the skewness parameter . Without loss of generality, we focus on positive values of , as these are more of interest in loss modelling applications. For the Lambert W standard normal distribution with a positive skewness parameter , the pdf has an asymptote at . We establish the following three regions based on the shape of the pdf:
- (a)
- If , then the pdf has two local extrema;
- (b)
- If , then the pdf is monotone decreasing;
- (c)
- If , then the pdf has two local extrema.
In the first range, where , the shape of the distribution is at first glance not the most suitable for loss modelling, and needs additional explanations. Nevertheless, it can be argued that the asymptote effect is reasonably small, meaning that the distribution can provide a good fit, as in the Danish fire log data. Such a shape might be suitable in zero-altered models as well, where zero claims are included. The second and most appealing range, where the pdf is monotone decreasing, covers a wide range of the skewness coefficient values; see Figure 7. If , then the skewness coefficient is about 20,000; thus, the not-very-suitable shape in the third range is not a problem for most practical applications.
For the Lambert W exponential distribution, we establish that it allows a wider choice of the skewness coefficient than the exponential distribution. Moreover, one additional parameter relaxes the rigid relationship between the mean and variance of the exponential distribution. These properties make the Lambert exponential distribution a promising model for insurance loss data.
Our results in the practical part show that the Lambert W transformed distributions operating in a wide range of skewness represent a viable choice for insurance loss modelling. Both the normal and exponential distribution-based transforms show a reasonably good fit. An especially illustrative proof of this flexibility is visible in the Danish fire data, where the results of the Lambert W normal model are well at the top for both the original and log-transformed datasets.
Clearly, the choices available for the Lambert W approach are not limited to normal and exponential random variables. While the normal and exponential distributions seem to be a natural starting point for loss modelling, other distributions can offer valuable contributions as well.
Author Contributions
Conceptualization, M.K. and A.S.; methodology, M.K., A.S. and T.P.; software, A.S., T.P. and L.T.; validation, A.S.; formal analysis, all authors; data curation, A.S.; writing—original draft preparation, M.K., T.P. and L.T.; writing—review and editing, M.K. and A.S.; visualization, A.S. and T.P.; supervision, M.K.; project administration, A.S. and M.K.; funding acquisition, M.K. All authors have read and agreed to the published version of the manuscript.
Funding
This work was supported by the Estonian Research Council, grant PRG1197.
Data Availability Statement
We used the R package fExtremes [31] to access the US indemnity data and the package copula [32] for the Danish fire loss data.
Acknowledgments
The authors are thankful to Roel Verbelen for constructive discussions and comments on an earlier draft of the paper. The authors also thank all the anonymous referees for their valuable and constructive feedback.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. Proofs of the Properties of Lambert W Standard Normal Random Variables
In this appendix, we provide the proofs of the properties of the Lambert W standard normal random variables formulated in Lemmas 1–3 in Section 3.2.
Proof of Lemma 1.
Recall that the density can be expressed as for , where and are the principal and non-principal branch components of the pdf, respectively.
Furthermore, recall the form of the principal branch component as specified in (12):
for .
Looking separately at the components of this expression, it is easy to see that , , and if . Thus, the ratio tends to infinity in the process, which implies that the principal branch component specified in (12) goes to infinity if .
A similar argument holds for the non-principal branch component . First, recall that, as stated in Formula (13), the non-principal branch component has the following form:
with .
Analyzing the components of this expression separately, it can be seen that , , and in the process where . This implies that , which, in summary, results in .
In conclusion, because for , we have . The lemma is proved. □
Proof of Lemma 2.
We first note that Formulas (12) and (13) differ only in the specification of the branch ( or ). Because most of the following argumentation holds for both branches, we do not specify the branch unless explicitly needed. In other words, we start by searching for the extrema of the function
To investigate the existence of extrema for different values of , we first have to take the derivative from the expression (A1) by z, ignoring the constant in front:
Using Formula (6), we can write
and
Now, substituting the results into Formula (A2) leads to
The equality (A3) holds if the numerator is zero and the denominator is not. As we assume that , the denominator provides a restriction , which is already accounted for. In the numerator, because the value of the exponential function is positive for any fixed argument (except for for the non-principal branch, which is dealt with separately), we need to solve the following quadratic equation:
with respect to . The solution to this equation is of the form
Let us now look more closely at the expression under the square root that determines the number of solutions for Formula (A5). Solving this equation with respect to results in
Because of the initial assumption , we are interested in two of these four solutions: and .
We have established that the pdf of a Lambert random variable has two extrema in the following regions of the skewness parameter : . If , then there are no real solutions for Formula (A5).
Now, let us restrict ourselves to the principal branch of the pdf and check which of the found values for are within the range of values of the principal branch, i.e., . Formula (A5) then leads to the equality
where the solution for positive values for is . Thus, the function has two extrema in the interval and is monotone decreasing for . The lemma is proved. □
Proof of Lemma 3.
To prove this result, we can use the reasoning in the previous proof up to Formula (A5), as this holds for both the principal and non-principal branches. Then, it sufficient to check which solutions comply with the restriction . Solving the inequality
for positive values of results in .
Thus, the function has two extrema if , and we have proved part (b) of the lemma. Similarly, the Equation (A4) has no real solutions for . Now, the assertion that follows from the construction (see Formula (13)), which proves part (a) of the lemma. The lemma is proved. □
Appendix B. Details of Estimation
We use several R [33] packages for parameter estimation. For the hyperbolic, generalized hyperbolic, variance gamma, and normal inverse Gaussian distributions, we use a routine from the ghyp package [34]; for the skew-normal and skew t distributions, we use the sn package [35]; and for all other cases, we use the fitdistrplus package [36]. In addition, we apply several functions from the LambertW package [18] to produce the pdf and cdf for the Lambert W normal distribution.
To access the US indemnity data, we use the R package fExtremes [31], while for the Danish fire loss data we use the copula package [32].
We use the default starting values in each package for the relevant MLE routines, except for the case of the Lambert W distributions. As the Lambert W approach is relatively new, the consistency and stability properties of the MLE estimator have not been thoroughly studied, though the simulations provided in [8] are promising. In the following, we apply the method of moments to find the starting point for MLE. Next, we provide a more detailed overview of our selection of these starting values.
Lambert W normal distribution. To derive the starting values for the Lambert distribution, we use the mean, variance, and skewness coefficient of the Lambert random variable Y provided in Formulas (14)–(16). We first equate (16) with the sample skewness coefficient and solve it numerically to produce . Next, the expressions for the mean and variance are used, first substituting and a sample variance of Y into (15) and then solving it for to obtain the starting value of
Lastly, we substitute , and the sample mean into (14) and solve for to obtain
Lambert W exponential distribution. In the case of the Lambert distribution, we use the formula for the skewness coefficient (17) with the sample-based estimate to find a starting value for the skewness parameter. As the skewness coefficient is a non-monotone function of (see Figure 10), only solutions in the interval are used, as values produce too drastic of truncation. For the rate parameter , we use the expression of the first moment and solve to derive the formula
for the starting value of .
Appendix C. Data Histograms with the Three Best Fitting Models
Figure A1.
Left panel: US indemnity data (in thousands of USD). For a better overview, values above 100 are not shown on the histogram. Right panel: the same data after log-transformation. The added lines represent the best three estimates based on BIC.
Figure A2.
Left panel: Danish fire data claims (in millions of DKK). For a better overview, values above 20 are not shown on the histogram. Right panel: the same data after log-transformation. The added lines represent the best three estimates based on BIC.
References
- Hogg, R.V.; Klugman, S.A. Loss Distributions; John Wiley & Sons: Hoboken, NJ, USA, 1984. [Google Scholar]
- Klugman, S.A.; Panjer, H.H.; Willmot, G.E. Loss Models: From Data to Decisions; John Wiley & Sons: Hoboken, NJ, USA, 2012; Volume 715. [Google Scholar]
- Azzalini, A. A class of distributions which includes the normal ones. Scand. J. Stat. 1985, 12, 171–178. [Google Scholar]
- Azzalini, A.; Capitanio, A. Distributions generated by perturbation of symmetry with emphasis on a multivariate skew t-distribution. J. R. Stat. Soc. Ser. B Stat. Methodol. 2003, 65, 367–389. [Google Scholar] [CrossRef] [Scilit]
- Genton, M.G. Skew-Elliptical Distributions and Their Applications: A Journey Beyond Normality; CRC Press: Boca Raton, FL, USA, 2004. [Google Scholar]
- Nadarajah, S.; Kotz, S. Skewed distributions generated by the normal kernel. Stat. Probab. Lett. 2003, 65, 269–277. [Google Scholar] [CrossRef] [Scilit]
- Adcock, C.; Eling, M.; Loperfido, N. Skewed distributions in finance and actuarial science: A review. Eur. J. Financ. 2015, 21, 1253–1281. [Google Scholar] [CrossRef] [Scilit]
- Goerg, G.M. Lambert W random variables—A new family of generalized skewed distributions with applications to risk estimation. Ann. Appl. Stat. 2011, 5, 2197–2230. [Google Scholar] [CrossRef] [Scilit]
- Witkovsk’y, V.; Wimmer, G.; Duby, T. Logarithmic Lambert W × F random variables for the family of chi-squared distributions and their applications. Stat. Probab. Lett. 2014, 96, 223–231. [Google Scholar] [CrossRef] [Scilit]
- Iriarte, Y.A.; de Castro, M.; Gómez, H.W. The Lambert-F Distributions Class: An Alternative Family for Positive Data Analysis. Mathematics 2020, 8, 1398. [Google Scholar] [CrossRef] [Scilit]
- Iriarte, Y.A.; de Castro, M.; Gómez, H.W. An Alternative One-Parameter Distribution for Bounded Data Modeling Generated from the Lambert Transformation. Symmetry 2021, 13, 1190. [Google Scholar] [CrossRef] [Scilit]
- Peterson, R.A. The R Journal: Finding Optimal Normalizing Transformations via bestNormalize. R J. 2021, 13, 294–313. [Google Scholar] [CrossRef] [Scilit]
- Klami, A.; Lagus, J.; Sakaya, J. Lambert Matrix Factorization. In Proceedings of the Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2018, Dublin, Ireland, 10–14 September 2018; Proceedings, Part II 18. Springer: Berlin/Heidelberg, Germany, 2019; pp. 311–326. [Google Scholar]
- Stehlík, M. Distributions of exact tests in the exponential family. Metrika 2003, 57, 145–164. [Google Scholar] [CrossRef] [Scilit]
- Stehlík, M. Exact likelihood ratio scale and homogeneity testing of some loss processes. Stat. Probab. Lett. 2006, 76, 19–26. [Google Scholar] [CrossRef] [Scilit]
- Stehlík, M.; Economou, P.; Kisel’ák, J.; Richter, W.D. Kullback–Leibler life time testing. Appl. Math. Comput. 2014, 240, 122–139. [Google Scholar] [CrossRef] [Scilit]
- Goerg, G.M. The Lambert way to Gaussianize heavy-tailed data with the inverse of Tukey’s h transformation as a special case. Sci. World J. 2015, 2015, 909231. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Goerg, G.M. LambertW: Probabilistic Models to Analyze and Gaussianize Heavy-Tailed, Skewed Data; R Package Version 0.6.7-1; R Foundation for Statistical Computing: Vienna, Austria, 2022. [Google Scholar]
- Brito, P.; Fabião, F.; Staubyn, A. Euler, Lambert, and the Lambert W-function today. Math. Sci. 2008, 33, 127–133. [Google Scholar]
- Dence, T. A Brief Look into the Lambert W Function. Appl. Math. 2013, 4, 887–892. [Google Scholar] [CrossRef]
- Corless, R.; Gonnet, G.; Hare, D.; Jeffrey, D.; Knuth, D. On the Lambert W Function. Adv. Comput. Math. 1996, 5, 329–359. [Google Scholar] [CrossRef] [Scilit]
- Casella, G.; Berger, R.L. Statistical Inference; Duxbury Press: Pacific Grove, CA, USA, 2002. [Google Scholar]
- Frees, E.W.; Valdez, E.A. Understanding relationships using copulas. N. Am. Actuar. J. 1998, 2, 1–25. [Google Scholar] [CrossRef] [Scilit]
- McNeil, A.J. Estimating the tails of loss severity distributions using extreme value theory. ASTIN Bull. J. IAA 1997, 27, 117–137. [Google Scholar] [CrossRef] [Scilit]
- Klugman, S.A.; Parsa, R. Fitting bivariate loss distributions with copulas. Insur. Math. Econ. 1999, 24, 139–148. [Google Scholar] [CrossRef] [Scilit]
- Dupuis, D.J.; Jones, B.L. Multivariate Extreme Value Theory And Its Usefulness In Understanding Risk. N. Am. Actuar. J. 2006, 10, 1–27. [Google Scholar] [CrossRef] [Scilit]
- Resnick, S.I. Discussion of the Danish Data on Large Fire Insurance Losses. Astin Bull. 1997, 27, 139–151. [Google Scholar] [CrossRef] [Scilit]
- Cooray, K.; Ananda, M.M.A. Modeling actuarial data with a composite lognormal-Pareto model. Scand. Actuar. J. 2005, 2005, 321–334. [Google Scholar] [CrossRef] [Scilit]
- Dell’Aquila, R.; Embrechts, P. Extremes and Robustness: A Contradiction? Financ. Mark. Portf. Manag. 2006, 20, 103–118. [Google Scholar] [CrossRef] [Scilit]
- Eling, M. Fitting insurance claims to skewed distributions: Are the skew-normal and skew-student good models? Insur. Math. Econ. 2012, 51, 239–248. [Google Scholar] [CrossRef] [Scilit]
- Wuertz, D.; Setz, T.; Chalabi, Y. fExtremes: Rmetrics—Modelling Extreme Events in Finance; R Package Version 4021.83.; R Foundation for Statistical Computing: Vienna, Austria, 2022. [Google Scholar]
- Hofert, M.; Kojadinovic, I.; Maechler, M.; Yan, J. Copula: Multivariate Dependence with Copulas; R Package Version 1.1-2; R Foundation for Statistical Computing: Vienna, Austria, 2023. [Google Scholar]
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2022. [Google Scholar]
- Weibel, M.; Luethi, D.; Breymann, W. ghyp: Generalized Hyperbolic Distribution and Its Special Cases; R Package Version 1.6.3; R Foundation for Statistical Computing: Vienna, Austria, 2022. [Google Scholar]
- Azzalini, A. The R Package sn: The Skew-Normal and Related Distributions Such as the Skew-t and the SUN (Version 2.1.0); Università degli Studi di Padova: Padua, Italia, 2022. [Google Scholar]
- Delignette-Muller, M.L.; Dutang, C. fitdistrplus: An R Package for Fitting Distributions. J. Stat. Softw. 2015, 64, 1–34. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).













