#### Abstract

The purpose of the nonparametric statistical test used in this study is to compare different treatment options by looking at failure behavior in recorded survival data. Patients’ survival times are documented after using the proposed approach. The observed data’s behavior was assumed to be based on used better than aged in the moment generating function order (UBA_{mgf}) characteristic or a constant failure rate in this study (exponential scenario). Suppose that the survival data is UBA_{mgf}, then the treatment or the machine or system in use produces a better or a higher expected total present value than an older machine governed by an exponential survival function; if the data is exponential, the suggested treatment strategy is ineffective (the recommended treatment approach has neither positive or negative effects on the patients). To guarantee that the suggested statistical test is used correctly, the efficiency and critical values are calculated and compared to those of other tests, and the technique is then applied to medical data.

#### 1. Introduction

During the past few decades, different classes of life distributions have been introduced in an attempt to model different aspects of aging which has contributed to the development of new highly efficient statistical tests. In addition, the exponential distribution is the most important member of the life distribution classes because it has significant statistical features. Now, we have a dataset that seems to be either UBA_{mgf} or exponential. To support one of the two assumptions, a statistical test is necessary, indicating which claim is right.

The most well-known classifications of life distributions are IFR, IFRA, NBU, NBUC, NBUC_{mgf}, NBUCL, NBRUL, NBRU_{mgf}, UBA, UBAC, UBAC(2), and UBA_{mgf}. Properties and applications of these aging notions can be found, Navarro and Pellerey [1], Bryson and Siddiqui [2], Barlow and Proschan [3], Abu-Youssef and Bakr [4], Mahmoud et al. [5], EL-Sagheer et al. [6], Esary et al. [7], Navarro J. [8], Cao and Wang [9], Fernandez-Ponce et al. [10], Ali [11], Hassan and Said [12], Ahmad [13], Qureshi et al. [14], Yusuf and Qureshi [15], and Abu Youssef et al. [16, 17] investigated the moment generating function for UBA (UBA_{mgf}).

The following are the consequences of the most popular classes of life distributions, which include the most of well-known classes like IFR, UBA, UBAC, and UBA_{mgf}:

The modeling of lifetime data is used in many applications in reliability theory and biostatistics. The time until some event occurs is the outcome of interest in these applications.

The survivor function is defined as:

has the used better than aged (UBA) property (see Ahmad [13]) if,

*Definition 1. * has the moment generating function order of used better than aged (UBA_{mgf}) if,
for more details, see Abu Youssef et al. [16].

The primary purpose of this study is to look at how to compare is exponential to is the largest life distribution UBA_{mgf}. The following is the content of the manuscript: using the Laplace transform approach, we give a test statistic for both complete and censored data; for popular alternatives, the Pitman asymptotic efficiency is determined, and selected critical values are listed in Section 2. Finally, in Section 3, we look at several medical science applications to show how important the proposed test is.

#### 2. The Statistic Tests

