a method of moments for the estimation of weibull pdf ... · pdf filea method of moments for...

5
A method of moments for the estimation of Weibull pdf parameters VINCENZO NIOLA Department of Mechanical Engineering for Energetics University of Naples “Federico II” Via Claudio 21, 80125, Napoli ITALY ROSARIO OLIVIERO University of Naples “Federico II” Via Pansini 5, 80131, Napoli ITALY GIUSEPPE QUAREMBA University of Naples “Federico II” Via Pansini 5, 80131, Napoli ITALY Abstract: - In order to estimate the parameters of a Weibull distribution, we study the performance of the method of moments. For that reason, we compare tree methods for the estimation of the cumulative distribution. The first method is a classical commonly-used approximation, the second one is the “Monte Carlo corrected median rank”. Finally, the third one utilizes a “wavelet estimator” of the empirical distribution. In particular, by Monte Carlo procedure we have verified that in order to estimate the scale parameter, the wavelet estimator is more consistent with reference to all other ones. Finally, we argue that, the wavelet estimator is, in general, more robust than other ones. Such a method could be utilised in mechanical applications (e.g., transmissions, rolling organs, kinematics couples, etc) or time series analysis. Key-Words: - Wavelet analysis, Weibull distribution, parameter estimation, mechanical lifetime. 1 Introduction The Weibull distribution is one of the frequently used in order to estimate the times-to-failure in constant stress tests on mechanical or electronics equipments. In parameter estimation, it is necessary to know the values that the cumulative distribution function (c.d.f.) assumes starting from the empirical data set. In this paper we describe the calculation of three estimators of the empirical c.d.f.; therefore we utilize them in order to estimate the parameters by means of the method of moments [1]. In particular, we use the classical approximation, the so called Fothergill Monte Carlo median rank estimator [2][3], and a nonparametric wavelet estimator [4][5]. We show that, in order to estimate the Weibull parameters, the wavelet estimator is almost equally consistent as the Fothergill one. This is a logical consequence, in fact the Forthegill estimator has been derived by modifying the classical mean rank by a Monte Carlo procedure. On the other side, we argue that, respect to bilateral data censoring, the wavelet estimator is more robust with respect to the other ones. 2 The method of moments Let X 1 , X 2 ,…, X n be n observed random values, whose density is given by the two dimensional Weibull p.d.f., whose c.d.f. is ( ) β t η β η t F = exp 1 ) , ; ( , (1) (with β > 0 and η > 0), where β and η are the shape and scale parameter respectively. The moments method estimator, for the above parameters, has the form [1] Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)

Upload: duongdung

Post on 30-Jan-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A method of moments for the estimation of Weibull pdf ... · PDF fileA method of moments for the estimation of Weibull pdf parameters ... distribution. The first method is a classical

A method of moments for the estimation of Weibull pdf parameters

VINCENZO NIOLA Department of Mechanical Engineering for Energetics

University of Naples “Federico II” Via Claudio 21, 80125, Napoli

ITALY

ROSARIO OLIVIERO

University of Naples “Federico II” Via Pansini 5, 80131, Napoli

ITALY

GIUSEPPE QUAREMBA University of Naples “Federico II”

Via Pansini 5, 80131, Napoli ITALY

Abstract: - In order to estimate the parameters of a Weibull distribution, we study the performance of the method of moments. For that reason, we compare tree methods for the estimation of the cumulative distribution. The first method is a classical commonly-used approximation, the second one is the “Monte Carlo corrected median rank”. Finally, the third one utilizes a “wavelet estimator” of the empirical distribution. In particular, by Monte Carlo procedure we have verified that in order to estimate the scale parameter, the wavelet estimator is more consistent with reference to all other ones. Finally, we argue that, the wavelet estimator is, in general, more robust than other ones. Such a method could be utilised in mechanical applications (e.g., transmissions, rolling organs, kinematics couples, etc) or time series analysis. Key-Words: - Wavelet analysis, Weibull distribution, parameter estimation, mechanical lifetime. 1 Introduction The Weibull distribution is one of the frequently used in order to estimate the times-to-failure in constant stress tests on mechanical or electronics equipments. In parameter estimation, it is necessary to know the values that the cumulative distribution function (c.d.f.) assumes starting from the empirical data set. In this paper we describe the calculation of three estimators of the empirical c.d.f.; therefore we utilize them in order to estimate the parameters by means of the method of moments [1]. In particular, we use the classical approximation, the so called Fothergill Monte Carlo median rank estimator [2][3], and a nonparametric wavelet estimator [4][5]. We show that, in order to estimate the Weibull parameters, the wavelet estimator is almost equally consistent as the Fothergill one. This is a logical consequence, in fact the Forthegill estimator has been derived by modifying the classical mean rank

