• Sonuç bulunamadı

On the consistency of a two-sample matching test

N/A
N/A
Protected

Academic year: 2021

Share "On the consistency of a two-sample matching test"

Copied!
5
0
0

Yükleniyor.... (view fulltext now)

Tam metin

(1)

Nonparametric Statistics, 1996, Vol. 7, pp. 69-73 1996 OPA (Overseas Publishers Association) Reprints available directly from the publisher Amsterdam B.V. Published in The Netherlands under Photocopying permitted by license only license by Gordon and Breach Science Publishers SA Printed in India

ON THE CONSISTENCY OF A TWO-

SAMPLE MATCHING TEST

ULKU GURLER'V* and M. M. SIDDIQU12

'Bilkent University Ankara, Turkey

2Colorado State University, Fort Collins, Colorado U S A (Receiced: M a y 25, 1995; Revised: November 28, 1995; Accepted: February 2, 1996,

Let {X,) and {Y,}, 1

<

k

<

n be the order statistics of independent random samples from continuous

distribution function F and G respectively. T o test the null hypothesis H,: G = F, known, against the alternative H, : G f F, a test S,, based on the number of matches between the two samples was suggested by Siddiqui and Giirler (1992). In this note the asymptotic distribution of S, under the null hypothesis is obtained and its consistency against a fixed alternative is shown.

A M S 1991 Subject Classification: 62G30,62G10. KEYWORDS: Matching, two sample test, consistency.

1. INTRODUCTION

Let X , and

Y,,

1 6 k < n be the order statistics of independent random samples from

continuous distributions with cdfs F and C; respectively. To test the null hypothesis

H , :G = F , known, against the alternative H , : G # F, where F is specified, Siddique and Gurler (1992) suggested a test which considers the 'matches' between the order statistics of the two samples. This test was an extension of the one investigated by Siddiqui (1982) for the one sample case. The exact and large sample expressions for the first two moments of the test statistic were provided. However, the form of its limiting distribution was left as a conjecture. In this note, the exact and large sample expressions for the r r h moment of the test statistic are provided and the conjecture about the limiting distribution is proved. Consistency of the test is then established under a fixed alternative.

For the above hypothesis, without loss of generality, assume that the distributions

F and G are concentrated on the unit interval [O,l], and that F(x) = x, 0

<

x 6 1. The test suggested by Siddique and Gurler (1982) is based on the number of matches between the order statistics X , and

Y,,

k = 1,

...,

n, from F and G respectively. The event A,, a "match" occurs if

X,

E ( & -

,,

Y,] for any k, 1

<

k

<

n with Yo = 0. The test statistic is S , =C;=,I,, where I , is the indicator of A,. Let P o and P I be the probability measures andE, and El be the expectations under H , and

H,

respect- ively. It is intuitively obvious that, for r > 1, P,(S, 2 r)

>

P,(S, 2 r). Hence, for a

(2)

70

u.

GORLER AND M. M. SIDDIQUI

form: S,

<

r,,,. Here, r,,, is the largest integer r such that P ( S ,

<

r)

<

a. The main problem is, to find P,(S,

<

r), 0

<

r

<

n.

2. THE NULL DISTRIBUTION AND MOMENTS O F S ,

An exact expression for P,(S, 2 r ) is provided below, which is of more theoretical

interest except for small n. To obtain the large sample distribution of S,, EoS,', r 2 1

are computed and it is shown that the moments of n-'I2 S, converge to the moments of a known distribution. Observe that S, counts the number of events A,, 1 ,< k

<

n,

and P(S, 2 r) is the probability that at least r of the n events will occur. Hence we have

with

p(n, r) = C P ( A , , , AkZ'.

. . ,

A,) (2)

where Z' denotes the summation over all k j such that 1

<

k ,

<

k ,

...

<

k ,

<

n. The

lemma below, which follows from integration by parts of Beta functions will be useful. The details of all the proofs in this manuscript can be found in Giirler and Siddiqui (1995):

L E M M A 1. Let z = { 0 = yo

<

y ,

<

. .

.

<

y,

<

1

j

be a purtition of [O, I]. For t i ~ y , O < m < s - 1 , dejine

Then

T H E O R E M 1. Given z = {0 = y , < y,

<

. . .

<

y,), let p(n, r Jz) refer to the probubility p(n, r ) in 2 for the purtition

z.

Then

y::(yk2 -y k , ) k 2 - k 1 . . . ( y k , - y k r - 1 ) k r - k , - l ( l - Y , ) ~ - ~ '

Proof. Considering the joint distribution of the order statistics from the uniform

distribution,

(3)

TWO-SAMPLE MATCHING TEST 7 1

The Theorem above provides the distribution of S, for a fixed partition z. The result for a uniform random partition is presented below.

THEOREM 2. Let p,(n, r) = E,p(n, r

1

z ) where

z

= ( 0 = Y,

<

Y, <

.

. .

<

Y,).

Then =

-.

(:n)-

'

2

('q

( 2 k 2

-

2 k l )

.

,

.

( 2 k r - 2kr -

,)

(2'

-

2 k r )

k2 - k1 k r - k r - , n - k , Theorem 2 and Stirling's approximation of factorials imply the following:

n (a) P,(S,>r)=

1

(-I)"-'

m = r

(:--:)

Po(nJ r)

(b) For r

<

n, lim n-'I2 po(n, r) = 1312

+

1 ) n+u: r!

The exact moments of S, are then obtained via the following lemma which is obtained by multinomial expansion of S ; = ( I , + I 2

+

. . .

+

I,)' and noting that I; = I j for any j, s

>

0.

LEMMA 2. E o S ; = ,C(r, k ) p,(k, n), where C(r, k ) =

2-

and the summation ex- tends over j,, j,,

. .

. ,

j, such that ji

>

1, i = 1,.

.

.

, k and

C!=

,ji = r.

Theorem 3 below provides the asymptotic distribution of n-'I2 S,, from which ap- proximate critical region of the test can be obtained.

THEOREM 3. For x >, 0 , limn,, Po(n-'12S, 2 x ) = e - X 2 .

Proof. Using part (b) of the above Corollary and Lemma 2 we have

where H ( x ) = 1

-

e-"'. The result now follows from observing that H ( x ) belongs to

the exponential family and is completely determined, by its moments.

3. CONSISTENCY OF THE TEST

Let 9 be a class of distribution functions which are absolutely continuous w.r.t. lebesque measure and with support on the entire interval ( 0 , l ) . Consider the null hypothesis H,: G = F = U ( 0 , l ) versus HI : G #

U

(0, I), G E

9.

We require that G E 9,

otherwise if G is singular w.r.t. F or if G has a different support than that of F, then the problem will be trivial from a statistical point of view. In fact we will see below that the worst case occurs when F and G coincide at countably infinite (but not dense) number of points in any subinterval on ( 0 , l ) .

(4)

72 ti. GURLER AND M. M. SIDDIQUI

For 0

<

y

<

1, let Q ( y ) = G - ' ( y ) = i n f { y : G ( x )

2

y } be the quantile function. Simi-

larly the quantiles of the empirical d.f. G,(x) are defined as Q,(y) = G;'(y) =

inf{ y: G,(x) 2 y j =

Y ,

if y E ( k

-

l / n , k / n ] , k = 1,.

. . ,

n. The normed sample quantile

process is defined as below, where g is the density of G:

P , ( Y ) = & ~ Q ~ Y ) ) ~ Q , ~ Y ) - Q ( Y ) I O < Y < 1 7 n = 1 , 2 , . .

