• Nie Znaleziono Wyników

Sequential Tests with Power Equal to 1 for Chosen Location Parameters

N/A
N/A
Protected

Academic year: 2021

Share "Sequential Tests with Power Equal to 1 for Chosen Location Parameters"

Copied!
6
0
0

Pełen tekst

(1)

A C T A U N I V E R S I T A T I S L O D Z I E N S I S

FOLIA O E C O N O M IC A 206, 2007

Do ro ta Pekasiewicz*

SEQ U EN TIA L TESTS W IT H PO W E R EQ U A L T O 1 F O R C H O SE N LO CA TIO N PA RA M ETERS

Abstract. We often verify hypotheses about random variable distribution parameters, when the variable distribution is unknow n. In these cases we apply nonparam etric tests, in particular nonparam etric sequential tests.

T his paper presents sequential tests for the mean and median. These tests have important property - their pow er is equal to 1.

Key words: sequential test, power o f test, mean, median.

1. IN T R O D U C T IO N

There exist such situations like continuous m anufacturing process in which there is no need to take any actions as long as m anufactured elements meet particular requirements (null hypothesis). However, it is necessary to take particular action if case is opposite (when the alter­ native hypothesis is true). Such a situation m ay take place for example in clinical research concerning newly introduced medicines. As long as the new medicine does not work considerably better than the existing one, there is no reason to launch it. On the other hand, if it works con­ siderably better, then it should be proposed as soon as possible to be launched for patients’ good. A t the same time, if the new medicine is not better than the existing one, it should not be launched on the m arket. Therefore, under such circumstances we need to apply a sequential proce­ dure which:

a) would stop very rarely if the null hypothesis is true

b) would stop with probability equal to 1 as soon as possible if the alternative hypothesis is true.

(2)

The paper presents examples o f sequential tests which have such proper­ ties. In order to construct tests o f this type we apply the law of iterated logarithm .

2. SE Q U E N T IA L T E ST W ITH PO W ER E Q U A L T O 1

The verification of statistical hypotheses with the use sequential tests is usually connected with establishing the probabilities o f the errors of first and second kind, which are used to define the regions o f acceptance of the null hypothesis, the acceptance o f alternative and sampling continuation. The test’s statistic calculated at every stage of the sequential procedure leads to one o f the three decisions.

In m ost of the problems considered we have different attitude towards the null hypothesis and alternative which leads to m odifications and con­ structing classes o f tests for which only one error probability is established (e.g. for significance tests - the probability of the first kind error). If we w ant the probability of the second kind error to be close to 0, the power of such test will be equal to 1.

Let X be a random variable and 0 its param eter. Let us consider the null hypothesis

H o: O e 0 o (1)

against the alternative

H , : 0 e 0 — 0 O (2)

where 0 is a param eter space and <9n is its subset.

The above hypothesis will be verified with the test whose power function will hold the condition: M(0) = 1 for Oe& — 0 o.

F o r the tests o f this kind we define the H 0 rejection region and w hat follows the H, acceptance region (the probability o f the acceptance o f H, when its true is equal to l) as well as the sampling continuation region.

Let us we denote by T„ the test statistic, whose value will be determined from an n element simple sample. If T ne J n, where is a certain defined interval, we enlarge the sample. If T J . J n we stop the verification process, accepting H p In case when T ne J n for n-> cc we do not rejection H 0 (see: R a o 1982).

(3)

In these tests the probability of stopping the sample enlargem ent p ro­ cess after the finite num ber o f steps then the alternative is true is equal to one.

3. N O N P A R A M E T R IC SE Q U E N T IA L T E S T S FOR M E A N

Let us assume th at X is a random variable with unknow n continuous distribution. Let ц be its expectation. Let us consider the following hypot­ heses ab ou t the value of

Н0:ц = Цо (3)

(4) where is a fixed constant.

Let us assume first that variance a 2 of random variable X is known. We start sequential sampling from a /c0-element sample (k0 ^ 3). In the k-th stage o f the sampling sequential procedure verifying the form ulated hypot­ hesis we will arrive at n-element simple sample Х 1г. . . , Х п, where n = kQ + к — 1, from which we calculate the values of the statistics

T = 9 Í тп - > (5)

O \ n->" о J The set J„ is defined in the following way:

j n

= j x : I

x

I <

Jhn In n

j

for

n >

3 (6)

If T ne J n, we go on with the sampling. If T„фJ„, we reject H 0 and accept the alternative H ,. If T ne J n for big n, we accept H 0.

I f the alternative hypothesis has the form

H, ' - n > Ho (7)

then

./n= | x : x < n In In for n > 3 (8)

(4)

In the case o f verifying hypothesis about the m ean o f random variable X , when the variance is unknown, at every stage it is estimated with the value o f statistic

T he test statistic is calculated from the form ula

