Docsity

An R implementation for two-parameter Inverse Weibull distribution ∗, Guías, Proyectos, Investigaciones de Estadística

Toggle sidebar
bg1
An R implementation for two-parameter Inverse Weibull
distribution ∗
Johan David Marin Benjumea Universidad de Antioquia
Freddy Hernández Barajas Universidad Nacional de Colombia - sede Medellín-
Olga Usuga Manco Universidad de Antioquia
Carmen Elena Patiño Rodriguez Universidad de Antioquia
Abstract:
Keywords: Inverse Weibull, Monte Carlo Metod, RelDists, gamlss
Introduction
Context
The Inverse Weibull distribution (IW) has introduced by Keller and Kamath (1982) during the 3rd
International Conference on Reliability and Maintainability, as a suitable model to describe the
degradation phenomena of mechanical components. Later IW distribution showed fitted better
than the Weibull distribution to failure data of dynamic components (pistons, cranshaft, etc.) of
diesel engines (Keller, Goblin and Farnworth,1985).
Since it was presented, IW distribution has been proving to be suitable for modeling phenom-
ena such as degradation of mechanical components, survival time of guinea pigs (Mudholkar and
Kollia,1994), wind speed (Simiu and Heckert,1996), decomposition times of an insulating fluid
(Khan, Pasha and Pasha,2008) and many other devices.
Figure 1is a classification of articles and research related to the reverse Weibull distribution,
found with Scopus after a brief review of the literature. In Figure 1(c), It can be seen its use in mul-
tiple knoweledge fields, including from the study properties of IW distribution in mathematics
or their use in reliability and modeling of systems in engineering, to earthquake risk assessment
(Pasari and Dikshit,2014) in planetary sciences. Figure 1(b) classifies documents by type, in Fig-
ure 1(a), there is evidence of an increase in use and study of this distribution during the last 4
years, and Figure 2(d) shows how India and the United States are the countries that have most
developed studies on this distribution.
TITLE-ABS-KEY ( “Inverse weibull” OR “IW distribution” AND NOT(exponential OR expo-
nentiated OR generalized))
Art state
Keller and Kamath (1982) propouse the IW distribution with two parameters, Calabria and Pul-
cini (1989) explained the statistical properties of the point maximum likelihood (ML) estimators
of the parameters; ˆ
αand ˆ
βfor such a distribution and studied estimation procedures about the
∗Autor de contacto:[email protected].
pf3
pf4
pf5
pf8
pf9
pfa

Vista previa parcial del texto

¡Descarga An R implementation for two-parameter Inverse Weibull distribution ∗ y más Guías, Proyectos, Investigaciones en PDF de Estadística solo en Docsity!

An R implementation for two-parameter Inverse Weibull

distribution

Johan David Marin Benjumea Universidad de Antioquia Freddy Hernández Barajas Universidad Nacional de Colombia - sede Medellín- Olga Usuga Manco Universidad de Antioquia Carmen Elena Patiño Rodriguez Universidad de Antioquia

Abstract:

Keywords: Inverse Weibull, Monte Carlo Metod, RelDists, gamlss

Introduction

Context

The Inverse Weibull distribution (IW) has introduced by Keller and Kamath (1982) during the 3rd International Conference on Reliability and Maintainability, as a suitable model to describe the degradation phenomena of mechanical components. Later IW distribution showed fitted better than the Weibull distribution to failure data of dynamic components (pistons, cranshaft, etc.) of diesel engines (Keller, Goblin and Farnworth, 1985).

Since it was presented, IW distribution has been proving to be suitable for modeling phenom- ena such as degradation of mechanical components, survival time of guinea pigs (Mudholkar and Kollia, 1994), wind speed (Simiu and Heckert, 1996), decomposition times of an insulating fluid (Khan, Pasha and Pasha, 2008) and many other devices.

Figure 1 is a classification of articles and research related to the reverse Weibull distribution, found with Scopus after a brief review of the literature. In Figure 1(c), It can be seen its use in mul- tiple knoweledge fields, including from the study properties of IW distribution in mathematics or their use in reliability and modeling of systems in engineering, to earthquake risk assessment (Pasari and Dikshit, 2014) in planetary sciences. Figure 1(b) classifies documents by type, in Fig- ure 1(a), there is evidence of an increase in use and study of this distribution during the last 4 years, and Figure 2(d) shows how India and the United States are the countries that have most developed studies on this distribution.