.

.

( 5 )

Let

tk

= G A ' ( k / n ) = Q(k/n),p,,, = p,(k/n) and

Then we can write:

Consistency of the proposed test is established by computing the expectation of

H,(p,, n) as a function of the normed sample quantile process under H , and hence

derive the unconditional expectation of S,. The result is stated in Theorem 4, the proof of which utilizes the lemma below; whose proof is calculus based.

L E M M A 3. For a j x e d t ~ ( 0 , I ) , let S ( x ) = x t ( l

-

x ) ' - ' e.t.p{1/2(t

-

~ ) ~ / [ t ( l

-

t )

+

( t - x ) ~ ] } . Then S ( t ) = t r ( l

-

t)'-' is the unique maximum of S ( x ) in 0

<

x

<

I .

THEOREM 4. Let G E F be an arbitrary but a fixed alternative. If the Lebesque

measure o f t h e set ( t : G ( t ) # t ) is equal one, then the test based on S , is consistent for any significance level x , 0

<

ct

<

I .

Proof. From Chebychev's inequality

Therefore, a sufficient condition for the test to be consistent is that lim,_,E,

(n - 'i2S,) = 0. We have

(5)

TWO-SAMPLE MATCHING TEST

It follows from Csorgo (1983, p. 13) that pn(y)

2

p(y)

-

N ( 0 , y(1- y)) and where W

-

N ( 0 , l ) . Then, with k = nt and Qt = Q ( t ) ,

where

c ( t ) = g 2 ( ~ , ) ~ : ( i - Q ~ ) ~

+

t 2 ( i

-

q2

+

t ( i

-

t ) ( t

-

Q , ) ~

Then

limn_, n-'I2E,(n, 1

I T )

= lim E l ( n - ' i 2 S n )

n - z

-

Q t ) t - ' 1 2 ( l

-

t ) - ' I 2

= lim-

C ( t ) dt

Note that if Q, = t , the function in square brackets is one and above limit is

which is zero if the measure of ( t : Q ( t ) = t ) = { t : G ( t ) = t ) is zero. For Q ( t ) # t , first note that a ( t )

<

i ( t

-

Q,)'/t(t

-

t )

