#### Abstract

The topic of estimating the parameters of Gompertz distribution using an adaptive Type-II progressively censored data are described in this paper. The unknown parameters, the reliability, and the hazard functions are estimated using maximum likelihood and Bayesian estimation methods. The approximate confidence intervals of them are then determined. Furthermore, the Markov chain Monte Carlo approach is used to perform a Bayesian estimate procedure and compute the credible intervals. Finally, a Monte Carlo simulation study is done to assess the performance of the two estimating methods, and a numerical example with real data is shown to demonstrate the procedures’ utility.

#### 1. Introduction

In life testing and survival analysis, there are numerous scenarios, in which units are withdrawn or lost from the experiment before it fails. The data obtained from such an experiment is referred to as censored data. The most important reason for censoring is to reduce the total length of the test, as well as the expense and labor involved with it. A censoring method that can achieve a balance between the total time spent on the experiment, the number of units used in the experiment, and the efficiency of statistical inference based on the experiment’s results is also desirable. Because of time constraints and other data gathering constraints, censoring is prevalent in life experiments.

Naturally, there are different types of censoring schemes. The most common censoring schemes are Type-I censoring, in which the life testing experiment is terminated at a specified time and in this case, the number of failures (from a sample size ) is a random variable; and Type-II censoring, in which the life testing experiment is terminated upon the th failure, and in this case, the total time of test is a random variable. One of the disadvantages of the traditional Type-I and Type-II censoring schemes is that they do not have the flexibility to allow units to be removed at times other than the experiment’s end.

As a result, we investigate a more general censoring scheme known as progressive Type-II censoring, which offers this feature. In a brief, this is how it works: consider a reliability experiment, in which units are tested throughout a lifetime experiment. units of the surviving units are randomly eliminated from the experiment when the first failure occurs. Similarly, units of the surviving units are randomly removed from the experiment when the second failure occurs. The test continues until the th failure occurs and at that time the remaining units are removed. Prior to the study, the values are set. The progressive Type-II censoring sample is defined as the th order observed failure times denoted by . The censoring scheme in the notation of the ’s be suppressed for convenience. We also use the notation to represent the observed values of a progressively Type-II censored sample.

The adaptive Type-II progressive censoring, abbreviated by (AT2PC), is a mixture of Type-I censoring and Type-II progressive censoring systems (cf. Ng and Chan [1]). In this censoring scheme, we allow to depend on the failure times. As a result, the effective sample size is always , and it is known in advance. The following are some of the benefits of a well-designed AT2PC life testing experiment: (i) reduce the total test time; (ii) reduce the costs associated with unit failure; and (iii) improve the statistical analysis efficiency.

The following is a description of the censoring scheme: consider identical units in a life testing experiment, and presume the experimenter selected an ideal aggregate test time , while the experiment may run throughout time . The experiment stops at time if the progressively censored failure happens before time (i.e., ). Otherwise, the experiment will be rapidly ended if the experimental time has passed but the number of observed failures has not surpassed (i.e., ). As a result, we attempt to include as many items as possible on the test. The number of failures observed before to time is denoted by . Hence, we havewhere and . After the experiment elapsed the time , we set

Use this formula to finish the experiment rapidly if the failure time is more than for . It is worth noting that the value of influences the values of , as well as providing a compromise between a shorter experimental time and a larger chance of observing outlier failures. The usual progressive Type-II censoring scheme with the prefixed progressive censoring scheme is produced when . The schematic representation of the adaptive Type-II progressive censoring scheme is shown in Figure 1. Cramer and Iliopoulos [2], Mahmoud et al. [3], Balakrishnan and Cramer [4], Ye et al. [5], El-Sayed et al. [6], Mohie El-Din et al. [7], Almetwally et al. [8], Almetwally et al. [9], Nassr et al. [10], Mohan and Chacko [11], Almongy et al. [12], Haj Ahmad et al. [13], Dutta and Kayal [14, 15], and Abo-Kasem et al. [16] provide comprehensive reviews of the literature on the adaptive Type-II progressive censoring scheme.

**(a)**

**(b)**

