A Comparison of Four Methods of Estimating the Scale Parameter for the Exponential Distribution

Abstract

In this paper, the estimators of the scale parameter of the exponential distribution obtained by applying four methods, using complete data, are critically examined and compared. These methods are the Maximum Likelihood Estimator (MLE), the Square-Error Loss Function (BSE), the Entropy Loss Function (BEN) and the Composite LINEX Loss Function (BCL). The performance of these four methods was compared based on three criteria: the Mean Square Error (MSE), the Akaike Information Criterion (AIC), and the Bayesian Information Criterion (BIC). Using Monte Carlo simulation based on relevant samples, the comparisons in this study suggest that the Bayesian method is better than the maximum likelihood estimator with respect to the estimation of the parameter that offers the smallest values of MSE, AIC, and BIC. Confidence intervals were then assessed to test the performance of the methods by comparing the 95% CI and average lengths (AL) for all estimation methods, showing that the Bayesian methods still offer the best performance in terms of generating the smallest ALs.

Share and Cite:

Alomari, H. (2023) A Comparison of Four Methods of Estimating the Scale Parameter for the Exponential Distribution. Journal of Applied Mathematics and Physics, 11, 2838-2847. doi: 10.4236/jamp.2023.1110186.

1. Introduction

The exponential distribution is one of the most commonly used continuous distributions applied in life data analysis. In particular, it is commonly used for systems exhibiting some form of constant failure rate. For a continuous random variable X = ( X 1 , X 2 , , X n ) , the exponential distribution density function, the pdf, is thus given by

f ( X , λ ) = λ e X λ , X 0. (1)

where λ is the constant failure rate parameter. For more details on exponential distribution and its applications, [1] and [2] offer a useful reference.

Empirical Bayes estimators of exponential distribution parameters have been introduced by multiple authors, such as [3] and [4] to support the generation of this function. [5] also investigated the use of the power function distribution as a conjugate prior to the estimation of the parameters required for the exponential distribution, while [6] used a prior drawn from the gamma to assess Bayesian estimation of the exponential distribution, applying the maximum likelihood estimator and three different loss functions to estimate the parameters of the exponential distribution.

This paper aimed to study the estimation of exponential distribution across a variety of loss functions, applying three different criteria-based methods to compare the resulting estimators. These were mean square error (MSE), the Akaike Information Criterion (AIC), and the Bayesian Information Criterion (BIC).

The remainder of this paper is thus organized as follows. In Section 2, the mathematical derivations of the estimation methods are present, while the final model selection is explained in Section 3. The Monte Carlo simulation study results are then used in Section 4 to perform a comparison of the estimation methods, based on applying the appropriate criteria for the mean square error (MSE), Akaike Information Criterion (AIC), and Bayesian Information Criterion (BIC), allowing a conclusion based on the results findings to be offered in Section 5.

2. Different Estimators of the λ Parameter

This section outlines the various estimates of the parameter of the exponential distribution, as given in (1).

2.1. Maximum Likelihood Estimator (MLE)

The maximum likelihood estimator (MLE) is a technique used for estimating the parameters of a given distribution as discussed in [7] [8] and [9] . Suppose that X = ( X 1 , X 2 , , X n ) ; based on this the exponential distribution is as shown in (1), and the likelihood of λ can be described as

L ( X , λ ) = λ n e λ i = 1 n X i .

Taking the natural logarithm of both sides yields

ln L ( X , λ ) = n ln λ λ i = 1 n X i

and the MLE estimator of λ can thus be obtained by solving the following equation:

λ ln L ( X , λ ) = 0.

Hence,

n λ i = 1 n X i = 0 ,

and the maximum likelihood estimator, λ ^ MLE , is then given by

λ ^ MLE = n i = 1 n X i . (2)

2.2. Bayesian Estimator

This section demonstrates the process of deriving Bayesian estimates of the scale parameter for the exponential distribution. Three different loss functions are used to achieve this, which are the squared error loss function, the entropy loss function, and the composite LINEX loss function.

The gamma ( α , β ) can be considered as a conjugate prior of λ with its density function written in the form

h ( λ , α , β ) = β α Γ ( α ) λ α 1 e β λ , λ , α , β > 0 ,

