Abstract
This paper introduces and studies a new generalization of cumulative past extropy called weighted cumulative past extropy (WCPJ) for continuous random variables. We explore the following: if the WCPJs of the last order statistic are equal for two distributions, then these two distributions will be equal. We examine some properties of the WCPJ, and a number of inequalities involving bounds for WCPJ are obtained. Studies related to reliability theory are discussed. Finally, the empirical version of the WCPJ is considered, and a test statistic is proposed. The critical cutoff points of the test statistic are computed numerically. Then, the power of this test is compared to a number of alternative approaches. In some situations, its power is superior to the rest, and in some other settings, it is somewhat weaker than the others. The simulation study shows that the use of this test statistic can be satisfactory with due attention to its simple form and the rich information content behind it.
Keywords:
weighted cumulative past extropy; reliability theory; empirical extropy; goodness of fit test MSC:
62B10; 62N05
1. Introduction
In recent years, there has been strong interest in the measurement of the uncertainty of probability distributions, which is called entropy. The probabilistic concept of entropy was developed by [1]. For an absolutely continuous random variable X, the Shannon entropy is defined as
where means the natural logarithm, and is the probability density function (pdf) of a random variable X. Several applications of entropy in information theory, economics, communication theory, and physics are well developed in the literature, (see Cover and Thomas, [2]). Belis and Guiasu [3] and Guiasu [4] considered a weighted entropy measure as
where by assigning greater importance to larger values of X, the weight x in (1) emphasizes the occurrence of the event . Reference [5] stated the necessity of the existence of the weighted measures of uncertainty. In the Shanon entropy , only the pdf of the random variable X is regarded. Moreover, it is known that this information measure is shift-independent, in the sense that the information content of a random variable X is equal to that of . Indeed, some applied fields such as neurobiology do not tend to deal with shift-independent but shift-dependent. Further research was conducted to generalize the concept of entropy, for example, by replacing the pdf with the survival function , ref. [6] introduced the cumulative residual entropy (CRE) as
Moreover, continued generalizations recently include a more tractable measure of information, which is the dual of entropy, called extropy, introduced by [7], which has the following form:
After that, a number of researchers have worked to identify the behavior of this concept in some complex schemes. In fact, both entropy and extropy provide us the information content associated with the random variable X. As stated before, the extropy is a measure of uncertainty introduced as dual to the entropy. The most important advantage of extropy is that it is easy to compute. References [8,9,10] characterized the behavior of extropy and its generalization in record values, order statistics schemes, and mixed systems, respectively. Moreover, the extropy properties of the ranked set sampling were given in [11]. In addition to the work of [12] in which the concept of extropy was generalized to cumulative residual extropy, reference [13] investigated the properties of this term in both theoretical and applied aspects based on a version of the ranked set sampling. Moreover, Vaselabi et al., Buono and Longobardi, Kazemi et al. [14,15,16] considered varextropy, Deng extropy, and fractional Deng extropy as generalizations of extropy. Furthermore, References [17,18,19] considered dynamic weighted extropy, the extropy of past lifetime distribution, and the extropy of k-records, respectively. For the problem of estimation and inference of the extropy, one can see, for example [20,21], and so on. An alternative measure of the uncertainty of a random variable X called cumulative residual extropy (CRJ) was introduced by [12] as
As we see, this measure is a generalization of the so-called extropy of [7] in which the survival function plays the role of the pdf in (3). Since the pdf is the derivative of the cumulative distribution function (cdf), cdf is more convenient to work with. Therefore, because of its convenience, some researchers prefer to work with CRJ than extropy. In the following, the basic idea is to replace the pdf with the cdf in the extropy definition (3). The cdf is more regular than the pdf, because the pdf is computed as the derivative of the cdf. For the dual measure for a random variable X, we can define the cumulative past extropy (CPJ) as
The is suitable to measure information when uncertainty is related to the past, and the empirical version of the CPJ can be easily obtained rather than the empirical version of the extropy itself. So, one can explore the applications of the CPJ in providing inferential methods. It is reasonable to define the CPJ only for random variables with bounded support, since this measure will be equal to for all random variables with unbounded support. The rest of this paper is organized as follows. In Section 2, we introduce the weighted cumulative past extropy as well as analyzing some of its properties, and some examples are presented. Section 3 considers the WCPJ of order statistics. Furthermore, we explore that when WCPJs of the last order statistic are equal for two distributions, these two distributions will be equal. In Section 4, some bounds and inequalities are achieved. Section 5 focuses on certain connections to reliability theory. Finally, in Section 6, an empirical version of the WCPJ is provided, and a hypothesis testing problem is carried out for a goodness of fit test of the standard uniform distribution.
2. Weighted Cumulative Past Extropy
In this section, we introduce a new information measure called weighted cumulative past extropy (WCPJ). The cumulative past extropy can be generalized to weighted cumulative past extropy. The main objective of the study is to extend weighted extropy to random variables with continuous distributions.
Definition 1.
Let X be a nonnegative absolutely continuous random variable having cdf . We define the WCPJ of X by
The following equality can be used in the sequel.
As stated in the introduction, similar to the CPJ, the value of the WCPJ is for all random variables with unbounded support. So, our definition for WCPJ should be restricted to all random variables with bounded support. Let X be a nonnegative random variable with bounded support S; then, the WCPJ of X is defined as
Now, we evaluate the WCPJ of some distributions.
Example 1.
Let X have the power distribution with the cdf, , , . Then,
and
We conclude . If , then , and if , then .
Example 2.
Let X be a uniform random variable such that . Then,
and
We conclude
If , then , and if , then .
In the following, the effect of the linear transformation on the WCPJ will be studied.
Proposition 1.
Let X be a nonnegative random variable. If , , then
Theorem 1.
Let X be a nonnegative continuous random variable with bounded support S.Then, we have
- (i)
- (ii)
- where , , and .
Proof.
In the following, we express an upper bound of the WCPJ in terms of the extropy.
Theorem 2.
Let be the extropy of the random variable X and for all n; then,
where
Proof.
The proof is similar to that of Theorem 2.3 in [22]. □
Remark 1.
For a nonnegative and absolutely continuous random variable X with bounded support S, the weighted cumulative past extropy is nonpositive.
3. Some Characterization Results Based on the Order Statistics
In this section, for some characterization results, the following lemma is needed.
Lemma 1.
Let g be a continuous function with support , such that , for ; then, , for all .
In the following, we provide the WCPJ of the last and first order statistics. As before, we assume that the random variable X has bounded support S. The WCPJ of the last order statistic is
With a change in variable, , we are able to write
Moreover, by using , we have
with another change in variable, in (21), we have
Remark 2.
Let Since , the uncertainty of is more than that of X, for all n. If , then
Now, we evaluate the WCPJ of for some distributions.
Example 3.
Let X have a Power distribution with the cdf , , . Then, , , , and . In the sequel, .
Example 4.
Assume that X has a uniform distribution with support on . Then, , , , and .
Theorem 3.
Let and be random samples from nonnegative continuous cdfs and and pdfs and , respectively, with a common bounded support. Then, if and only if , for all n.
Proof.
The necessity is trivial. Therefore, it remains to prove the sufficiency part. If , for all n, then we have
By using Lemma 1, we obtain
In the following, we have , . Since , it will be concluded that , . □
Theorem 4.
Suppose that and are random samples from nonnegative continuous cdfs and and pdfs and , respectively, such that . Then, , for , if and only if
Proof.
Suppose ; that is, the WCPJ of the last order statistic for two distributions and truncated at are equal. Thus, by Theorem 3, these two truncated distributions are equal, which leads to for .
Conversely, if for , then by assumption, , and and truncated at are equal for ; that is,
The distribution of , given that , is the same as the distribution of the last order statistic obtained from a sample of size from a population whose distribution is truncated at . For more details, see [23]. By Theorem 3, we conclude that . □
4. Some Inequalities
In this section, we obtain some upper and lower bounds for the WCPJ.
Proposition 2.
Let X be a nonnegative continuous random variable with the cdf and bounded support . Then, we obtain
Corollary 1.
Let X be a continuous random variable with the cdf and support . Then,
- (i)
- (ii)
- ,where .
In the following, stochastic orders of two distributions in terms of their characteristics are considered. For more details, one can see [24]. In the sequel, we show that the ordering of the WCPJ is implied by the usual stochastic order.
Definition 2.
A random variable is said to be smaller than in the usual stochastic order, denoted by , if for all x.
Definition 3.
A random variable is said to be smaller than in the WCPJ order, denoted by , if
Proposition 3.
Let and be nonnegative and continuous random variables. If , then .
Example 5.
Let X and Y be two random variables with the cdfs and , respectively. It is seen that , and .
In the following, we find a lower bound for .
Remark 3.
Let X be a nonnegative random variable with the cdf and bounded support S. Then,
where and .
Proof.
By using the log-sum inequality, we obtain
Using and the inequality for , we obtain
By multiplying both sides of (28) by , we have
which completes the proof. □
5. Connections to Reliability Theory
In this section, the connection between the WCPJ and reliability theory will be considered. The inactivity time function is of interest in many fields such as survival analysis, actuarial studies, economics, reliability, etc. The inactivity time is thus the duration of the time occurring between the inspection time t and the failure time X, given that at time t the system was found to be down. If X is the lifetime of a system, then the inactivity time of the system is denoted by , . Let X be a nonnegative continuous random variable with the cdf , such that is finite. The mean inactivity time (MIT) function of X is defined as
This function has been used in various contexts of survival analysis and reliability theory involving characterization and stochastic orders of random lifetime. For more details, see [25,26,27,28,29,30]. In the following theorem, we prove that the WCPJ has a relation to the second moment of the inactivity time (SMIT) function.
Definition 4.
Let X be a nonnegative continuous random variable. Then, for all , we define the second moment of the inactivity time (SMIT) as
It can be easily seen that
Theorem 5.
Let X be a nonnegative continuous random variable with bounded support S, reversed hazard rate function , SMIT function, and weighted cumulative extropy . Thus,
where
Proof.
In the sequel, we have
and the proof is complete. □
Equation (32) is useful when we have some information about the SMIT or its behavior. An alternative expression to (32) can be given in terms of the hazard rate function. The hazard rate function of a random variable X with pdf and survival function is defined as .
Proposition 4.
Let X be a nonnegative continuous random variable with bounded support S, hazard rate function and a finite WCPJ. Then,
where .
Proof.
□
6. Empirical WCPJ
In this part, an estimator of the WCPJ is constructed by means of the empirical WCPJ. Suppose that is a nonnegative, continuous, independent, and identically distributed random sample from a population having the cdf . By using the plug-in method, we define the empirical weighted cumulative past extropy as
where is the empirical distribution function. Let be the ordered statistics corresponding to the underlying random sample. Then, can be rewritten in the form of the ordered statistics
In the following, we use in (34) for testing the uniformity of the random sample . Before dealing with a test statistic, we give the following nice property of uniform distribution among all distributions defined on interval . For a random variable X with the cdf F and for , let be defined as
It is trivial that for the uniform random variable X on interval with the cdf , . Suppose that for a cdf F in the class of cdfs defined on interval . This means that F and have the same measure based on , i.e., . So, one can see that
It is known that the generate the Borel -algebra of . Therefore, one can write
So, almost everywhere is obtained. is uniquely determined by the uniform distribution in the sense that for some cdfs defined on , they take a value lower than and for some of them, they take higher than and only for the standard uniform distribution, we have .
6.1. Uniform Goodness of Fit Test
Based on this last property, a test statistic can be designed for the uniform goodness of fit test. One can construct a test statistic based on in (34), which is the sampling counterpart of the WCPJ measure. For this goodness of fit test problem, we want to test whether the given random sample is supported by the standard uniform distribution. In other words, we want to test a hypothesis testing against an alternative , where is the cdf of the standard uniform distribution. A simple nonparametric test statistic is based on as mentioned before. Indeed, is our test statistic. In the next stage of our hypothesis testing, we should provide the critical region for the uniform goodness of fit test problem. The critical region is then obtained in the sense that is less than or greater than two values and , respectively, where is a prespecified type I error rate; that is, one needs to determine and , and whenever or , then the null hypothesis of having a standard uniform distribution is rejected in favor of an alternative one. Since the distribution of the is not easy to derive, then and can be estimated using the empirical quantile of the test statistic under the standard uniform distribution. For a given type I error rate and a large run number N, we generate a random sample from the standard uniform distribution and then compute the value of After that, we repeat this step for a large number of runs, i.e., . We sort these N values of Then, and can be estimated by the quantiles -th and -th of the empirical distribution of , respectively. In Table 1, we obtain the values of and , for some sizes of sample n.
Table 1.
Values of and for .
6.2. Power of the Test
In this part, the power of the proposed test statistic is compared with some others. These competing approaches are the one-sample Kolmogorov–Smirnov, [31,32]. To compute the p-values of these tests, a package called “uniftest” in R software version 4.0.5 was used. The results of the test statistics of our proposed , the Kolmogorov–Smirnov, Quesenberry and Miller, and the Frosini are symbolically shown by WCPJ, K-S, Q-M, and FRO, respectively.
To compute the power of the tests, a random sample, which assumed all possible values in the interval , was generated from the non-standard uniform distribution, such as beta or Kumaraswamy distributions, see, for example [33], whose supports varied between 0 and 1. After that, the powers were estimated empirically. We considered the following alternative distributions to compute the tests’ power:
- (1)
- Beta distribution with pdf: :
- (i)
- Beta (1.5, 1.5)
- (ii)
- Beta (0.5, 0.3)
- (iii)
- Beta (10, 1);
- (2)
- Kumaraswamy distribution with cdf: :
- (i)
- Kuma (0.5, 5)
- (ii)
- Kuma (0.5, 0.3)
- (iii)
- Kuma (10, 10);
- (3)
- Piecewise distribution function with cdf
- (i)
- Piec (2)
- (ii)
- Piec (3.5)
- (iii)
- Piec (5)
The results are depicted in Figure 1 for the different values of the sample size n as , and 50.
Figure 1.
Power comparison of the WCPJ, K-S, Q-M, and FRO test statistics: above (left): beta (1.5, 1.5), (middle): beta (0.5, 0.3), and (right): kuma (0.5, 0.3); and below (left): piec (2), (middle): piec (3.5), and (right): piec (5) distributions.
Figure 1 shows that the power of our proposed test based on the WCPJ was comparable to that of others for the beta and Kumaraswamy distributions. Even in some cases for these distributions, its power was superior to the other tests. For third alternative distribution, the power of the test based on the WCPJ was weaker than that of the rest. However, as the sample size n became larger, its power improved, and the test learned to discriminate the observations arising from the standard uniform distribution from those generated from nonuniform distributions. This test statistic can be satisfactory with due attention to its simple form and the rich information content behind it. Note that the plots for comparing the powers of the proposed test statistics are not shown in Figure 1 for beta (10, 1), kuma (0.5, 5) and kuma (10, 10), because the powers of all the tests were equal to 1.
7. Conclusions
The use of the extropy measure and its generalizations have become widespread in all scientific fields. One updated generalization of this measure is known as weighted extropy. In this paper, we introduced a new measure of uncertainty, related to cumulative extropy, named weighted cumulative past extropy (WCPJ). The properties of the WCPJ and a number of results including inequalities and various bounds to the WCPJ were considered. Studies related to reliability theory were discussed. A topic that may attract the attention of researchers is the dynamic version of the extropy in the sense that the uncertainty of the system depends on time t. Further research should investigate the uncertainty measure based on the weighted dynamic cumulative past or residual extropy. As an application of the proposed method, the empirical WCPJ was proposed to estimate this new information measure, and a test statistic was provided for the problem of the goodness of fit test of the standard uniform distribution based on the proposed WCPJ. Several applications of extropy and its generalizations, such as in information theory, economics, communication theory, and physics, can be found in the literature. Here, we cite some references. Ref. [34] studied the stock market in OECD countries based on a generalization of extropy known as negative cumulative extropy. Ref. [35] applied another version of extropy known as the Tsallis extropy to a pattern recognition problem. Ref. [16] explored an application of a generalization of extropy known as the fractional Deng extropy to a problem of classification. Ref. [36] used some extropy measures for the problem of compressive sensing.
Author Contributions
All authors contributed equally to this work. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
Maria Longobardi is a member of the research group GNAMPA of INdAM (Istituto Nazionale di Alta Matematica) and is partially supported by MIUR - PRIN 2017, project “Stochastic Models for Complex Systems”, no. 2017 JFFHSH. The present work was developed within the activities of the project 000009_ALTRI_CDA_75_2021_FRA_LINEA_B funded by “Programma per il finanziamento della ricerca di Ateneo-Linea B” of the University of Naples Federico II.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef] [Scilit]
- Cover, T.M.; Thomas, J.A. Elements of Information Theory, 2nd ed.; John Wiley & Sons Inc.: Hoboken, NY, USA, 2006. [Google Scholar]
- Belis, M.; Guiasu, S. A quantitative-qualitative measure of information in cybernetic systems. IEEE Trans. Inf. Technol. Biomed. 1968, 4, 593–594. [Google Scholar] [CrossRef] [Scilit]
- Guiasu, S. Grouping data by using the weighted entropy. J. Stat. Plann. Inference 1986, 15, 63–69. [Google Scholar] [CrossRef] [Scilit]
- Di Crescenzo, A.; Longobardi, M. On weighted residual and past entropies. Sci. Math. Jpn. 2006, 64, 255–266. [Google Scholar]
- Rao, M.; Chen, Y.; Vemuri, B.C.; Wang, F. Cumulative residual entropy: A new measure of information. IEEE Trans. Inf. Theory 2004, 50, 1220–1228. [Google Scholar] [CrossRef] [Scilit]
- Lad, F.; Sanfilippo, G.; Agrò, G. Extropy: Complementary dual of entropy. Stat. Sci. 2015, 30, 40–58. [Google Scholar] [CrossRef] [Scilit]
- Qiu, G.; Jia, K. The Residual Extropy of Order Statistics. Stat. Probab. Lett. 2018, 133, 15–22. [Google Scholar] [CrossRef] [Scilit]
- Qiu, G. The extropy of order statistics and record values. Stat. Probab. Lett. 2017, 120, 52–60. [Google Scholar] [CrossRef] [Scilit]
- Qiu, G.; Wang, L.; Wang, X. On Extropy Properties of Mixed Systems. Probab. Eng. Inf. Sci. 2019, 33, 471–486. [Google Scholar] [CrossRef] [Scilit]
- Raqab, M.Z.; Qiu, G. On extropy properties of ranked set sampling. Statistics 2019, 53, 210–226. [Google Scholar] [CrossRef] [Scilit]
- Jahanshahi, S.M.A.; Zarei, H.; Khammar, A. On Cumulative Residual Extropy. Probab. Eng. Inf. Sci. 2020, 34, 605–625. [Google Scholar] [CrossRef] [Scilit]
- Kazemi, M.R.; Tahmasebi, S.; Cali, C.; Longobardi, M. Cumulative residual extropy of minimum ranked set sampling with unequal samples. Results Appl. Math. 2021, 10, 100156. [Google Scholar] [CrossRef] [Scilit]
- Vaselabadi, N.M.; Tahmasebi, S.; Kazemi, M.R.; Buono, F. Results on Varextropy Measure of Random Variables. Entropy 2021, 23, 356. [Google Scholar] [CrossRef] [Scilit]
- Buono, F.; Longobardi, M. A dual measure of uncertainty: The Deng Extropy. Entropy 2020, 22, 582. [Google Scholar] [CrossRef] [Scilit]
- Kazemi, M.R.; Tahmasebi, S.; Buono, F.; Longobardi, M. Fractional Deng Entropy and Extropy and Some Applications. Entropy 2021, 23, 623. [Google Scholar] [CrossRef] [Scilit]
- Sathar, E.A.; Nair, R.D. On dynamic weighted extropy. J. Comput. Appl. Math. 2021, 393, 113507. [Google Scholar] [CrossRef] [Scilit]
- Kamari, O.; Buono, F. On extropy of past lifetime distribution. Ric. di Mat. 2021, 70, 505–515. [Google Scholar] [CrossRef] [Scilit]
- Sathar, E.A.; Jose, J. Past Extropy of k-Records. Stochastics Qual. Control. 2020, 35, 25–38. [Google Scholar] [CrossRef] [Scilit]
- Alizadeh Noughabi, H.; Jarrahiferiz, J. On the estimation of extropy. J. Nonparametr. Stat. 2019, 31, 88–99. [Google Scholar] [CrossRef] [Scilit]
- Al-Labadi, L.; Berry, S. Bayesian estimation of extropy and goodness of fit tests. J. Appl. Stat. 2022, 49, 357–370. [Google Scholar] [CrossRef] [Scilit]
- Hashempour, M.; Kazemi, M.R.; Tahmasebi, S. On weighted cumulative residual extropy: Characterization, estimation and testing. Statistics 2022, 56, 681–698. [Google Scholar] [CrossRef] [Scilit]
- Arnold, B.C.; Balakrishnan, N.; Nagaraja, H.N. A First Course in Order Statistics; John Wiley and Sons: New York, NY, USA, 1992. [Google Scholar]
- Shaked, M.; Shanthikumar, J.G. Stochastic Orders; Springer: New York, NY, USA, 2007. [Google Scholar]
- Li, X.; Lu, J. Stochastic comparisons on residual life and inactivity time of series and parallel systems. Probab. Eng. Inf. Sci. 2003, 17, 267–275. [Google Scholar] [CrossRef] [Scilit]
- Misra, N.; Gupta, N.; Dhariyal, I.D. Stochastic properties of residual life and inactivity time at a random time. Stoch. Model. 2008, 24, 89–102. [Google Scholar] [CrossRef] [Scilit]
- Ahmad, I.A.; Kayid, M. Characterizations of the RHR and MIT orderings and the DRHR and IMIT classes of life distributions. Probab. Eng. Inf. Sci. 2005, 19, 447–461. [Google Scholar] [CrossRef] [Scilit]
- Ahmad, I.A.; Kayid, M.; Pellery, F. Further results involving the MIT order and IMIT class. Probab. Eng. Inf. Sci. 2005, 19, 377–395. [Google Scholar] [CrossRef] [Scilit]
- Kayid, M.; Ahmad, I.A. On the mean inactivity time ordering with reliability applications. Probab. Eng. Inf. Sci. 2004, 18, 395–409. [Google Scholar] [CrossRef] [Scilit]
- Nanda, A.K.; Singh, H.; Misra, N.; Paul, P. Reliability properties of reversed residual lifetime. Commun. Stat. Theory Methods 2003, 32, 2031–2042. [Google Scholar] [CrossRef] [Scilit]
- Quesenberry, C.P.; Miller, F.L., Jr. Power studies of some tests for uniformity. J. Stat. Comput. Simul. 1977, 5, 169–191. [Google Scholar] [CrossRef] [Scilit]
- Frosini, B.V. On the Distribution and Power of a Goodness-of-Fit Statistic with Parametric and Nonparametric Applications, “Goodness-of-Fit”; Revesz, P., Sarkadi, K., Sen, P., Eds.; North-Holland: Amsterdam, The Netherlands; Oxford, UK; New York, NY, USA, 1987; pp. 133–154. [Google Scholar]
- Cordeiro, G.M.; de Castro, M. A new family of generalized distributions. J. Stat. Comput. Simul. 2009, 81, 883–898. [Google Scholar] [CrossRef] [Scilit]
- Tahmasebi, S.; Toomaj, A. On negative cumulative extropy with applications. Commun. Stat. Theory Methods 2022, 51, 5025–5047. [Google Scholar] [CrossRef] [Scilit]
- Balakrishnan, N.; Buono, F.; Longobardi, M. On Tsallis extropy with an application to pattern recognition. Stat. Probab. Lett. 2022, 180, 109241. [Google Scholar] [CrossRef] [Scilit]
- Tahmasebi, S.; Kazemi, M.R.; Keshavarz, A.; Jafari, A.A.; Buono, F. Compressive Sensing Using Extropy Measures of Ranked Set Sampling. Math. Slovaca 2022. accepted for publication. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