by a Monte Carlo procedure. On the other side, we argue that, respect to bilateral data censoring, the wavelet estimator is more robust with respect to the other ones.

2 The method of moments Let X1, X2,…, Xn be n observed random values, whose density is given by the two dimensional Weibull p.d.f., whose c.d.f. is

( )βtηβηtF −−= exp1),;( , (1) (with β > 0 and η > 0), where β and η are the shape and scale parameter respectively. The moments method estimator, for the above parameters, has the form [1]

Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)

Page 2: A method of moments for the estimation of Weibull pdf ... · PDF fileA method of moments for the estimation of Weibull pdf parameters ... distribution. The first method is a classical

( ) ( )( ) ( )1

1

1 1

lnln

ˆ11lnlnˆ1

1lnlnˆ

XX

XFXFβ

n

n

i ii

−−

−=

∑−

= +

( )( )

∑=

−−=

n

i i

i

XXF

1

ˆ1ln1ˆ ,

where F̂ is an estimator of the empirical cumulative distribution function. Now, suppose the values X1, X2,…, Xn be in ascending order. In this case, for any i ∈ {1, 2, …, n} an estimator of F(Xi) is given by [2]

( )4.03.0ˆ

+−

=niXF i . (2)

The estimator (2) is derived by using Monte Carlo simulations, in order to estimate the median values for the c.d.f. of the ith of n i.i.d. samples. Note that, generally, the estimator (2) replaces the classical mean rank approximation [2][3]

( )1

ˆ+

=n

iXF i . (3)

Another approximation is given by the formula [2] [3][4]

( )n

iXF i5.0ˆ −

= . (4)

An alternative method, consists of estimating the density f, by means of nonparametric estimator f̂ :

we can obtain F̂ (Xi) by integrating f̂ between 0 and Xi. In our work, we propose a not parametric estimator. Preliminarily, for any i ∈ {1, 2,…, n}, set

∑ == n

h hii XXx 12 . (5)

Observe that, by (3) we have simply made a change of scale in order to normalize X1, X2,…, Xn between 0 and 1. We propose the density estimator given by [5] [6]

( )∑∑=

++=n

h khkjikjij xφxφ

nXf

1,1,1 111

)(1)(ˆ , (6)

where

( ) ,,22)( 2/ Ζ∈−= kkxφxφ jjjk

( ]( ]

∉∈

=1,0,01,0,1

)(xx

and

( )

( )

+

=

12

121

1logln

1log

ii

ii

xxmedian

xxmedianIntj

.

See [5]. In general, given a function ψ(x), whose first h (h ∈ N) moments are zero (mother wavelet), ϕ(x) is chosen in order to be (father wavelet) orthonormal to ψ(x), according to the L2 norm. In our work we have chosen

∈−

=1,

21,1

21,0,1

)(x

xxψ .

The choice of a similar interpolating curves is done because the order N, of the empirical data set, can be relatively small. It is easy to prove that, if ψ is a mother (father) wavelet, then also ψjk is a mother (father) wavelet. 3 Monte Carlo calculation of

consistency estimator First of all observe that, for any random variable, the c.d.f. follows a uniform distribution between 0 and 1. Therefore, in order to investigate the consistency of the method of moments we adopt the following procedure: we perform N simulated samples; each of them is composed of n random numbers Fi

(k) (i ∈ {1, 2,…, n}, k ∈ {1, 2,…, N}) showing a uniform distribution between 0 and 1. They represent n possible values for the c.d.f. of Weibull distributions with given parameters β and η. Therefore, for any k ∈ N, set

( )[ ] { }( )niηF

Xβk

iki ,...2,1

1ln1

)()( ∈

−−= :

Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)