where α and β are the shape parameter and scale parameter, respectively.

The posterior density function of λ for the given random sample X = ( X 1 , X 2 , , X n ) is thus obtained as

π ( λ , X ) = i = 1 n f ( λ , X ) h ( λ , α , β ) 0 i = 1 n f ( λ , X ) h ( λ , α , β ) d λ = λ n e λ i = 1 n X i β α λ α 1 e β λ 0 λ n e λ i = 1 n X i β α λ α 1 e β λ d λ = λ n + α 1 e ( i = 1 n X i + β ) λ 0 λ n + α 1 e ( i = 1 n X i + β ) λ d λ .

This in turn implies that the posterior distribution can be written as

π ( λ , X ) = λ n + α 1 e ( i = 1 n X i + β ) λ ( i = 1 n X i + β ) n + α Γ ( n + α ) ,

which, as can be plainly observed, is a gamma distribution with parameters ( n + α ) and ( i = 1 n X i + β ) .

The three different loss functions used to develop a Bayes estimate for the parameter λ are discussed below.

2.2.1. Squared-Error Loss Function (SE)

The SE as discussed by [10] and [11] , can be defined as

L ( λ ^ , λ ) = ( λ ^ λ ) 2 .

The Bayesian estimator of λ under the squared error loss function is the mean of the posterior density function. The Bayes estimator of λ under the squared error loss function is then denoted as λ ^ SE which can be written as

E ( λ | X ) = 0 λ π ( λ , X ) d λ = ( i = 1 n X i + β ) n + α Γ ( n + α ) 0 λ n + α e ( i = 1 n X i + β ) λ d λ = Γ ( n + α + 1 ) ( i = 1 n X i + β ) n + α + 1 ( i = 1 n X i + β ) n + α Γ ( n + α ) = n + α i = 1 n X i + β .

Such that,

λ ^ SE = n + α i = 1 n X i + β , (3)

where E ( . ) indicates the posterior expectation.

2.2.2. Entropy Loss Function

The entropy loss function, as discussed by [12] , can be obtained in the form

L ( λ ^ , λ ) = K ( λ ^ λ ln ( λ ^ λ ) 1 ) .

The Bayes estimator of λ based on the entropy loss function, denoted by λ ^ BEN , is then given as

λ ^ BEN = ( E ( λ 1 ) ) 1 .

From this, it is possible to derive E ( λ 1 ) as follows:

E ( λ 1 ) = 0 λ 1 π ( λ , X ) d λ = ( i = 1 n X i + β ) n + α Γ ( n + α ) 0 λ ( n + α 1 ) 1 e ( i = 1 n X i + β ) λ d λ = ( i = 1 n X i + β ) n + α Γ ( n + α ) Γ ( n + α 1 ) ( i = 1 n X i + β ) n + α 1 .

The Bayesian estimation of λ based on the entropy loss function is therefore written as

λ ^ BEN = n + α 1 i = 1 n X i + β . (4)

2.2.3. Composite LINEX Loss Function

The composite LINEX loss function is defined by [13] and is given as

L ( λ ^ , λ ) = e C ( λ ^ , λ ) + e C ( λ ^ , λ ) 2, C > 0.

The Bayes estimator of λ based on composite LINEX loss function is denoted as λ ^ BCL and can be expressed as

λ ^ BCL = 1 2 C ln ( E e ( C λ | X ) E e ( C λ | X ) ) .

To find E ( e ( C λ | X ) ) ,

E ( e ( C λ | X ) ) = 0 e ( C λ , X ) π ( λ , X ) d λ = i = 1 n X i + β Γ ( n + α ) 0 e ( i = 1 n X i + β C ) λ n + α 1 d λ = i = 1 n X i + β ( i = 1 n X i + β C ) n + α .

Here, in a similar manner, E ( e ( C λ | X ) ) where

E ( e ( C λ | X ) ) = i = 1 n X i + β ( i = 1 n X i + β + C ) n + α .

The Bayesian estimation of λ based on the composite LINEX loss function can thus be expressed as

λ ^ BCL = n + α 2 C ln ( i = 1 n X i + β + C i = 1 n X i + β C ) . (5)