Assume are random samples from . Here, we create a test statistic to test if is exponential, against is UBA_{mgf}. Nonparametric testing for classes of life distributions has been considered by many authors (see Abu-Youssef et al. [16, 18] and Mahmoud et al. [19].

##### 2.1. Complete Data

Using the Laplace approach, the measure of departure (the Laplace methodology is a good generalization of the Goodness of fit technique ) can be expressed as:

Note that under and under .

The test statistic of the proposed UBA_{mgf} class test is given by the following theorem. Assumed that is the moment generating function exists and finite.

Theorem 2. *Let be the UBA _{mgf} random variable with distribution function ; then, based on (4), we have
*

*where.*

*Proof. *Starting from (4), we have
where
Hence, substituting from (7), (8), to (6), the proof is completed.

Without loss of generality, we assume is known and equal to one. The empirical estimator of the statistic in (5) can be derived as

and the corresponding invariant test statistic can be obtained as

The asymptotic normality of the statistic demonstrated in (5) is presented in the following theorem.

Theorem 3. Using -statistics theory (see Lee [20]). *The statistic has the features listed below:**As is asymptotically normal with and where
**The variance at is given by:
*

*Proof. *As , then mean can be derived by direct calculations, we get
and the variance

##### 2.2. Relative Efficiency

To evaluate the performance of the recommended test technique, we can relate our test to another well-known classes. We employ the test proposed by El-Arishy et al. [21] for the (RNBU_{mgf}) class and the test proposed by Abu-Youssef et al. [16] for the (UBA_{mgf}) life distribution. Pitman’s relative efficiency asymptotic PARE comparisons are then made using two suggestions in this case:

Linear failure rate family (LFR)

Weibull family:

Note that is attained at in (i) and in (ii). The Pitman’s asymptotic efficiency (PAE) of is equal to where This leads to: (i)PAE in case of the linear failure rate distribution:(ii)PAE in case of the Weibull distribution:

Direct calculations of PAE of , , and our and are provided in Table 1. The table of efficiencies demonstrates that our statistic test performs well for

In Table 2, we give PAREs of and with respect to and whose PAE are mentioned in Table 1.

It is clear from Table 2 that the statistic and perform well for , and it is better than both and for all cases mentioned above.

##### 2.3. Monte Carlo Critical Values

For some selected values and based on 10000 simulated and sample sizes , we calculate the 90%, 95%, and 99% percentage points of the test statistic of our test in Table 3.

The asymptotic normality of our test improves as the critical values decrease and the sample size increases (see Figure 1).

##### 2.4. Right Censored Data

One of the most significant developments is due to a unique property of survival data in the life sciences: the data becomes incorrect when certain study participants have not experienced the event of interest at the conclusion of the research or at the time of analysis. Some patients may still be alive or disease-free at the end of the experiment. The subjects’ survival time is unknown. This is referred to as censored observations or censored times when individuals are lost to follow-up following a research period.

Using data that has been randomly right censored, the following test statistic is provided to compare and . Let us write the test statistic such as:

We can tabulate the upper percentile points for in the same way as before Table 4.

The asymptotic normality of our test improves as the critical values decrease and the sample size increases (see Figure 2).

**(a)**

**(b)**

#### 3. Applications

To demonstrate the utility of the conclusions in this study, we apply them to certain real-world datasets.

*Example 1. *Take a look at the findings of Table 5 Mahmoud et al.; see [19]. The year-ordered values are as follows.

We calculate the statistic and , and both values are greater than the critical value of Table 3 in the two cases of and as . As a result, we deduce that this dataset is UBA_{mgf} rather than exponential.

*Example 2. *The following datasets correspond to 101 patients with advanced acute myelogenous leukemia who were registered with the International Bone Marrow Transplant Registry (Gaitany and Awadhi [22]). 50 of these patients got an allogeneic bone marrow transplant, which rebuilt their immune systems using a pure HLA (histocompatibility leukocyte antigen) class that was similar to the siblings. After receiving significant doses of chemotherapy, 51 patients got an autologous bone marrow transplant, in which their marrow was reinjected to restore a destroyed immune system.

For the 50 allogeneic transplant patients (censored observations), the following are the results of leukemia free-survival times (in months) (see Table 6).

We calculate the statistic , which is greater than the critical value in Table 4. As a result, we infer that this set of data seems to have the UBA_{mgf} characteristic property rather than the exponential. As a response, the treatment strategy chosen is significant.

For the other 51 autologous transplant patients (censored observations), the following are the results of leukemia free-survival times (in months) (see Table 7).

We calculate the statistic , which is greater than the critical value in Table 4. As a response, we infer that this set of data seems to have the UBA_{mgf} characteristic property and not exponential.

According to the presented test, the two treatments given to 101 patients have a positive influence (IFR) on their survival lifetime, and so, the results extrapolated from the appropriate sample size can be applied to all patients with advanced acute myelogenous leukemia. However, in this scenario, the proposed test cannot evaluate two distinct treatments because the test results in both cases yielded the same conclusion or choice, with no priority given to selecting the most effective treatment.

*Example 3. *In this application, we use the data from Hassan [23] which reflect the ages (in days) of 51 liver cancer patients from the Elminia Cancer Center Ministry of Health Egypt (see Table 8), who entered the medical examination in the year 2000. In the investigation, only 39 patients are seen (right-censored), while the remaining 11 individuals are dropped (missing from the investigation).

Applying the statistic in (14), we calculate and which both are greater than the critical value of Table 4 in the two cases of and . Then, we conclude that this dataset have UBA_{mgf} property and not exponential. As a result, the treatment strategy chosen is significant.

*Example 4. *By analyzing the data reported by Abbas et al. [24], which shows the survival times in weeks of 61 individuals with inoperable lung cancer who were cured with cyclophosphamide, the patients whose therapy was terminated due to a devolving state are represented by 33 uncensored observations and 28 censored observations (see Table 9).

Applying the statistic in (14), we calculate and which both are greater than the critical value of Table 4 in the two cases of and . Then, we conclude that this dataset have UBA_{mgf} property and not exponential.

#### 4. Conclusion

In this paper, a statistical test technique has been developed to aid in the quality evaluation of potential treatments for certain cancers. The results of our tests revealed whether the planned treatments had a positive or negative impact on the patients’ survival periods. To ensure that the suggested statistical test produces good findings, its efficiency was computed and compared to existing tests. The proposed test can be used to evaluate the efficacy of any treatment approach in any sector of medical research, independent of the type of the treatment method being used. However, as seen in the second application, this test is not advised for comparing two different treatment strategies. But, it is suggested that new nonparametric statistical tests with high efficiency be developed and used to examine the various proposed treatments. It is also suggested that a statistical approach be developed to compare two or more different treatments that cure the same ailment. In addition, the percentage points of the proposed statistics are simulated. The efficacies of our developed tests are compared to El-Arishy et al. [17] and Abu-Youssef et al. [14] based on Pitman asymptotic relative efficiency using some well-known life distributions, namely, linear failure rate family (LFR) and Weibull family. Finally, the findings of the paper are applied to some medical real datasets.

#### Notations

IFR: | Increasing failure rate |

IFRA: | Increasing failure rate average |

NBU: | New better than used |

NB(W)UC: | New better (worse) than used in a convex ordering |

NBRUL: | New better than renewal used in Laplace transform ordering |

NBRU_{mgf}: | New better than renewal used in moment generating function |

NBU_{mgf}: | New better than used in moment generating function |

NBUCL: | New better (worse) than used in a convex Laplace ordering |

UBA: | Used better than age |

UBAC: | Used better than age in convex order |

UBAC (2): | Used better than age in concave order |

UBAL: | Used better than age in Laplace transform |

UBA_{mgf}: | Used better than age in moment generating function |

RNBU_{mgf}: | Renewal new better than used in moment generating function. |

#### Data Availability

The data was mentioned along the paper.

#### Conflicts of Interest

The authors declare there is no conflict of interest.

#### Acknowledgments

This project is supported by the researchers supporting project number (RSP-2021/156), King Saud University, Riyadh, Saudi Arabia.