The Gompertz distribution, which is used as a survival model in reliability and survival analysis and plays a significant role in modeling human mortality and fitting actuarial tables, is the underlying distribution in this work. The investigation of statistical methods and characterization of the Gompertz distribution, which was initially described by Gompertz [17], has been contributed by many researchers. The probability density function (PDF), cumulative distribution function (CDF), reliability function, and hazard rate function of the two-parameter Gompertz distribution are provided, respectively, as follows:andwhere and are the scale and shape parameters, respectively. The PDF and hazard rate function of the Gompertz distribution are represented in Figures 2 and 3, respectively, for different values of the scale parameter and shape parameter .

The Gompertz distribution is used in a variety of domains, including gerontology, computer science, biology, and marketing science, to describe human mortality and create actuarial tables. Figures 2 and 3 illustrate that the Gompertz distribution has a unimodal PDF and an increasing hazard function, respectively. The features, inferential methods, and a wide range of applications of the Gompertz distribution have been studied by a number of researchers. Willekens [18] looked at the relationships between the Gompertz distribution and other distributions, including the Type-I extreme value and Weibull distributions. Using a progressive Type-II censoring scheme, Chang and Tsai [19] calculated the maximum likelihood (ML) estimates as well as the exact confidence interval for the parameters of the Gompertz distribution. Soliman et al. [20] used progressive first-failure censoring to compute the ML and Bayesian estimates for the unknown parameters, as well as the hazard rate and reliability functions of the Gompertz distribution. For the unknown parameters, they also calculated approximate and exact confidence intervals. Based on a generalized progressively hybrid censoring scheme, Mohie El-Din et al. [21] derived ML and Bayesian estimates for the parameters of the Gompertz distribution, as well as one- and two-sample Bayesian predictions for future observations from the same population.

This is how the rest of the paper is organized. The ML estimators of the unknown parameters, as well as the associated survival and hazard functions, are derived in Section 2. The approximate confidence intervals for and , as well as the associated survival and hazard rate functions, are also provided. In Section 3, the Gibbs sampling process is utilized to generate a sample from the posterior density function, which is then used to compute Bayesian estimates and create credible intervals. A Monte Carlo simulation study is undertaken in Section 4 to assess the performance of the two estimation methods as well as the confidence intervals. In Section 5, some numerical findings utilizing a real data set are presented to demonstrate the inferential processes. Finally, in Section 6, we finish the work with some conclusions.

#### 2. Maximum Likelihood Estimation

The ML estimators of , , , and are discussed in this section. Also we calculated the approximate confidence intervals , , , and .

Let be an adaptive Type-II progressive censored sample from a continuous population with CDF and PDF along with a censoring scheme , where is prefixed and . Then, the joint density function of is given as (Ng et al. [22])where

From (3), (4), and (7), the likelihood function of and is given by the following equation:and then, the log-likelihood function may be written as follows:

The likelihood equations are constructed by differentiating (10) with regard to and and equating to zero:

Based on a progressive Type-II censored sample, Ghitany et al. [23] formulated the necessary and sufficient condition for the existence and uniqueness of the ML estimators of the parameters of the Gompertz distribution. The following theorem introduces the necessary and sufficient condition for the existence and uniqueness of the ML estimators of the parameters of the Gompertz distribution based on an adaptive progressive Type-II censored sample by substituting , , and into Theorem 1, obtained by Ghitany et al. [23].

Theorem 1. *Let be an adaptive Type-II progressive censored sample with a censoring scheme. Then, the maximum likelihood estimates and of the parameters and of the Gompertz distribution exist, and they are unique withand as the solution of the nonlinear equation,if and only if*

The ML estimators of the reliability function and hazard rate function may be produced utilizing the invariance property of the ML estimator by substituting and in (5) and (6), respectively, and given by the following equation:and

##### 2.1. Approximate Confidence Intervals

From the log-likelihood function in (10), we haveand

Taking the expectation of minus equations (18), (19), and (20) yields the Fisher information matrix . However, because the expectation is difficult to get, so under some regularity criteria, is approximately bivariately normal distributed with mean and covariance matrix : , where is the inverse of the observed Fisher information matrix given by the following equation:

Thus, the approximate confidence intervals for and are, respectively,where and are the first and second elements on the main diagonal of the covariance matrix and is the percentile of the standard normal distribution with right-tail probability .

##### 2.2. Approximate Confidence Intervals Using the Delta Method

Greene [24] proposed the delta technique as a general way for computing approximate confidence intervals for ML estimator functions. See Agresti [25] for a description of the delta approach, which takes a function that is too complex to compute the variance analytically, generates a linear approximation of it, and then computes the variance of the simpler linear function that can be utilized for large sample inference. The approximate confidence intervals for and are calculated using the delta approach in this subsection. Letwhere

Then, the approximate estimates of and are given, respectively, by the following equation:where is the transpose of the vector . So, the approximate confidence interval of and areand

#### 3. Bayesian Estimation

The Bayesian estimation of , , , and is developed in this section. As Arnold and Press [26] have highlighted, there is no mechanism for selecting adequate priors for Bayesian estimation. Under the assumption that both parameters and are unknown and have independent gamma priors, Bayesian estimation is utilized here, with PDFs provided by the following equation:respectively, where and denotes the complete gamma function. It is worth mentioning that the gamma prior’s class is flexible because these distributions may be used to model a wide range of prior information. Furthermore, by setting hyperparameters to zero, the improper priors of and may be derived as special cases of independent gamma priors. Several researchers have employed gamma priors, such as Maiti and Kayal [27] and Dey et al. [28]. The joint prior density of and is given as follows:

The joint posterior density of and is generated by using the likelihood function in (9) and the joint prior in (29), which is given by the following equation:

Therefore, the Bayesian estimator of some function of and say , with respect to the squared error loss function, will be the posterior expectation of , i.e.,

Unfortunately, in most cases, the integrals in (31) cannot be derived in explicit form. Even if this integration can be done explicitly, the corresponding credible interval may be impossible to create, and numerical approaches may fail. In this case, we propose using the Markov chain Monte Carlo (MCMC) method to approximate (31).

##### 3.1. The Metropolis–Hastings Algorithm within Gibbs Sampling

We use MCMC technique in this subsection, which approximates the generation of random variables from a posterior distribution , then computes the Bayesian estimation of , , , and , as well as the corresponding credible intervals. There are many different MCMC schemes to choose from, and it might be difficult to decide which one to use. Within Gibbs sampling, we primarily focus on a special form of the MCMC known as Metropolis-Hastings, which was developed by Metropolis et al. [29] and then extended by Hastings [30].

From (30), the posterior conditional density function of given can be obtained as follows:

Similarly, the posterior conditional density function of given can be obtained as follows:

Both and posterior density functions in equations (32) and (33) cannot be reduced analytically to well-known distributions. As a result, standard methods cannot be used to sample directly, although the plots indicate that they are similar to the normal distribution. To generate random numbers from this distribution, we use Metropolis-Hastings sampling with a normal proposal distribution. The following approach is proposed for generating and from posterior density functions and obtaining Bayesian estimates of and , as well as the corresponding credible intervals.(1)Begin with (, ) as the initial value.(2)Put .(3)Using as the proposal distribution, generate from .(4)Using as the proposal distribution, generate from .(5)Calculate and .(6)Calculate and and substitute and into (5) and (6), respectively.(7)Put (8)Steps should be repeated times.(9)Using the squared error loss function, the Bayesian estimates of and are calculated as follows: where is burn-in.(10)Using the squared error loss function, the approximate Bayesian estimates of and are obtained as follows:(11)Sort and as and , respectively. The symmetric credible intervals of and can be then calculated as follows: where and .(12)Sort and , as and , respectively. The symmetric credible intervals of and can be then calculated as follows:

#### 4. Bootstrap Confidence Interval