3. Model Selection Criterion

To compare the efficiency of MLE, SE, BEN, and BCL, estimators the mean square error, Akaike information criterion, and Bayesian information criterion methods were used to test their accuracy.

3.1. Mean Square Error (MSE)

The mean square error references the mean squared distance between observed and predicted values.

The MSE is thus calculated as

MSE = i = 1 n ( λ i λ ^ i ) 2 n , (6)

where λ ^ is the estimator of the parameter λ on the ith run and n is the sample size.

Estimates values with the lowest rates of MSE are preferred, as this means that λ ^ is closer to the actual values of λ .

3.2. Akaike Information Criterion (AIC)

The Akaike information criterion (AIC) is defined by the equation

AIC = 2 K 2 log L ( λ ^ ) , (7)

where K is the number of estimated parameters and L ( λ ^ ) is the maximum value of the likelihood estimate of the parameters.

Higher values for the likelihood function give a better fit, with the minimum AIC; however, the value of the AIC increases as more parameters are added to the first component.

In the case of small data set, n K < 40 , the second-order AIC, AICc can be used more effectively. The AICc takes the form

AIC c = 2 log ( λ ^ ) + 2 K + 2 K + 1 n K 1 , (8)

where 2 K + 1 n K 1 is the bias-correction factor. As n increases, 2 K + 1 n K 1 tends to zero; at that point, the AICc gives results that more closely resemble the AIC.

3.3. Bayesian Information Criterion (BIC)

The Bayesian (or Schwarz) information criterion is expressed as

BIC = 2 log L ( λ ^ ) + K log ( n ) . (9)

Further information on AIC and BIC can be found in [14] and similar references.

The method with the smallest values of MSE, AIC, and BIC can, however, be assumed to be the most efficient method to estimate the parameter to estimate the exponential distribution, offering estimated values of λ close to its true value. The best method of estimating the parameter can also be determined by calculating which offers the highest log-likelihood value.

4. The Simulation Study

This section discusses the use of a Monte Carlo simulation to compare the MSE, AIC, and BIC criteria, as defined in (6), (7), and (9) respectively, to estimate the parameter of the exponential distribution based on the classical methods of comparison using MLE and Bayes estimators under the loss functions, including SE, BEN, and BCL, which can be computed as shown in Section 2 in equations 2 to 5. Sample sizes n = 10, 30, 150, 300, and 1,000 were used to achieve this, with data generated from the exponential distribution for the scale parameter λ = 1 , with an arbitrary prior parameter (α, β, C) = (1, 2, 0.5). The number of replications used was 1,000,000 for each sample size.

The efficiencies of the estimation methods are compared in Table 1 and Table 2. The results of MSE, AIC, and BIC are presented in Table 1, while the 95% CIs, along with average confidence interval length. ALs, as computed using the estimators are displayed in Table 2. Table 1, which shows the estimated values

Table 1. Estimated value of the rate parameter, λ ^ , for the true parameter λ , mean square error (MSE), Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), with log-likelihood (L) when (α, β, C) = (1, 2, 0.5).

Table 2. The lower (L) the upper(U) and average length AL of 95% confidence intervals for λ of exponential distribution.

and the values of MSE, AIC, and BIC with log-likelihoods for the selected sample size, also offers the MSE values obtained using all four estimators approached. For small sample sizes (n = 10, 30), the BEN method can thus be seen to perform better than other estimation methods, based on it offering the smallest value of MSE. With an increasing sample size, however, the BSE method provides the lowest MSE. The results further indicate that the lowest values of AIC and BIC were obtained by using BCL as n increases further, while the values of AIC and BIC are close to each other for all estimation methods. Overall, all methods offer good performance with respect to the estimation of the parameter, though the higher the log-likelihood value, the better the parameter estimation method, and the results also suggest that the BCL method gives a higher log-likelihood value than all other approaches. Comparing the results in this paper to that in [8] , we see that both of these results show that the Bayesian method is better than the MLE. The results show that the MSE and L values of all methods decreased with increasing the sample size. The values of AIC and BIC increase as the sample size increases. For all estimation methods the 95% confidence intervals and average lengths for the parameter were computed. The narrow 95% band indicates that confidence levels are high. The results in Table 2 show that AL values decrease as the sample size increases, becoming more similar and closer to each other. The smallest values of ALs were found by applying the BEN method.