Page 3: A method of moments for the estimation of Weibull pdf ... · PDF fileA method of moments for the estimation of Weibull pdf parameters ... distribution. The first method is a classical

each of these N samples represents n possible values for a Weibull random variable with parameters β and η. Finally, we calculate β̂ and η̂ , by utilizing the methods of moments. Now, fix k* ∈ {1, 2,…, N}; let

( )[ ]ηF

Xβk

iki

1*)(

*)( 1ln −−= (η ∈ R) and

( )[ ] *)(

1*)(

*)(

''1ln' k

iβk

iki X

ηη

ηF

Y =−−

= ,

with { }ni ,...2,1∈ and 'η ∈ R. This last sample represents n possible values for a Weibull random variable with parameters β and 'η . In this case, from (2), (3) and (4), given that F̂ (Xi) depends only on i and not on β and η , we deduce that, for any i ∈{1, 2, …, n},

F̂ (Xi(k*) ) = F̂ (Yi

(k*) ) for any classical estimator of F. On the other side, note that

ln(Xn(k*)) − ln(X1

(k*)) = ln(Yn(k*)) − ln(Y1

(k*)) .

This equality follows from the statement that, for any a, x, y ∈ R+,

ln(ax) − ln(ay) = ln(x) − ln(y).

Finally, let us apply the estimator of moments to the two samples X1

(k*), X2(k*),…, Xn

(k*) and Y1(k*), Y2

(k*),…, Yn

(k*). It follows that β̂ is independent by the value of the scale parameter η assigned a priori, whatever classical method we use in order to estimate F. We can therefore suppose that η = 1. Note that, on the other side, η̂ may depend on the value of β assigned a priori. Table 1 shows that, in general, for the estimator

( )∑∑=

++=n

h khkjikjij xφxφ

nXf

1,1,1 )(1)(ˆ , (5)

(j ∈ N), an optimal choice is j = j1, where

{ }( )

{ }( )

212,3,...,

1

212,3,...,

1log

int1ln log

i ii n

i ii n

mean x xj

mean x x

−∈

−∈

+ −

= − −

.

By Tables 2-3, note that the Fothergill estimator, of the c.d.f., appears almost as stable as the wavelet one. This is natural, given that the first estimator is indeed derived also by a Monte Carlo procedure. 4 Robustness respect to bilateral data

censoring Suppose X1, X2,…, Xn ordered in ascending way. In this case, by (1) the moment estimator for the shape parameter may be written in a simplified form as

( ) ( )( ) ( )1

1

lnln

ˆ11lnlnˆ1

1lnlnˆ

XX

XFXFβ

n

n

−−

−= .

From this, it follows that, if F is given by mean or median rank approximations, then the moment shape parameter estimator does not depend on the relative position of the intermediate values. In order to testing the robustness of our proposed estimator, we adopt the following procedure. For any k ∈ {1, 2,…, N}, we simulate the sample

j β̂ η̂

21 −j 1.3120 0.8735 11 −j 1.5610 0.9671

1j 1.9869 1.0547 11 +j 2.2223 1.0911 21 +j 2.2994 1.1446

Table 1. Median values of the parameters estimates for various values of j, for different Monte Carlo simulations (N = 10000 for any value of j), β = 2, n = 6 and η = 1.

Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)

Page 4: A method of moments for the estimation of Weibull pdf ... · PDF fileA method of moments for the estimation of Weibull pdf parameters ... distribution. The first method is a classical