П-* 00 (J

4. N O N P A R A M E T R IC SE Q U E N T IA L T E S T S FO R M E D IA N

Let <£0.5 be a m edian of the distribution of continuous random variable X with unknow n distribution function F( x) i.e. F ( i 0.5) = 0-5-

Let us consider the null hypothesis o f the form

H 0: Í 0.5 = £0 0 0 )

against the alternative

H i : £ 0 .5 ^ £ 0 ( o r Í 0 . 5 -> £ 0 )

0

^ )

where č,0 is a fixed number.

Let X t, . . . , X n be an п-element random sample at the k-th stage of sequential verification of the above hypotheses (n = k0 + k - \ , where k0 denotes the num ber o f elements draw n in the first stage). We define random variables y„ for i = 1 in the following way:

Г0, if ( 12)

V,

if

R andom variables Yt, follow the two point d istribution (Е(У|) = 0.5, D 2(y,) = 0.5), when the null hypothesis is true.

(5)

The sequential test statistic verifying hypothesis (10) against (11) has the form

Y - 0 5 _

T n = , " = = 2У — 1 (14)

V0-5(l — 0.5)

This test m ay be generalized to verify hypotheses abou t the quantilies of order p, substituting p for 0.5 in form ula (14). In this test, the set J n is defined by the form ula (6) (or (8)).

A nother test verifying hypotheses about the value of the m edian is based on ranks (see: S e n 1981). Let us assume that £0.s is the m edian of the distribution o f random variable X with unknow n distribution function F(x) symmetric about the median. Let У = X — Let us denote the median o f the variable Y by £r . We m ay form ulate hypotheses equivalent to the hypotheses (11) and (12) in the following way:

H 0: Čr = 0 (15)

Н , : £ г * 0 (or £y > 0) (16) In this case, the test statistic determined from n-element simple sample Y j , Y n has the form

= £ sgn Y,.an( i C ) (17)

where

J?„j = £с(|У,| - 1

Yjj) (c(u)

= 1

or 0, if 0 0 or u < 0 respectively) 7 ' i

and an(i) = Ф [ ~ ~ 1

W hen the null hypothesis is true, statistic Z„ is distributed symmetrically

I я .

about 0, with variance n/l„2, where A 2„ = -- £ a „ 2(i)-n i - 1

In this case the set J n is defined in the following way:

J n = {x: I x I ^ A ^ s j l n l n l n n } for 3 (18) If the alternative hypothesis has the form

(6)

then

J n = { x : x < A l s j l n l n l n n ) for 3 (20)

5. FINA L REM AR KS

Sequential tests presented above can be used to verify hypotheses about the m ean value or the m edian of a random variable, if the random variable distribution is unknown.

A pplication of these tests can cause a problem connected with the com pletion of sequential enlarging o f the sample, if T n e J n for big n.

We come across do with such a situation, if the null hypothesis is true. Therefore, it is necessary to determine the sample size n0 up to which we complete extra sampling o f elements for the sample and alternatively we assume the null hypothesis.

We should give m ore considerable am ount of thought to this problem and carry out m any M onte Carlo analyses.

REFER EN C ES

R a o C. R. (1982), M odele liniowe sta ty s ty k i m atem atycznej, P W N , Warszawa.

S e n P. K . (1981), Sequential Nonparametric: Invariante Principles and S ta tistica l Inference, W iley, N ew York.

D orota Pekasiewicz

S E K W E N C Y JN E T ESTY O M O C Y R Ó W N E J 1 D L A W Y BR A N Y C H P A R A M E T R Ó W P O Ł O Ż E N IA

N ieparam etryczne testy sekwencyjne m ogą służyć d o weryfikacji hipotez o wartościach param etrów zmiennej losow ej, takich jak wartość oczekiw ana i m ediana, w przypadku gdy nie znam y klasy rozkładu badanej zmiennej.

W pracy przedstaw ione zostały przykłady testów sekwencyjnych, których m oc, przy dużej liczebności próby, jest równa 1. T esty tego typu m ogą znaleźć zastosow anie zarów no w kontroli jakości produkcji, jak i badaniach medycznych.

Cytaty

Powiązane dokumenty

We nd that there are more ethanol mole- cules near 3CL hydrolase compared to that case of 30% ethanol, which suggests that ethanol molecules are more likely to interact directly

The basic rule of comparing tests is the following: for a given set of null and alternative hypotheses, for a given significance level, the test which is more powerful is

This happens for example if we want to check whether a random variable fits (comes from) a specified distribution (when we will perform so- called goodness-of-fit tests), when we

Mirosław Pietrzak,Janusz Podgórski.

Die Grund­ lagen der Betätigung dieser Organe wurden in den Arbeiten der vor­ bereitenden Kommissionen, dann der Komzilskommissionen und in Di­ skussionen des

(rozdział

Hereby, it is necessary to take more multipurpose approach to issues of concern, including expanding the mechanisms’ list for the alternative energy development promotion, focusing on

29 It is emphasized that “globalization is not global” (E. Tarkowska), arguing that is includes only 1/3 of the globe population, which indicates that globalization is