# The graphical method for goodness of fit test in the inverse Weibull distribution based on multiply type-II censored samples

- Suk-Bok Kang
^{1}and - Jun-Tae Han
^{2}Email author

**Received: **14 September 2015

**Accepted: **24 November 2015

**Published: **12 December 2015

## Abstract

Many studies have considered a truncated and censored samples which are type-I, type-II and hybrid censoring scheme. The inverse Weibull distribution has been utilized for the analysis of life testing and reliability data. Also, this distribution is a very flexible distribution. The inverse Rayleigh distribution and inverse exponential distribution are a special case of the inverse Weibull distribution. In this paper, we derive the approximate maximum likelihood estimators (AMLEs) of the scale parameter and the shape parameter in the inverse Weibull distribution under multiply type-II censoring. We also propose a simple graphical method for goodness-on-fit test based on multiply type-II censored samples using AMLEs.

### Keywords

Approximate maximum likelihood estimator Goodness-of-fit test Inverse Weibull distribution Multiply type-II censored sample## Background

This distribution has been recently proposed as a model in the analysis of life testing data. Many authors have discussed estimation of the parameters and associated inference, for example, Calabria and Pulcini (1990, 1994; Maswadah 2003; Mahmoud et al. 2003).

In life testing and reliability experiments, it is well known that the lifetimes of test units may not be always observed exactly. There are also situations in which the removal of units prior to failure is pre-planned because of the time or cost limitations associated with testing. The type-I and type-II censoring are the most common censoring schemes, but the typical type-I and type-II censoring do not have flexibility. The type-II censoring scheme is a special case of the multiply type-II censoring scheme. Multiply type-II censored sampling arises in a life-testing experiment whenever the experimenter does not record the failure times of some units placed on a life testing.

The approximated maximum likelihood estimating method for the Rayleigh distribution was first developed by Balakrishnan (1989). Fei et al. (1995) studied the estimation for the two-parameter Weibull distribution and extreme-value distribution under multiply type-II censoring. They compared the mean squared errors of the maximum likelihood estimators, approximate maximum likelihood estimators (AMLEs), and best linear unbiased estimators (BLUEs) of the parameters in the extreme value distribution.

Goodness-of-fit tests were discussed by several authors. Porter III et al. (1992) developed three modified Kolmogorov-Smirnov, Anderson-Darling, and Cramer-von Mises tests for the Pareto distribution based on the complete samples. Shimokawa and Liao (1999) studied the goodness of fit test for the extreme value and Weibull distribution, when the population parameters are estimated from a complete sample by graphical plotting techniques. Puig and Stephens (2000) studied some tests of fit for the Laplace distribution based on the empirical distribution function (EDF) statistics and the application of the Laplace distribution in the least absolute deviations regression. In addition, Choulakian and Stephens (2001) discussed estimation of parameters and goodness-of-fit tests for the generalized Pareto distribution.

The objective of the our study is to derive the AMLEs of the scale parameter \(\sigma \) and the shape parameter \(\lambda \) based on multiply type-II censored samples. We also propose a simple graphical method for goodness-of-fit test based on multiply type-II censored samples using AMLEs.

The paper is organized as follows. “Approximate maximum likelihood estimators” describes estimation of the scale and shape parameter under multiply type-II censored samples. “Graphical methods in the goodness-of-t tests” describes graphical methods in the goodness-of-fit tests. In “Illustrative examples”, we apply graphical method using two example data set. Finally, “Conclusions” concludes the paper and gives some recommendations for future work.

## Approximate maximum likelihood estimators

We assume that *n* items are put on a life test, but only \(a_1\)th, \(a_2\)th, …, \(a_s\)th failures are observed, the rest are unobserved or missing, where \(a_1\), \(a_2\),…, \(a_s\) are considered to be fixed.

*X*is an inverse Weibull random variable, then \(Y=logX\) has extreme-value distribution with location \(\mu = log(1/\sigma )\) and scale parameter \(\theta = 1/\lambda \) with PDF and CDF given respectively as;