TITLE-ABS-KEY ( “Inverse weibull” OR “IW distribution” AND NOT(exponential OR expo- nentiated OR generalized))

Art state

Keller and Kamath (1982) propouse the IW distribution with two parameters, Calabria and Pul- cini (1989) explained the statistical properties of the point maximum likelihood (ML) estimators of the parameters; ˆ α and ˆ β for such a distribution and studied estimation procedures about the

∗ Autor de contacto : [email protected].

1985 1990 1995 2000 2005 2010 2015 2020

0

5

10

15

20

25

(a) Documents by year

Documents

Paper Conference Book.Cha Conference.Rev Revision (b) Documents by Type

Documents

0

20

40

60

80

100

MatEng C.DecsnCompPhi−AstrAdmnEnergyAgro−BioChemMaterlsBq−GenPlanet C.Enviromental (c) Documents by knowledge area C.SclsEcn−FinMedcneMed.Vet

Documents

0

20

40

60

80

IN US SA EG CN IT PK BR IR CA (d) Documents by country

Documents

0

5

10

15

20

Figure 1: Classification by year (a), Type (b), knowledge area (c) and country (d), to 104 documents related to IW distribution found in Scopus.

realibility function ˆR(t), Via Monte Carlo simulation and compared using lower confidence limits (LCLs). Erto (1989) Introduced point estimators based on the least-squares (LS). Calabria and Pul- cini (1990) analysed point ML estimators in complete and censored sampling, and compared their properties to LS, in (1992; 1994) studied Bayes procedures for constructing probability intervals on the parameters and on the reliability function, for complete and censored inverse Weibull samples.

Salman and Amer (2003) and Khan, Pasha and Pasha (2008) studied the doubly truncated IW distributions (of three parameters) by entering the third parameter $ t_0 $. Jiang, Zuo and Li (1999) presented Weibull or inverse Weibull mixture model allowing neg- ative weights and illustrated that the proposed mixture model can be used to approximate the reliability behaviours of the consecutive-k-out-of-n systems.

Aim

During the literature review. We has not been found a software implementation of the IW distri- bution, diferent to the iw function included by autors in RelDists package. This article document the study about asymptotic behavior of the estimators of the parameters, observed through a sim- ulation study from the IW distribution implemented on RelDists.

Document is organized as described below. An introduction to the inverse Weibull distribution is made. Then the implementation of the distribution in RelDists is explained. The methodology and the results obtained in the Simulation study and finally the conclusions are shown.

0 2 4 6 8 10

x

F(x) μ= 1.0, σ= 0. μ= 1.0, σ= 1. μ= 1.0, σ= 2. μ= 1.0, σ= 3.

Figure 3: F(t) of the IW distribution with diferents values of μ and σ.

The hazard function

h(t, μ , σ ) = μσ x− σ −^1 (3) where t, μ , σ > 0.

0 1 2 3 4 5

x

H(x)

μ= 1.0, σ= 0. μ= 1.2, σ= 1. μ= 0.1, σ= 2.

Figure 4: h(t) of the IW distribution with diferents values of μ and σ.

The h(t) of the IW distribution has a unimodal shape and It can be decreasing or increasing depending on the value of the shape parameter, see Figure 4 (c). When σ < 1, the h(t) is contin- ually decreasing which represents early failures. When σ > 1, the h(t) is continually increasing which represents wear-out failures.

The mean life

The mean life of the Inverse Weibull distribution also known as mean-time-to-failure (MTTF) and is defined as:

E(t, μ , σ ) =

μ

)− (^1) σ Γ

σ

where t, μ , σ > 0.

Notice that when 0 ≤ σ ≤ 1 , since the IW distribution does not possess a finite mean, then the method of moments cannot be used for estimating the parameters (Calabria and Pulcini, 1992).

Parameter estimation methods

Many diferent estimators has been developed to IW distribution’s parameters. Some authors in the literature compared this methods using Monte Carlo simulation study, and diferent per- formance measurements. Sultan (2010) compared the best linear unbiased estimators (BLUEs) and the maximum likelihood estimators (MLs), when the shape parameter is known and when both parameters are unknown, using the bias and estimated variance. Nassar and Abo-Kasem (2017) describes the MLs, Approximate maximum likelihood estimation (AMLE) and the Bayes estimates obtained based on squared error (SE), under adaptative type-II progressive hybrid cen- soring scheme, compared their the average values and mean square errors (MSEs). Loganathan and Uma (2017) compared MLs, the method of moment estimator, the least square estimator, the weighted least square estimator, the performances of the proposed estimators are compare on the basis of their MSEs. Akgúl and ¸Seno ˘glu (2018) estimate unknown parameters of inverse Weibull (IW) distribution using eight different estimation methods: maximum likelihood (ML), least squares (LS), weighted least squares (WLS), percentile (PC), maximum product of spacing (MPS), probability weighted moments (PWM), Cramér–von Mises (CM), and Anderson-Darling (AD).