+

( t - Q,)'. Then by Lemma 3, Q,(1 - Q,)' -'ea")

<

t t ( l

-

t)'-' and by the dominated convergence theorem, the limit of the integral is

again zero.

References

1. Csorgo", M. (1983) Quanrile Processes with Statistical Applications, SIAM, Philadelphia.

2. Giirler U. and Siddiqui, M. M. (1995) : "Large Sample Behavior of a Two Sample Matching Tes", Res. Rep. IEOR 95-23, Dept. of Industrial Engineering, Bilkent University, Turkey.

3. Hajek, J. Sidak, Z. (1967) Theory of Ranked Tests, Academic Press, New York.

4. Siddiqui, M. M. (1982) The consistency of a matching test. J Statist. Plan. It$, 6, 227-233.

5. Siddiqui, M. M. and Giirler

u.

(1992):A Two Sample Matching Test, in "Order Statistics and Non- parametrics: Theory and Applications". P. KSen and I. A. Salama (Eds.).~: 237-243. Elsevier Science Publishers B.V.

Referanslar

Benzer Belgeler

Bu araþtýrmada amaç, üniversite öðrencilerinde sigara, alkol, yasadýþý madde kullanýmý, TKB ve AKB'nin cinsiyet, fakülte, sýnýf düzeyleri, kimlerle yaþadýðý ve

Ancak lezyonlar; setuksimab tedavisi sürerken topikal tedavi altında, ilk atakdan çok daha az şiddetli olarak, İV infüzyon uygulandığı dönemlerde artıp sonrasında azala-

Öğretmen Adaylarının Esnafların Sahip Oldukları Ahilik Değerleriyle İlgili Görüşleri (Kırşehir İli Örneği), International Journal Of Eurasia Social Sciences,

Halk şairi, destan anlatıcısı, ağıt toplayıcısı “Aşık Kemal&#34;, köy köy, kahve kahve, kasaba kasaba, dağ ova dolaşır, destan anlatır, ağıt toplarken bir

Ve ülkenin en göz dolduran, en c id d î tiyatrosu sayılan Darülbedayi Heyeti bunca y ıllık hizm etinin karşılığ ı ola­ rak belediye kadrosuna

Büyük zaferden sonra dört sene müddetle İzmir’de muhtelif mekteplerde musiki öğret­ menliğinde bulundum. Müteakiben Fransa’ya giderek üç sene kaldım ve

Bu rüzgârın kaynağı, Güneş’in çok sıcak olan ve bu nedenle içindeki atomların (+) elektrik yüklü protonlara ve (-) elektrik yüklü elektronlara ayrış- tığı

Georges Antaki’nin anne ve baba tarafından aileleri olan Homsy’ler, Cubbe’ler, Gaza- le’ler, Wakil’ler ve Havva’lar da kendileri için çok büyük önem