*n*is \( y_{a_1 : n} \le y_{a_2 : n} \le \cdots \le y_{a_s : n}\), where \(1~\le ~a_1~<~a_2~<~\cdots ~<~a_s~\le n\), \(a_0 = 0\), \(a_{s+1} = n+1\), \(F(y_{a_0 :n} )=0\), and \(F(y_{a_{s+1} :n} )=1\).

*f*(

*z*) and

*F*(

*z*) are the pdf and the cdf of the standard extreme-value distribution, respectively.

Let \(\xi _i = F^{-1}(p_i)=-\mathrm{ln}\left[ -\mathrm{ln}p_i\right] \) where \(p_i = { i / (n+1)}\), \(q_i = 1-p_i\). Further, we may expand the following function in a Taylor series around the points \(\xi _{a_i}\) and (\(\xi _{a_{i-1}}\), \(\xi _{a_i}\)) respectively.

## Graphical methods in the goodness-of-fit tests

In this section, we consider a graphical method for goodness on fit test in the inverse Weibull distribution based on multiply type-II censored samples using AMLEs.

### Modified normalized sample Lorenz curve

The Lorenz curve is extensively used in the study of income distribution and used to be a powerful tool for the analysis of a variety of scientific problems.

### Test based on spacing of EDF

We have an idea for plot and test statistics based on the spacing of the EDF.

The value of \((R_{i} / P_i)-1\) increases and then decreases as \({a_i / (n+1) }\) increases when the alternative is normal and lognormal distributions. But the value of \((R_{i} / P_i)-1\) decreases and then increases as \({a_i / (n+1) }\) increases when the alternative is Weibull and beta distributions. The normal alternative distribution and the lognormal alternative distribution are similar.

## Illustrative examples

In this section, we show some illustrative examples using real data sets and discuss the results of examples.

### Example 1: the ball bearings in the life test

The data given here arose in tests on the endurance of deep groove ball bearings. They were originally discussed by Lieblein and Zelen (1956), who assumed that the data came from a Weibull distribution. The data are the number of million revolutions before failure for each of the 23 ball bearings in the life test:

17.88, 28.92, 33.00, 41.52, 42.12, 45.60, 48.40, 51.84, 51.96, 54.12, 55.56, 67.80, 68.64, 68.64, 68.88, 84.12, 93.12, 98.64, 105.12, 105.84, 127.92, 128.04, 173.40.

To work with the inverse Weibull distribution, the 23 failure times are converted to inverse failure times:

0.006, 0.008, 0.008, 0.009, 0.010, 0.010, 0.011, 0.012, 0.015, 0.015, 0.015, 0.015, 0.018, 0.018, 0.019, 0.019, 0.021, 0.022, 0.024, 0.024, 0.030, 0.035, 0.056.

For complete data, we can obtain the AMLEs \({\hat{\lambda }}=2.121929\) and \({\hat{\sigma }}=81.450162\). For this example of \(n=23\), \(s=16\)(\(a_j=1, 2, 5{-}14, 18{-}21\)), and the multiply Type-II censored samples are 0.006, 0.008, –, –, 0.010, 0.010, 0.011, 0.012, 0.015, 0.015, 0.015, 0.015, 0.018, 0.018, –, –, –, 0.022, 0.024, 0.024, 0.030, –, –, we can obtain the AMLEs \({\hat{\lambda }}=2.062999\) and \({\hat{\sigma }}=80.986041\).

### Example 2: maximum flood levels of the susquehenna river

Data given by Dumonceaux and Antle (1963), represents the maximum flood levels (in million of cubic feet per second) of the Susquehenna River at Harrisburg, Pennsylvenia over 20 four-year periods (1890–1969) as follows;

0.654, 0.613, 0.315, 0.449, 0.297, 0.402, 0.379, 0.423, 0.379, 0.324, 0.269, 0.740, 0.418, 0.412, 0.494, 0.416, 0.338, 0.392, 0.484, 0.265.

This data had been utilized earlier by Maswadah (2003). He showed a rough indication of the goodness-of-fit for the model, due to the smallness of the sample seize, by plotting the empirical CDF and the CDF of the inverse Weibull distribution using the maximum likelihood estimators of the parameters. Maswadah (2003) showed that the inverse Weibull distribution provides a good fit to these data, which demonstrated the usefulness of the inverse Weibull distribution in modeling extreme value data, as well as its applicability in the analysis of natural phenomena (flood, drought, rainfall, etc.).