Software implementation

The authors implemented six diferents functions for work with the Inverse Weibull distribution in RelDists package:

The functions dIW and pIW can be used to obtain f (t) and F(t) respectively, next we have the functions with the usual arguments.

Probability density function

dIW(x, mu, sigma, log=FALSE)

Cumulative density function

pIW(q, mu, sigma, lower.tail=TRUE, log.p=FALSE)

It is possible to get the reliability function (R(x)) using the argument lower.tail=FALSE.

Quantile function

The quantile function (Q(t)) was obtained by inverting the cumulative density function, and is posible calcule it with the function qIW in RelDists.

Q(p, μ , σ ) =

μ log(p)

)− (^1) σ (5)

where 0 ≤ p ≤ 1; μ , σ > 0.

The CG algorithm a generalization of the Cole and Green (1992) algorithm is also a local scor- ing algorithm performed within an external iteration, an internal iteration and a modified adjust- ment algorithm to adjust each distribution parameter. Unlike the RS algorithm, CG requires the first and (expected or approximated) second and cross derivatives of the log-likelihood function with respect to the distribution parameters μ , σ , ν and τ (Rigby and Stasinopoulos, 2005).

RelDists distributions can follows the three methods for parameter estimation, using the fam- ily function like link function.

Simulation study

A Monte Carlo simulation study is conducted to analyze the performance of IW distribution of the RelDists package following our own slight modification of the ADEMP methodology proposed by Morris, White and Crowther (2019).

Aims

Analysis of the asymptotic behavior of the estimators of the parameters of the IW distribution implemented in RelDists, by means of a simulation study.

  • Case 1:

Estimation of distribution parameters

  • Case 2:

Estimation of the parameters of a regression model with covariates

Data-generating mechanisms

  • Case 1:

Using the random number generating function rIW, the data x ∼ IW( μ , σ ) is generated, for n = 20, 40, ..., 240, with μ = 2 and σ = 1.5.

x <- rIW(n=n, mu, sigma)

  • Case 2:

The values for the covariates are randomly generated, x 1 ∼ Poi( λ = 2 ) and x 2 ∼ Un f (0, 1), with n = 50, 70, ..., 790

x1 <- rpois(n=size, lambda=2) x2 <- runif(n=size)

The parameters μ = e^3 −x^1 and σ = e^2 (^1 −x^2 ),are calculated.

mu <- exp(3 + -1 * x1) sigma <- exp(2 - 2 * x2)

Using the rIW function, x ∼ IW( μ , σ ) data is generated for the different values of μ and σ.

x <- rIW(n=n, mu, sigma)

Estimands and other targets

For the parameter estimation we used the default method in gamlss function. According to Rigby and Stasinopoulos (2005) RS algorithm, is generally far more stable and in most cases faster. Par- ticularly for the adjusted distribution parameters that are not highly correlated, the RS algorithm can converge rapidly; before reaching the maximum log-likelihood.

  • Case 1:

Estimates for the μ and σ parameters

mod <- gamlss(x~1, sigma.fo=~1, family=IW, control=gamlss.control(n.cyc=5000, trace=FALSE))

  • Case 2: Estimates of the coefficients β 1 and γ 1 for ˆ μ and the coefficients β 2 and γ 2 for ˆ σ

gk( θ k) = Xk β k +

Jk

j= 1

Zjk γ jk (8)

  • θ k : It is the vector of the k parameters
  • Xk : is the covaribles vector
  • β k : An effect vector of covariates on the k parameters
  • Zjk : Is the identity array n × k
  • γ jk : is the additive term of the function

mod <- gamlss(x~x1, sigma.fo=~x2, family=IW, control=gamlss.control(n.cyc=5000, trace=FALSE))

Methods

Performance measures

The performance of all the estimates is compared in terms of their mean square errors (MSEs). The average values and MSEs of of μ and σ are evaluated by considering different values n. ( censoring schemes as follows. )

MSEk =

m

m

i= 1

