Statistics & Operations Research Transactions SORT 37 (1) January-June 2013, 3-18 Statistics & Operations Research Transactions c Institut d’Estad´ ıstica de Catalunya [email protected] ISSN: 1696-2281 eISSN: 2013-8830 www.idescat.cat/sort/ Improved entropy based test of uniformity using ranked set samples M. Mahdizadeh and N. R. Arghami∗ Abstract Ranked set sampling (RSS) is known to be superior to the traditional simple random sampling (SRS) in the sense that it often leads to more efficient inference procedures. Basic version of RSS has been extensively modified to come up with schemes resulting in more accurate estimators of the population attributes. Multistage ranked set sampling (MSRSS) is such a variation surpassing RSS. Entropy has been instrumental in constructing criteria for fitting of parametric models to the data. The goal of this article is to develop tests of uniformity based on sample entropy under RSS and MSRSS designs. A Monte Carlo simulation study is carried out to compare the power of the proposed tests under several alternative distributions with the ordinary test based on SRS. The results report that the new entropy tests have higher power than the original one for nearly all sample sizes and under alternatives considered. MSC: 62G30; 62F03 Keywords: Information theory, ranked set sampling, test of fit. 1. Introduction When the sampling units are difficult to measure but are reasonably simple and cheap to order according to the variable of interest, ranked set sampling (RSS) serves as an appealing alternative to the usual simple random sampling (SRS). Examples of this setup can be found in areas such as agriculture, environment and ecology. The RSS design works by ranking randomly drawn sampling units and quantifying a selected subset of them. McIntyre (1952) introduced this sampling technique while studying the yield of pasture in Australia. He suggested that a fairly accurate ordering of a set of adjacent plots by yield can be made using visual perception, although measuring the *Department of Statistics, School of Mathematical Sciences, Ferdowsi University of Mashhad, P.O. Box 91775- 1159, Mashhad, Iran. Corresponding author E-mail address:
[email protected] Received: June 2010 Accepted: December 2010
4Improved entropy based test of uniformity using ranked set samples yield of each plot is expensive. As a similar situation, consider the following example mentioned by Gulati (2004). Suppose it is of interest to count the number of specific bacterial cells per unit volume in a cell suspension. A set of test tubes, containing the cell suspension, can be ordered by concentration using an optical device without actual measurement on them. The RSS method can be elucidated as follows. 1. Draw krandom samples, each of size k, from the target population. 2. Apply judgement ordering, by any cheap method, on the elements of the ith (i=1,...,k) sample and identify the ith smallest unit. 3. Actually measure the kidentified units in step 2. 4. Repeat steps 1-3, htimes (cycles), if necessary, to obtain a ranked set sample of size n=hk. The set of measured observations makes up a ranked set sample of size ndenoted by {X[i]j:i=1,...,k;j=1,...,h}, where X[i]jis the ith judgement order statistic from the jth cycle. To have better understanding of difference between the ranked set sample and simple ranked set sample of the same size, we consider the case of single cycle (h=1) and perfect judgement ranking. In this case, the ranked set sample observations are also the respective order statistics. Let X1,...,Xkbe a simple random sample of size kfrom a continuous population with probability density function (PDF) f(x)and cumulative distribution function (CDF) F(x), and let X[1],...,X[k]denote a ranked set sample of size kobtained as described above. In the SRS case, the kobservations are independent and each of them represents a typical value from the population. Letting X(1)≤... ≤X(k)be the order statistics associated with these SRS observations, we note that they are dependent random variables with joint PDF given by gSRS(x(1),...,x(k)) = k! k ∏ i=1 f(x(i)). In the RSS settings, additional information and structure is provided by through the judgement ranking process. The kmeasurements X[1],...,X[k]are also order statistics but in this case they are independent observations and each of them provides information about a different aspect of the population. The joint PDF for X[1],...,X[k]is given by gRSS(x[1],...,x[k]) = k ∏ i=1 fi(x[i]), where fi(.)is the PDF for the ith order statistic of a simple random sample of size k from the target population. It is this extra structure provided by judgement ranking and
M. Mahdizadeh and N. R. Arghami 5 the independence of the resulting order statistics that enables RSS-based procedures to be more efficient than their RSS competitors with the same number of quantified units. A detailed discussion on the theory and applications of RSS can be found in the recent book by Chen et al. (2004). Consider estimating the population mean under the aforesaid designs. Let ¯ XSRS = ∑k i=1Xi/kand ¯ XRSS =∑k i=1X[i]/kbe the SRS and RSS sample mean, respectively. Hence, we have E(¯ XRSS) = 1 k k ∑ i=1nZ∞ −∞ kxk−1 i−1[F(x)]i−1[1−F(x)]k−if(x)dxo =Z∞ −∞ x f (x)nk ∑ i=1k−1 i−1[F(x)]i−1[1−F(x)]k−iodx.(1) Since the summation in equation (1) is just the sum over entire sample space of the probabilities for a binomial random variable with parameters k−1 and F(x), it follows that E(¯ XRSS) = Z∞ −∞ x f (x)dx =µ. Letting µ[i]=E(X[i]), for i=1,...,k, we note that E(X[i]−µ)2=E(X[i]−µ[i]+µ[i]−µ)2=E(X[i]−µ[i])2+(µ[i]−µ)2, since the cross-product terms are zero. So Var(¯ XRSS) = 1 k2 k ∑ i=1 E(X[i]−µ)2− k ∑ i=1 (µ[i]−µ)2.(2) Now, proceeding as we did with E(¯ XRSS), we see that k ∑ i=1 E(X[i]−µ)2= k ∑ i=1Z∞ −∞ k(x−µ)2k−1 i−1[F(x)]i−1[1−F(x)]k−if(x)dx =kZ∞ −∞ (x−µ)2f(x)nk ∑ i=1k−1 i−1[F(x)]i−1[1−F(x)]k−iodx. Once again, using the binomial expansion, the interior sum is equal to 1 and we obtain k ∑ i=1 E(X[i]−µ)2=kZ∞ −∞(x−µ)2f(x)dx =kσ2.(3)
6Improved entropy based test of uniformity using ranked set samples Combining equations (2) and (3) yields Var(¯ XRSS) = σ2 k−1 k2 k ∑ i=1 (µ[i]−µ)2≤Var(¯ XSRS). Al-Saleh and Al-kadiri (2000) extended the usual concept of RSS to to double ranked set sampling (DRSS) with the aim of constructing improved estimators of the population as compared with those associated with RSS and SRS. Subsequently, Al-Saleh and Al- Omari (2002) introduced multistage ranked set sampling (MSRSS), as a generalization of DRSS, and showed that estimators based on MSRSS dominate those obtained by DRSS. The MSRSS scheme can be summarized as follows. 1. Randomly identify kr+1units from the population of interest, where ris the number of stages. 2. Allot the kr+1units randomly into kr−1sets of k2units each. 3. For each set in step 2, apply 1-2 of RSS procedure explained above, to get a (judgement) ranked set of size k. This step gives kr−1(judgement) ranked sets, each of size k. 4. Without actual measuring of the ranked sets, apply step 3 on the kr−1ranked set to gain kr−2second stage (judgement) ranked sets, of size keach. 5. Repeat step 3, without any actual measurement, until an rth stage (judgement) ranked set of size kis acquired. 6. Actually measure the kidentified units in step 5. 7. Repeat steps 1-6, htimes, if necessary, to obtain an rth stage ranked set sample of size n=hk. In analogy with the previous notation, the rth stage ranked set sample will be denoted by {X(r) [i]j:i=1,...,k;j=1,...,h}. Two special cases of r=1 and r=2 in MSRSS coincide with RSS and DRSS, respectively. Goodness-of-fit tests are used to decide whether an observed sample can be considered as a set of independent realization from a given CDF F0. More precisely, they are used to test the hypothesis H0:F=F0, with Fbeing the true CDF of the observations. For a review of goodness-of-fit tests based on SRS refer to the book by D’Agostino and Stephens (1986). Testing hypotheses on the parameters of classical distributions using ranked set samples have been developed in a large number of papers. However, this is not true in the case of test of fit, and a limited number of works are available on this topic. Stokes and Sager (1988) exploited RSS in estimating CDF. They proposed RSS analogue of Kolmogorov-Smirnov (KS) test and derived the null distribution of the test statistic. Some distributions like normal, exponential and uniform have received much attention in the literature because of their tractable mathematical form. This is true in the
M. Mahdizadeh and N. R. Arghami 7 case of RSS and its variations. For example, estimation of parameters and quantiles of uniform distribution using generalized ranked-set sampling have been investigated (e.g., Adatia, 2003; Adatia and Ehsanes Saleh, 2004). In practical situations, however, the distributional form of the population is rarely known. Thus, application of these customized inferential methods is dependent on the availability of appropriate testing procedures for the assumptions of uniformity. Given a sample size, relative precision (RP) of the RSS estimator of the population mean with respect to its SRS counterpart (defined as the variance of the SRS mean divided by the variance of the RSS mean) differs according to the underlying distribution of the data, and is bounded above by (k+1)/2 for continuous distributions (1 <RP <(k+1)/2) (where kis the set size with which the ranked set sample is collected), with the upper bound achieved only for the uniform distribution. We may be interested to know whether the RSS has the highest efficiency over SRS in estimating the population mean in a specific situation. This could be another reason for developing uniformity test based on RSS. As an information-theoretic measure of uncertainty, Shannon (1948) proposed entropy of a distribution, and proved that the entropy of normal distribution exceeds that of any other distribution with a density having the same variance. Vasicek (1976) used this property to introduce a test of the composite hypothesis of normality, and impressed development of tests of fit for other distributions. Such entropy-based tests of fit are available for some other distributions. See Dudewicz and van der Meulen (1981), Gokhale (1983), Grzegorzewski and Wieczorkowski (1999), and Mudholkar and Tian (2002). In this paper, we tackle the problem of testing uniformity, with an entropy-based approach, when the researcher obtains data using RSS and MSRSS. Similar procedures for the inverse Gaussian law was suggested by Mahdizadeh and Arghami (2010). The paper proceeds as follows. In Section 2, some basic notions from information theory are reviewed, entropy based tests of uniformity based on RSS and MSRSS are suggested, and critical values of the respective test statistics are provided for some sample sizes. Power properties of the new tests are assessed by means of simulations whose results are reported in Section 3. A summary completes the paper in Section 4. 2. The tests Entropy of a distribution F(x)with density function f(x)is defined as H(f) = −Z∞ −∞ f(x)log f(x)dx.(4) Vasicek (1976) presented a nonparametric entropy estimator for H(f)based on spacings of sample order statistics. The estimator called sample entropy is given by
8Improved entropy based test of uniformity using ranked set samples Vm,n(fX) = 1 n n ∑ i=1 logn 2m(X(i+m)−X(i−m)),(5) where X(1),...,X(n)are the ordered values of a random sample of size nfrom F, X(j)=X(1), if j<1, X(j)=X(n), if j>nand the window size mis a positive integer such that m≤n/2. This estimator is derived by expressing (4) in the form H(f) = Z1 0 logd du F−1(u)du, replacing the distribution Fby the empirical distribution function, and using a difference operator instead of the differential operator. Since entropy estimator (5) is based on spacings, one would need ordered values of the ranked set sample to estimate entropy in RSS. Imitating the SRS case, we first pool the units in all cycles and then form the estimator based on the ordered pooled sample. The MSRSS analogue of Vm,n(fX)turns out to be V(r) m,n(fX) = 1 n n ∑ i=1 logn 2m(X(r) (i+m)−X(r) (i−m)), where X(r) (a)is the ath (a=1,...,n)order statistic of the rth stage ranked set sample. From now on, the estimator (5) will be denoted by V(0) m,n(fX). A simulation study was undertaken to compare the proposed estimators of entropy when the uniform U(0,1) is the underlying distribution. Table 1 displays simulated biases and root mean square errors (RMSEs) of V(r) m,nfor r=0,1,2 based on 10,000 samples with n=10,20,30, and k=10 in MSRSS design (this setup is retained throughout the paper). It is seen that MSRSS improves entropy estimation with respect to SRS for given mand n. Besides, as the stage number increases, the absolute bias, and RMSE of the corresponding estimator diminishes. Consider a random sample X1,...,Xnfrom a population having a density function fwith the support (0,1) and suppose it is of interest to verify H0:X∼U(0,1)versus H1:∼H0. It is well-known that for an fconcentrated on (0,1) we have H(f)≤0, and the maximum value of H(f)is uniquely attained by the U(0,1) density (see Ash, 1965). Based on this result, Dudewicz and van der Meulen (1981) developed a test of H0. Their test procedure is alternatively defined by the critical region Tm,n(fX) = expVm,n(fX)≤T∗ m,n,α(fX), where T∗ m,n,α(fX)is the 100αpercentile of the null distribution of Tm,n(fX). It can be shown, using convexity and Jensen’s inequality, that Vm,n(fX)≤0 for all fon (0,1).
M. Mahdizadeh and N. R. Arghami 9 Table 1: Simulated biases and RMSEs of V(r) m,n(f)(r =0,1,2) for the U(0,1) distribution with H(f) = 0. SRS RSS DRSS n m Bias RMSE Bias RMSE Bias RMSE 10 1 −0.5192 0.5709 −0.4007 0.4469 −0.3262 0.3692 2−0.4112 0.4478 −0.3085 0.3348 −0.2598 0.2778 3−0.4223 0.4532 −0.3272 0.3430 −0.2968 0.3067 4−0.4580 0.4866 −0.3715 0.3831 −0.3477 0.3541 5−0.5026 0.5282 −0.4256 0.4360 −0.4043 0.4101 20 1 −0.3955 0.4193 −0.3420 0.3646 −0.3088 0.3299 2−0.2718 0.2903 −0.2194 0.2351 −0.1894 0.2027 3−0.2547 0.2712 −0.2048 0.2160 −0.1826 0.1919 4−0.2609 0.2751 −0.2153 0.2242 −0.1987 0.2054 5−0.2783 0.2908 −0.2349 0.2420 −0.2212 0.2262 6−0.2972 0.3080 −0.2592 0.2650 −0.2478 0.2518 7−0.3230 0.3336 −0.2859 0.2908 −0.2755 0.2787 8−0.3468 0.3567 −0.3141 0.3184 −0.3041 0.3068 9−0.3772 0.3871 −0.3425 0.3468 −0.3344 0.3370 10 −0.4041 0.4133 −0.3708 0.3747 −0.3637 0.3661 30 1 −0.3539 0.3697 −0.3210 0.3360 −0.2978 0.3118 2−0.2247 0.2373 −0.1917 0.2024 −0.1698 0.1795 3−0.1980 0.2089 −0.1642 0.1725 −0.1464 0.1538 4−0.1954 0.2049 −0.1639 0.1708 −0.1484 0.1542 5−0.2016 0.2101 −0.1719 0.1776 −0.1605 0.1651 6−0.2136 0.2211 −0.1850 0.1899 −0.1749 0.1788 7−0.2273 0.2342 −0.2000 0.2041 −0.1922 0.1954 8−0.2441 0.2509 −0.2179 0.2214 −0.2104 0.2131 9−0.2596 0.2655 −0.2354 0.2385 −0.2286 0.2308 10 −0.2769 0.2826 −0.2543 0.2572 −0.2482 0.2501 11 −0.2948 0.3003 −0.2736 0.2762 −0.2681 0.2698 12 −0.3138 0.3191 −0.2921 0.2946 −0.2880 0.2897 13 −0.3329 0.3381 −0.3117 0.3142 −0.3070 0.3086 14 −0.3508 0.3559 −0.3323 0.3347 −0.3272 0.3287 15 −0.3702 0.3753 −0.3520 0.3544 −0.3473 0.3487 Thus, we used the exponential of the original test statistic in the above for mathematical nicety. In order to obtain the percentiles of the null distribution, Tm,n(fX)was calculated using the estimators V(r) m,n(fX)for r=0,1,2 based on 10,000 samples of size ngenerated from the U(0,1) distribution. The values were then used to determine T∗ m,n,0.1(fX)in different designs and for different sample sizes. Table 2 displays 0.1 critical points for the test statistics.
10 Improved entropy based test of uniformity using ranked set samples Table 2: 0.1 critical points for the test statistics under SRS, RSS and DRSS designs. n m SRS RSS DRSS n m SRS RSS DRSS 10 1 0.4329 0.5186 0.5730 30 1 0.6089 0.6374 0.6557 2 0.5213 0.6197 0.6765 2 0.7215 0.7575 0.7801 3 0.5267 0.6272 0.6725 3 0.7508 0.7894 0.8129 4 0.5119 0.6084 0.6458 4 0.7569 0.7982 0.8143 5 0.4881 0.5769 0.6091 5 0.7553 0.7940 0.8094 20 1 0.5576 0.6003 0.6325 6 0.7491 0.7852 0.7980 2 0.6642 0.7185 0.7518 7 0.7387 0.7748 0.7892 3 0.6871 0.7432 0.7706 8 0.7276 0.7631 0.7758 4 0.6865 0.7425 0.7667 9 0.7153 0.7506 0.7624 5 0.6783 0.7317 0.7532 10 0.7039 0.7380 0.7485 6 0.6645 0.7178 0.7365 11 0.6914 0.7235 0.7346 7 0.6490 0.7005 0.7173 12 0.6767 0.7098 0.7211 8 0.6324 0.6811 0.6980 13 0.6640 0.6955 0.7071 9 0.6141 0.6613 0.6768 14 0.6501 0.6816 0.6912 10 0.5968 0.6416 0.6574 15 0.6379 0.6671 0.6758 The test statistics use the entropy estimators and there is no criteria to select the optimal window size associated with a given sample size in order to calculate these estimators. As a guide mentioned by some authors, the window size producing the largest critical value for a given nis apt to yield the highest power. In this sense, the optimal window size, denoted by m∗, at the significance level 0.1 for sample sizes 10, 20 and 30 are approximately 3, 3 and 4, respectively. Figure 1 shows a comparison of Figure 1: This figures compares the CDF of null distribution of T3,10 under SRS, RSS and DRSS designs.
M. Mahdizadeh and N. R. Arghami 11 CDF of the test statistics in differen designs. It is observed that the null distribution of T3,10 under SRS (RSS) is stochastically smaller than that under RSS (DRSS) (a similar trend is observed for sample sizes n=20,30). Thus, we expect the entropy test based on RSS (DRSS) to be more powerful than that based on SRS (RSS). 3. Simulation results A Monte Carlo simulation experiment is carried out to compare power of the entropy tests. We considered three classes of alternatives presented by Stephens (1974) which have been used by many authors. These alternatives specified by their distribution functions are A(k):F(z) = 1−(1−z)k0≤z≤1(k=1.5,1.75,2), B(k):F(z) = 2k−1zk 1−2k−1(1−z)k 0≤z≤0.5 0.5≤z≤1(k=1.5,1.75), and C(k):F(z) = 0.5−2k−1(0.5−z)k 0.5+2k−1(z−0.5)k 0≤z≤0.5 0.5≤z≤1(k=2,2.5). As compared with uniform, the first and second family give points closer to 0 and 0.5, respectively. And the third family gives points clustered at 0 and 1. We also considered Beta(2,2) as a symmetric distribution. Under each design, 10,000 samples of sizes n=10,20,30 were generated from each alternative distribution and the power of the tests were estimated by proportion of the samples falling into the corresponding critical region. Tables 3–6 exhibit the estimated power of the tests. The results manifest that given a sample size, the entropy tests based on RSS and DRSS are more powerful than that based on SRS irrespective of the alternative distribution. Moreover, improved tests are obtained by increasing the sampling effort. That is DRSS has the best performance among three considered designs as is the case of entropy estimation. This could be traced to the fact that the test statistic in each design is constructed based on the corresponding entropy estimator. It is notable that RSS and DRSS do not have much to offer when power of SRS design is less than 0.1. We observe that for n=10, the value m=4 is best (in the sense that it yields the highest power) for the tests under most alternatives except C (for which m=1 is best). For n=20, best mfor alternatives A, B and C are respectively 7, 10 and 2, while for n=30 these are 10, 15 and 3. Given a sample size, best mis different according to the alternative
18 Improved entropy based test of uniformity using ranked set samples Dudewicz, E. J. and van der Meulen, E. C. (1981). Entropy-based tests of uniformity. Journal of the American Statistical Association, 76, 967–974. Ebrahimi, N., Pflughoeft, K. and Soofi, E. S. (1994). Two measures of sample entropy. Statistics & Probability Letters, 20, 225–234. Gokhale, D. V. (1983). On the entropy-based goodness-of-fit tests. Computational Statistics and Data Analysis, 1, 157–165. Grzegorzewski, P. and Wieczorkowski, R. (1999). Entropy based goodness-of-fit test for exponentiality. Communications in Statistics–Theory and Methods, 28, 1183–1202. Gulati, S. (2004). Smooth non-parametric estimation of the distribution function from balanced ranked set samples. Environmetrics, 15, 529–539. Mahdizadeh, M. and Arghami, N. R. (2010). Efficiency of ranked set sampling in entropy estimation and goodness-of-fit testing for the inverse Gaussian law. Journal of Statistical Computation and Simulation, 80, 761–774. McIntyre, G. A. (1952). A method of unbiased selective sampling using ranked sets. Australian Journal of Agricultural Research, 3, 385–390. Mudholkar, G. S. and Tian, L. (2002). An entropy characterization of the inverse Gaussian distribution and related goodness-of-fit test. Journal of Statistical Planning and Inference, 102, 211–221. Novi Inverardi, P. L. (2003). MSE comparison of some different estimators of entropy. Communications in Statistics–Simulation and Computation, 32, 17–30. Stokes, S. L. and Sager, T.W. (1988). Characterization of a ranked-set sample with application to estimating distribution function. Journal of the American Statistical Association, 83, 374–381. Shannon, C. E. (1948). A mathematical theory of communications. Bell System Technical Journal, 27, 379– 423, 623–656. Stephens, M. A. (1974). EDF statistics for goodness of fit and some comparisons. Journal of the American Statistical Association, 69, 730–737. Vasicek, O. (1976). A test of normality based on sample entropy. Journal of the Royal Statistical Society: Series B, 38, 54–59.