When the effective sample size is large, the approximate and Bayesian confidence intervals are adequate. When is small, the bootstrap resampling approach is preferable for constructing the confidence interval. The procedure for obtaining the confidence interval for , , , and using the bootstrap resampling approach is described as follows:Step 1: based on , , , and , compute and .Step 2:use and and the same values of , , , and to generate a bootstrap resample.Step 3: calculate the bootstrap estimates , , , and based the generated bootstrap sample.Step 4: repeat steps 2-3 up to times to get and as well as and .Step 5: rearrange these bootstrap estimates obtained in step 4 in ascending order as ; ; ; .Step 6: The bootstrap confidence intervals for , , and are, respectively, given by the following equations:and

#### 5. Monte Carlo Simulation Study

In this section, Monte Carlo simulation is used to compare the different estimation methods presented in the previous sections. We employed a variety of sample sizes and different sets of ’s, as shown in Table 1. We next simulated adaptive Type-II progressively censored samples from the Gompertz distribution with parameters and when using the algorithm reported by Ng et al. [23]. We computed the ML and Bayesian estimates for the two unknown parameters as well as the corresponding reliability and hazard rate function (when ) in each case. We also calculated the approximate and Bayesian and Bootstrap estimation intervals for , , , and .

We used a noninformative gamma prior (NI-Bayesian: ) and an informative gamma prior (I-Bayesian: ) to compute Bayesian estimates and credible intervals based on 11000 MCMC samples, discarding the first 1000 values as burn-in. We repeated the process 1000 times and computed the average, bias, and mean squared error (MSE) of the ML and Bayesian estimates for and , as shown in Table 2 and Figure 4, and for and , as shown in Table 3. Also, we calculated the length and the coverage probability (Cov) for the approximate and Bayesian and Bootstrap estimation intervals for and , as shown in Table 4 and Figure 5, and for and , as shown in Table 5.

#### 6. Illustrative Example

In this section, some numerical results based on real data sets are presented to demonstrate inferential procedures.

Real data set: Lyu [31] has represented 86 times between failures, as shown in Table 6.

Srivastava [32] tested the model’s validity using the data supplied by Lyu [31]. He used the Kolmogorov–Smirnov test to plot a graph of the empirical distribution function and fitted distribution function. He also discussed Q-Q plots for model validation. He has stated that the Gompertz model may well fit the data presented above. Now, we simulate an adaptive Type-II progressively censored sample from this data with , , , and . This leads to . Thus, the resulting adaptive Type-II progressive censored sample is shown in Table 7.

We assume the noninformative prior, where , because we have no prior information about the unknown parameters. In Table 8, the ML and noninformative prior Bayesian estimates for the parameters , , , and , as well as the lower and upper bounds of confidence intervals for them, using the asymptotic distributions and noninformative prior Bayesian methods are presented. The MCMC trace plots and the marginal posterior density with histograms of and are shown in Figure 6.

#### 7. Concluding Remarks

In this work, we looked at several estimating approaches using an adaptive Type-II progressive censored sample from the Gompertz distribution. For the unknown parameters, we calculated the ML and Bayesian estimators, as well as the corresponding reliability and hazard rate functions. For the unknown parameters and their corresponding reliability and hazard rate functions, we constructed approximate, Bayesian (using MCMC approach), and Bootstrap confidence intervals. Furthermore, we conducted simulation studies using a variety of sample sizes and censoring schemes to compare and evaluate the suggested estimate methods’ effectiveness. Finally, we used a numerical example based on real data to show the computations of the methods proposed in this study.

From Tables 2–5 and 8 and Figures 4–6, we can notice that(1)The results obtained using the Bayesian method are better than those obtained using the ML method.(2)The results of the Bayesian method with informative prior are better than those of the Bayesian technique with noninformative prior.(3)The Bayesian method with noninformative prior produces results that are quite close to the results using the ML method. Because the Bayesian method is computationally more expensive, it is always preferable to use the ML method rather than the Bayesian method with noninformative prior.(4)The average length of all confidence intervals and the mean squared error of all estimations decrease as the number of data increases.(5)The marginal posterior density plots and histograms are approximately symmetric around their means, and the MCMC trace plots of and converge. As a result, the unknown parameters may be estimated using the MCMC generated sample.

#### Data Availability

All data generated or analyzed during this study are included within the article.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This work was supported by researchers’ supporting project no. RSP2022R464, King Saud University, Riyadh, Saudi Arabia.