( θ ˆki − θ k)^2 (9)

m : Number of Monte Carlo iterations

References

Akgúl, Fatma Gúl and Birdal ¸Seno ˘glu. 2018. Comparison of Estimation Methods for Inverse Weibull Distribution. In Trends and Perspectives in Linear Statistical Inference. Springer pp. 1–22.

Almalki, Saad J and Saralees Nadarajah. 2014. “Modifications of the Weibull distribution: A re- view.” Reliability Engineering & System Safety 124:32–55.

Calabria, R and G Pulcini. 1989. “Confidence limits for reliability and tolerance limits in the inverse Weibull distribution.” Reliability Engineering & System Safety 24(1):77–85.

Calabria, R and G Pulcini. 1990. “On the maximum likelihood and least-squares estimation in the Inverse Weibull distributions.” Statistica Applicata 2(1):53–66.

Calabria, R and G Pulcini. 1992. “Bayes probability intervals in a load-strength model.” Communi- cations in Statistics-Theory and Methods 21(12):3393–3405.

Calabria, R and G Pulcini. 1994. “Bayes 2-sample prediction for the inverse Weibull distribution.” Communications in Statistics-Theory and Methods 23(6):1811–1824.

Cole, Timothy J and Pamela J Green. 1992. “Smoothing reference centile curves: the LMS method and penalized likelihood.” Statistics in medicine 11(10):1305–1319.

Drapella, Antoni. 1993. “The complementary Weibull distribution: unknown or just forgotten?” Quality and Reliability Engineering International 9(4):383–385.

Erto, P. 1989. “Genesis, properties and identification of the inverse Weibull lifetime model.” Sta- tistica Applicata 1(4):117–128.

Jiang, R, MJ Zuo and H-X Li. 1999. “Weibull and inverse Weibull mixture models allowing nega- tive weights.” Reliability Engineering & System Safety 66(3):227–234.

Keller, AZ and ARR Kamath. 1982. “Alternate reliability models for mechanical systems.” ESA Reliability and Maintainability p 411-415(SEE N 83-20178 10-38).

Keller, AZ, MT Goblin and NR Farnworth. 1985. “Reliability analysis of commercial vehicle en- gines.” Reliability Engineering 10(1):15–25.

Khan, M Shuaib, GR Pasha and Ahmed Hesham Pasha. 2008. “Theoretical analysis of inverse Weibull distribution.” WSEAS Transactions on Mathematics 7(2):30–38.

Loganathan, A. and M. Uma. 2017. “Comparison of estimation methods for inverse weibull pa- rameters.” Global and Stochastic Analysist 4(1):83–93.

Morris, Tim P, Ian R White and Michael J Crowther. 2019. “Using simulation studies to evaluate statistical methods.” Statistics in medicine 38(11):2074–2102.

Mudholkar, Govind S and Georgia D Kollia. 1994. “Generalized Weibull family: a structural anal- ysis.” Communications in statistics-theory and methods 23(4):1149–1171.

Nassar, M and OE Abo-Kasem. 2017. “Estimation of the inverse Weibull parameters under adap- tive type-II progressive hybrid censoring scheme.” Journal of Computational and Applied Mathe- matics 315:228–239.

Pasari, Sumanta and Onkar Dikshit. 2014. “Impact of three-parameter Weibull models in proba- bilistic assessment of earthquake hazards.” Pure and Applied Geophysics 171(7):1251–1281.

Rigby, R. A. and D. M. Stasinopoulos. 2005. “Generalized additive models for location, scale and shape,(with discussion).” Applied Statistics 54:507–554.

Rigby, RA and DM Stasinopoulos. 1996a. “A semi-parametric additive model for variance hetero- geneity.” Statistics and Computing 6(1):57–65.

Rigby, Robert A and Mikis D Stasinopoulos. 1996b. Mean and dispersion additive models. In Statistical theory and computational aspects of smoothing. Springer pp. 215–230.

Salman, Mohamed Abdel Wahab Mahhoud-Khalaf and Sultan Saffa Mousa Amer. 2003. “Order statistics from inverse Weibull distribution and characterizations.” Metron 61(3):389–401.

Simiu, Emil and NA Heckert. 1996. “Extreme wind distribution tails: a “peaks over threshold” approach.” Journal of Structural Engineering 122(5):539–547.

Sultan, Khalaf S. 2010. “Record values from the inverse Weibull lifetime model: different methods of estimation.” Intelligent Information Management 2(11):631.