β Proposed Fothergill ni /)5.0( − 1 1.0856 1.0048 1.1417 2 1.9869 1.9941 2.2740 3 3.0573 2.9955 3.4207 4 3.8620 4.0248 4.5459 5 5.1068 5.0051 5.7059 7 6.8689 7.0445 8.0166 10 9.9047 10.0252 11.4280 Table 2. Median values of the shape parameter estimates, for different values of β, for different Monte Carlo simulations (N = 10000 for any value of β), n = 6 and η = 1. In the Fig.1 are depicted the comparison of results obtained by the showed methods.

Fig. 1 Shape parameter estimates

β Proposed Fothergill ni /)5.0( − 1 0.9411 1.0616 1.1206 2 1.0547 1.0768 1.1206 3 1.0355 1.0667 1.1221 4 1.0326 1.0571 1.1300 5 1.0394 1.0741 1.1161 7 1.0335 1.0675 1.1180 10 1.0245 1.0559 1.1181

Table 3. Median values of the scale parameter estimates, for different values of β, for different Monte Carlo simulations (N = 10000), n = 6 and η = 1.

β Proposed Fothergill ni /)5.0( − 1 1.1437 1.5822 1.7548 2 2.5575 3.1688 3.5309 3 3.7697 4.7734 5.2871 4 4.9245 6.3135 7.0411 5 6.1014 7.9185 8.7801 7 8.8153 10.9861 12.2672 10 11.2146 15.8019 17.6285 Table 4. Median values of the shape parameter estimates, for different values of β, for different Monte Carlo simulations, with bilateral data censoring, (N = 10000 for any value of β), n = 10 and η = 1. In the Fig.2 below, are compared the results of methods in the case of bilateral data censoring.

Fig. 2 Shape parameter estimates, bilateral data censoring

β Proposed Fothergill ni /)5.0( − 1 1.0666 1.4280 1.6014 2 1.1058 1.4308 1.6087 3 1.1137 1.4265 1.5903 4 1.1055 1.4339 1.6045 5 1.1145 1.4375 1.6079 7 1.1371 1.4373 1.6016 10 1.1320 1.4499 1.6041 Table 5. Median values of the scale parameter estimates, for different values of β, for different Monte Carlo simulations, with bilateral data censoring, (N = 10000), n = 10 and η = 1.

Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)

Page 5: A method of moments for the estimation of Weibull pdf ... · PDF fileA method of moments for the estimation of Weibull pdf parameters ... distribution. The first method is a classical

( )[ ] { }( )niFλx βki

ki ,...2,11ln

1)()( ∈−−= ,

of the Weibull random variable, as before defined. Therefore, after having considered the sample to be ordered in ascending order, we consider the sample

(x2

(k), x2(k),…, xi

(k), …, xn−1(k), xn−1

(k))

(i ∈ {1, 2,…, n}). It is obtained by censoring its extreme values. Finally, for any so modified sample, we estimate the parameters by the two given methods. Note that, as shown by Tables 4-5, our proposed method appears to be more robust.

5 Conclusions We have proposed a method of moments to calculate the parameters of a Weibull distribution. The proposed method belongs to the family of nonparametric methodologies. It is based on the nonparametric determination of the values of the cumulative distribution, given the assigned sample. We have compared the estimates, for the shape and scale parameters, with reference for the classical method of moments. The parameter estimates, performed by the proposed methodology, appear to be robust enough, if compared to the classical method of moments. For this reason, the proposed methodology can be indicated for analysing the real working conditions of mechanical systems.

References: [1] Quian L., Correa J.A., Estimation of Weibull

parameters for grouped data with competing risks, working paper, Florida Atlantic University, 2002

[2] Fothergill J.C., Estimating the cumulative probability of failure data points to be plotted on Weibull and other probability paper, IEEE Transactions on Electrical Insulation, Vol.25, No.3, 1990, pp.489-492

[3] Raju G., Katebian A. Jafri S.Z., Application of Weibull Distribution For High Temperature Breakdown Data, Proc of IEEE Annual Report Conference on Electrical Insulation and Dielectric Phenomena, 2001, pp. 173-176

[4] Lu C., Danzer R., Fischer F.D., Fracture statistics of brittle materials: Weibull or normal distribution, Phisical Review E, Vol.65, n.067102, 2002, pp.1-4

[4] Niola V., Oliviero R., Quaremba G., The problem of estimating a GPD by means of wavelet transform, WSEAS Transactions on Information Science and Applications, Vol.2, no.7, July 2005, pp.822 - 829

[5] Walter, G. G., and Shen, X. Wavelets and Other Orthogonal Systems, Chapman & Hall/CRC, 2001

[6] Härdle W., Kerkyacharian G., Picard D., Tsybakov A., Lecture Notes in Statistics - Wavelets, Approximation, and Statistical Applications, Springer, 1998

Proceedings of the 8th WSEAS Int. Conference on Automatic Control, Modeling and Simulation, Prague, Czech Republic, March 12-14, 2006 (pp382-386)