We now apply the proposed estimators to these data, and assess their goodness of-fit. For complete data, we can obtain the AMLEs \({\hat{\lambda }}=4.335915\) and \({\hat{\sigma }}=2.783092\). For this example of \(n=20\), \(s=15\)(\(a_j=1{-} 7, 11{-} 18\)), and the multiply Type-II censored samples are 0.265, 0.269, 0.297, 0.315, 0.324, 0.338, 0.379, –, –, –, 0.412, 0.416, 0.418, 0.423, 0.449, 0.484, 0.494, 0.613, –, –, we can obtain the AMLEs \({\hat{\lambda }}=4.132622\), and \({\hat{\sigma }}=2.770161\).

## Conclusions

In most cases of censored and truncated samples, the maximum likelihood method does not provide explicit estimators. So we discussed another method for obtaining explicit estimators. We also proposed a simple graphical method for goodness on fit assessment based on multiply type-II censored samples using AMLEs.

We demonstrated that the proposed graphical method is a simple and fairly good approach for assessment of goodness of fit. We will need further study of the test statistics and the critical regions for testing distributions based on multiply type-II censored samples.

## Declarations

### Author’s contributions

Both authors contributed in process of manuscript writing. SK introduced the idea, undertook the theoretical and methodology development. JH developed the C++ codes and helped in the statistical analysis. Both authors read and approved the final manuscript.

### Acknowledgements

None.

### Competing interests

The authors declare that they have no competing interests.

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- Balakrishnan N (1989) Approximate MLE of the scale parameter of the Rayleigh distribution with censoring. IEEE Trans Reliab 38:355–357View ArticleGoogle Scholar
- Calabria R, Pulcini G (1990) On the maximum likelihood and least-squares estimation in the inverse Weibull distribution. Statistica Applicata 2:53–66Google Scholar
- Calabria R, Pulcini G (1994) Bayes 2-sample prediction for the inverse Weibull distribution. Commun Stat Theory Methods 23:1811–1824View ArticleGoogle Scholar
- Choulakian V, Stephens MA (2001) Goodness-of-fit tests for the generalized Pareto distribution. Technometrics 43:478–484View ArticleGoogle Scholar
- Cho YS, Lee JY, Kang SB (1999) A study on distribution based on the transformed Lorenz curve. Korean J Appl Stat 12:153–163Google Scholar
- Dumonceaux R, Antle CE (1963) Discrimination between the log-normal and the Weibull disributions. Technometrics 15:923–926View ArticleGoogle Scholar
- Fei H, Kong F, Tang Y (1995) Estimation for two-parameter Weibull distribution and extreme-value distribution under multiply Type-II cnesoing. Commun Stat Theory Methods 24:2087–2104View ArticleGoogle Scholar
- Kang SB, Cho YS (2001) A study on distribution based on the normalized sample Lorenz curve. Korean Commun 8:185–192Google Scholar
- Lieblein J, Zelen M (1956) Statistical investigation of the fatigue life of deep groove ball bearing. J Res Natl Bureau Stand 57:273–316View ArticleGoogle Scholar
- Maswadah M (2003) Conditional confidence interval estimation for the inverse Weibull distribution based on censroed generalized order statistics. J Stat Comput Simul 73:887–898View ArticleGoogle Scholar
- Mahmoud M, Sultan KS, Amer SM (2003) Order statistics from inverse Weibull distribution and associated inference. Comput Stat Data Anal 42:149–163View ArticleGoogle Scholar
- Porter JE III, Coleman JW, Moore AH (1992) Modified KS, AD, and C-vM tests for the Pareto distribution with unknown location & scale parameters. IEEE Trans Reliab 41:112–117View ArticleGoogle Scholar
- Puig P, Stephens MA (2000) Tests of fit for the Laplace distribution with applications. Technometrics 42:417–424View ArticleGoogle Scholar
- Shimokawa T, Liao M (1999) Goodness-of-fit tests form type-I extreme-value and 2-parameter Weibull distributions. IEEE Trans Reliab 48:79–86View ArticleGoogle Scholar