5. Conclusion

In this study, four methods of estimating the parameter of the exponential distribution were compared. Estimating the exponential parameter using classical MLE was thus compared with the use of the Bayesian method assessed using three criteria, the MSE, the AIC, and the BIC. The results indicate that the Bayesian method performs better than the maximum likelihood estimator for the estimation of the parameter, based on it having the smallest values of MSE, AIC, and BIC, with narrow 95% CIs and the shortest ALs.

Acknowledgements

Sincere thanks to the members of JAMP for their professional performance.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Balakrishnan, K. (2019) Exponential Distribution: Theory, Methods, and Applications. Routledge, Milton Park, Abingdon-on-Thames.
https://doi.org/10.1201/9780203756348
[2] Verdu, S. (1996) The Exponential Distribution in Information Theory. Izdatel’stvo Nauka, 32, 100-111.
[3] Sarhan, A.M. (2003) Empirical Bayes Estimates in Exponential Reliability Model. Applied Mathematics and Computation, 135, 319-332.
https://doi.org/10.1016/S0096-3003(01)00334-4
[4] Yang, L., Zhou, H. and Yuan, S. (2013) Bayes Estimation of Parameter of Exponential Distribution under a Bounded Loss Function. Research Journal of Mathematics and Statistics, 5, 28-31.
https://doi.org/10.19026/rjms.5.5802
[5] Rahman, H., Roy, M.K. and Baizid, A.R. (2012) Bayes Estimation under Conjugate Prior for the Case of Power Function Distribution. American Journal of Mathematics and Statistics, 2, 44-48.
https://doi.org/10.5923/j.ajms.20120203.06
[6] Hasan, M.R. and Baizid, A.R. (2017) Bayesian Estimation under Different Loss Functions Using Gamma Prior for the Case of Exponential Distribution. Journal of Scientific Research, 9, 67-78.
https://doi.org/10.3329/jsr.v1i1.29308
[7] Cohen, A.C. (1965) Maximum Likelihood Estimation in the Weibull Distribution Based on Complete and on Censored Samples. Technometrics, 7, 579-588.
https://doi.org/10.1080/00401706.1965.10490300
[8] Harter, H.L. and Moore, A.H. (1965) Maximum-Likelihood Estimation of the Parameters of Gamma and Weibull Populations from Complete and from Censored Samples. Technometrics, 7, 639-643.
https://doi.org/10.1080/00401706.1965.10490304
[9] Nwobi, F. and Ugomma, C. (2014) A Comparison of Methods for the Estimation of Weibull Distribution Parameters. Advances in Methodology and Statistics, 11, 65-78.
https://doi.org/10.51936/bddv8875
[10] Al-Bossly, A. (2021) E-Bayesian and Bayesian Estimation for the Lomax Distribution under Weighted Composite LINEX Loss Function. Computational Intelligence and Neuroscience, 2021, Article ID 2101972.
https://doi.org/10.1155/2021/2101972
[11] Ali, S., Aslam, M., Abbas, N. and Kazmi, S.M.A. (2012) Scale Parameter Estimation of the Laplace Model Using Different Asymmetric Loss Functions. International Journal of Statistics and Probability, 1, 105-127.
https://doi.org/10.5539/ijsp.v1n1p105
[12] Parsian, A. and Nematollahi, N. (1996) Estimation of Scale Parameter under Entropy Loss Function. Journal of Statistical Planning and Inference, 52, 77-91.
https://doi.org/10.1016/0378-3758(95)00026-7
[13] Zhang, R. (2007) Estimating Parameters in the Composite Linex Loss of Symmetry. Master’s Degree Paper of Dalian University of Technology, Dalian University of Technology, Dalian, China.
[14] Fabozzi, F.J., Focardi, S.M., Rachev, S.T. and Arshanapalli, B.G. (2014) The Basics of Financial Econometrics: Tools, Concepts, and Asset Management Applications. John Wiley and Sons, Hoboken.
https://doi.org/10.1080/14697688.2015.1080486

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.