RICE UNIVERSITY

Monte-Carlo Comparisons of the Power of Some Tests of Heteroscedastlcity

by

Ameen Ahmad

A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE

FASTER OF ARTS

APPROVED, THESIS COMMITTEE:

Kenneth J. White, Associate Professor of Economics, Chairman

^______Timothy W. Cooke, Assistant Professor of Economics

Professor of

HOUSTON, TEXAS M&Y, 1981 ABSTRACT

Monte-Carlo Comparisons of the Power of Some Tests of

by

Ameen Ahmad

This thesis discusses the class of tests of heteroscedasticity developed by J. Szroeter. Specifically, for models with non-stochastic regressors, this thesis discusses some exact tests within the above class of tests utilizing existing tables of distributions of the Von

Neumann ratio and of the Durbin-Watson bounding ratio. The power of

these tests are then compared to the power of a Goldfeld-Quandt type test to determine the of Szroeter's tests.

There are two ways available to us for calculating the . One way is to use the Imhof method and the other is the

Monte-Carlo method. This thesis uses the Monte-Carlo method to calculate the power of the test as this method is computationally uncomplicated compared to the Imhof method. ACKNOWLEDGMENTS

I would like to thank my advisor and thesis committee chairman

Professor Kenneth White for suggesting the topic and for his valuable comments and suggestions. Thanks are also due to Professors Herminio

Blanco, David Gow and Timothy Cooke for their suggestions and advice.

I am thankful to Mrs. Florence Fulton, the graduate secretary, for all the help she has accorded me during my stay at Rice University.

Special thanks are due to Mrs. Vera Wallis for her expert typing. CONTENTS

LIST OF TABLES iv

Chapter

I. INTRODUCTION 1

II. DEVELOPMENT OF SZROETER'S TESTS 3

2.1 A Class of Tests of Heteroscedasticity——— 3 2.2 Tests Based on the Distributions of the Von-Neumann and Durbin-Watson Bounding Ratios—————————————— 5

III. RESIDUAL SELECTION AND POWER OF THE TEST 9

3.1 LUSH Residuals 9 3.2 Power of the Test——————— 12

IV. MONTE-CARLO PROCEDURE 16

V. RESULTS AND CONCLUSIONS 24

NOTES 29

REFERENCES 31

APPENDIX A 33 TABLES

Table

1. Table 1.1 21

2. Table 1.2 22

3. Table 1.3 23

iv CHAPTER I

INTRODUCTION

In a recent article by J. Szroeter [16], a class of exact para¬ metric tests of heteroscedasticity in a model is developed and is put forward as an alternative to the frequently used

Goldfeld-Quandt test [4] of heteroscedasticity. For a non-stochastic

independent variable model, the exact critical levels of a particular member of this class of tests can be obtained by the Imhof technique

[10] of finding the distribution of quadratic forms in normally dis¬ tributed variables. However, it is more convenient to make use of already existing tables of critical values of some such as the Durbin-Watson [2] and the Von-Neumann [18] bounding ratios.

This alternative method is computationally much less complicated and easier than the Imhof method. Thus Szroeter defines some procedures that make it possible to compare the already tabulated significance

levels of the Durbin-Watson and Von-Neumann statistics with the test developed by Szroeter.

The purpose of this study is to find the power of the tests de¬ vised by Szroeter. Also, since Szroeter puts forth his tests as an alternative to Goldfeld-Quandt type test, this paper compares the power of Szroeter's tests to that of a Goldfeld-Quandt type test.

A Monte-Carlo method was used to calculate the power of the tests derived in this paper. The reason for using the Monte-Carlo method to calculate the power of the tests instead of the exact Imhof method^

is basically one of simplified and repetitive steps of calculation and is explained in Chapter III. 1 2

The organization of this study is as follows. In Chapter II, we summarize Szroeter's sections 2 and 3 where the class of tests of heteroscedasticity under consideration is developed. Also, this chapter develops procedures that enable us to compare the test statis¬ tic developed with existing tables of significance levels for the

Durbin-Watson and the Von-Neumann test statistics. Chapter III dis¬ cusses the particular choice of a member of the class of residuals that can be used in the class of tests developed in Chapter II.

Chapter III, in addition, discusses the power of the tests developed and the different methods of calculating the power. In Chapter IV, we describe the Monte-Carlo method that was used to calculate the power of the tests shown in this paper. Finally, Chapter V rounds off the paper by presenting the results of the Monte-Carlo and the final conclusions. CHAPTER II

DEVELOPMENT OF SZROETER'S TESTS

2.1 A Class of Tests of Heteroscedasticlty

Assume the following generalized :

s yt g^ t=l, 2,3... ,N (2.1) where y {t*l,2,...,N} are observations on the dependent variable,

xfc £t=l, 2,...,N] is a 1XK vector of observations on the K independent

variables {x^,x2,...,2^} and p is a KXl vector of parameters. gfc is

the error term such that the errors are serially independent, have zero expectation and are normally distributed, i.e.

e£~N(0,<^) t=l,2,... ,N. (2.2)

2 The exact form or expression for is not known to us but we assume 2 2 that the observations are ordered in such a way that Q , t L"i 2 {t=l,2,...,N}. The of the error terms, 0t, for example

may be assumed to depend on one of the independent variables or on

time and then the above ordering can be obtained by ordering the

observations with respect to that independent variable or with

respect to time. In the former case observations will have to be

ordered in an ascending order of magnitude of the chosen independent

variable, x^t (for a particular i), so that the observations are

ordered monotonically with respect to the magnitude of error term

.

This is the basic model that we start with in order to develop

a class of tests for heteroscedasticlty in the generalized linear

3 4 model. In this study we are concerned with testing the following null hypothesis :

s HQ ! ot ^t~l ^ t—1,2,...,N (2.3)

against an of the following form:

î > ^t~l t=l, 2,...,N (2.4)

and which is true for at least one t.

We now derive the class of tests for heteroscedasticity as developed by Szroeter [16]. Let us denote A as a non-empty subset of [1,2,.,.,N} and : teA} as a set of computed residuals approxi¬

mating the true and unobservable error tenus [et : teA}. Also let

{h^ : teA} be some set of (number of elements in A) non-random scalars such that h „ < h „ where t < s. The exact form of £ and tN — sN t ways of obtaining the set {£t : teA} will be discussed below. We now define the statistic as follows -

\ = WtN htN ^2*5^ where

**■ ■ * ' (s^ ^ and h „ is a scalar defined in the next section. The test for tN

heteroscedasticity requires that the null hypothesis, HQ, be rejected

if and only if h^. is significantly larger than 5

" NA 2 htN * ^2*6^ tgA

The above test is a result of the following proposition as

indicated in Szroeter:

Proposition 1: If p=0 and êt is set equal to yfc(teA)

in (2.5) then, given the assumptions contained in (2.1) and (2.2),

the following probability statement holds: for any finite real

constant C, Ptf^ > C/^) £ P^ > C/HQ).

A proof of this proposition can be found in the appendix of the

article by Szroeter [16].

When P^O then the error terms e's are not observable and thus

we have to use some form of computed residuals to calculate the test

statistic. In this case the test is not unbiased but it can be 2 shown that the test is consistent under seme general conditions.

2.2 Tests Based on the Distributions of the Von-Neumann and

Durbin-Watson Bounding Ratios

In this section we shall be concerned with specific choices of

htN(teA) and et which will enable us to compare the h^ statistic

to the already tabulated significance points of known distributions.

We start with the assumption that x£ (t-1,2,.. .,N) are non¬

stochastic. We are then able to consider a wide class of computed

residuals, efc* which are linear functions of the variable

*<+

yt(t=l,2,...,N) and for which E(et)=0 (teA). This that h^ is

a ratio of quadratic forms in normal variates. We, therefore, can 6 obtain critical values for the statistic using the Imhof method [10].

A computer algorithm by Koerts and Abrahamse [12] can be used for

this purpose. An alternative and simple way would be to compare the h^ statistic with already tabulated significance levels of known distributions such as the Von-Neumann or the Durbin-Watson bounding

ratios. Consequently, we shall define h^ in such a way that the

0*0 h^ statistic follows one of the above mentioned distributions. We

start with the following proposition:

Proposition 2: Let , §ffl} be a set of m stochas¬

tically independent unit normal variables. Define a

R by

R - 2 2 (1-Cos(na+J) / / ( 2 §?) i=l 1 i=l 1

1) If J=0 and J=l, then nxR/(n-l) is distributed Vq, the Von-

Neumann ratio [18] with sample size ns(nri-l).

ii) If J=0 and J is a positive integer greater than 2, then R

is distributed DL the lower bounding ratio for the Durbin-Watson H, J statistic [1] with J regressors (including the constant term) and with n=(m+J) observations.

iii) If J=J-1 and J is a positive integer greater than 2 then

R is distributed D^ the upper bounding ratio for Durbin-Watson n, J statistic with J regressors (including the constant term) and with

n=(mfj) observations.

The above proposition can be proved easily using the theories

developed in [1] and [18]. The following definition is now 7 forwarded based oa the random variables of the above proposition:

Definition 1: The random scalars v (n;a), tabled in laT

Hart [8], and d^CnjJja), d^(n,Jja), tabled in Durbin-Watson [2] and in Savin-White [14]

PO^L^C*» = P(vïï(n;a) < Vft) »

p(D a »,j * V1-5'0»

In order to use Proposition 1 in devising exact tests for hetero- scedasticity one further assumption is imposed on the computed re¬ siduals, £ , besides the assumption that ê is a linear combination t t

s of yfc and that E(êt)=0. This further assumption is that et' are

s derived in such a way, that under the null hypothesis, et' (teA) have a scalar variance- matrix. What this means is that

et's(teA) are uncorrelated under the null hypothesis. Thus under

(2.3)

2 et ~ N(0,a )

(2.7) E(eJL) = 0 for tj*s; t,seA t S

Theil [17] has shown that there are (N-K) of these uncorrelated 3 residuals, et(teA), with the properties in (2.7). Thus A is a

(N-K) element subset of {1,2,,.,,T} in this case.

Finally, hfcN is defined as follows: 8

htN = <’1>i+1 2

ti«0 - n{(ôi2 + si4 + 5i6) CN-K+1) + (6i5 + 016)(J-1)

1+1 + (-1) T(A,t)) / {N-K + (1 - 6tl " Ôi2) J

+ 6U + ôi2î (2.9)

where

S. ij i=j

x(A,t) teA is a function such that t is

the T(A,t)th smallest ele¬

ment of A

J is an arbitrary integer greater than or equal

to

The function r(A,t) is incorporated in h^ so as to fulfill the assumption of non-decreasing h^ in t. Thus an exact 100a percent significance test for heteroscedasticity is the one in which the null hypothesis (2.3) is rejected if and only if the following is

true -

1 hjj > (N-K+l)" (N-K) (ô±1 vu(N-K+l;a) - Ôi2 vL (N-K+l;a))

+ 4(ôi3 + Ôi5) - (ôi3 + Ô16) dü(N-K+J,J;a)

- ($i4 + ôi5) dL(N-K+J,J;a) = hN (2.10)

where v^t d^ and d^ are random scalars as defined in

Definition 1. CHAPTER III

RESIDUAL SELECTION AND POWER OF THE TEST

la the above chapter a class of parametric tests for hetero- scedasticity was derived. As has beea meatioaed in that chapter, the test procedure defined by equations 2.8, 2.9 and 2.10 uses a set of uncorrelated residuals to calculate the h^. Section one of this chapter discusses a member of the class of uncorrelated residuals chosen to calculate the h^ statistics in this paper. Sec¬ tion two in turn discusses the power of the tests described in Chapter

II and the different ways of calculating the power.

3.1 LUSH Residuals

The assumptions put forth in 2.7 limit the class of residuals that can be used in calculating h^. The allowed residuals must have a scalar under the null hypothesis of homoscedasti- city. There are a number of residual types available in this class as the BLUS (Best Linear Unbiased Scalar) [17], Recursive [9] and the

LUSH (Linear Unbiased with Scalar covariance using Householder trans¬ formation) [7] residuals. Tests of and of hetero- scedasticity based on the first two types of residuals and their power have been studied extensively.^ Whereas, studies based on the LUSH residuals are very few.** Therefore, the LUSH residuals were selected to be used as the set of uncorrelated residuals in calculating the

A* h^ statistic. The LUSH residuals can be obtained by Golub's [6] procedure. The LUSH residuals are described below.

9 10

The LUSH residuals came from Golub's desire to find a computa¬ tionally stable and efficient way of obtaining the estimates of the regression equation. For ease of exposition let us denote the regression model defined by 2.1 and 2.2 in the following matrix format:

Y - Xp + e

E(e) - 0 (3.1) 2 Var(e) = c I, under the null hypothesis of

Var(e) - V, under the alternative hypothesis of heteroscedas- ticity where Y is a Nxl observation vector of the dependent variable,

X is a NxK observation matrix of the independent variables, p is a

Kxl vector of coefficients and e is a Nxl vector of the error terms.

Matrix X is assumed to have rank K <; N. The least squares estimates

A A of p, p, and e, e, are given as:

P = (X'X)-1 X*Y

e = Y- Xp=MÏ, M = I - X(X'X)"1 Y

where (3.2) 11

Since X has full column rank, the least square estimate $ is unique.

A There is one problem in calculating p as in 3.2. The matrix (X'X) is very susceptible to round-off errors and may be ill-conditioned. By saying that matrix (X'X) may be ill-conditioned we that a small change in X may bring about a large change in (X'X)”*- thus a large

A change in the value of p. Therefore, it is preferable to forgo using the (X*X) matrix and use only the X matrix in all the calculations.

One solution to the above problem is to use the following ortho¬ gonal transformation of the X matrix

"Ppf " R ~ "p{" P'X = x = P£X 0 *2 where P is a NxN orthogonal matrix, R is a KxK upper triangular matrix, P^ is a NxK matrix. There are a number of ways of obtaining

P, one stable way is to obtain P as a product of K Householder

A transformations (see Golub [6]). Now P .is obtained by applying the same transformation to the Y matrix and regressing P'Y on P'X. The

A expression for p is now given as:- A -1 P -= R P£ Y.

Since P is an orthogonal matrix P'P=1 and thus

P£X = 0 and P'P2 =1 (3.4) 12

The above equation implies that P£Y is a vector of uncorrelated residuals since:

E(P£Y) = E(P£Xp + P'e) = P£ E(e) = 0

and

Var(P'Y) « E(P' ee'V * P'P£ = 1

So z=P£Y is indeed a vector of N-K uncorrelated residuals and is known as the LUSH residual vector.

3.2 Power of the Test

In this section we shall discuss the power of the tests described in Chapter II and the ways of calculating this power. The power of a test is defined as the probability of rejecting the null hypothesis when the null hypothesis is false given a significant value for the

Type-I error. In our case the power of the test can be expressed as below:

P(*N > Hl>*

This can be written as:

PCi/hH < 1/fij, = b*| V (3.5)

Let us use matrix notation to express 2.5, we have

hjj = z*H z/z'z (3.6)

where z is the vector of LUSH residuals, i.e., U

z - P£Y and

0 ^+2, N

VN

Substituting 3.6 in 3.5 we have

PCl/h^ h* | Hj) = P (z 'z/z TI z < h* | Hj)

= P(z *z < h* z "H z | H )

= P(z'z - h* z •'H z < 0 | Hj)

= P-|z'(I - h*H)z < 0|HjJ-

- p{ï'P2(I - h* H)P£Y < 0| Hj} (3.7)

- P-je^d - h» H)P£ e < 0|Hj}

as P£Y = P£Xp + P£e = ^2®

Now Vac(e) = V. Since V is a positive definite matrix and thus can be decomposed as AA *. Using the transformation e = AU in 3.7, where

U~N(0,I),

PCl/hjj < h*| Hj) - P-[U'A'P2(I - h* H)P' A U < 0| Hjj-

= P(U'A*U < 0| Hj) (3.8) where

A* = A'P2(I - h* H)P£A . 14

Now A* is a real symmetric matrix and thus can be diagonalized as KDK', where D is a diagonal matrix of the latent roots of A* and

K is an orthogonal matrix of the corresponding eigenvectors of A*.

So

P(l/b^ < h*| Hx) = P(U' KDK' U < 0 | Hj) (3.9)

Applying the orthogonal transformation W=KTJ, where W _ N(0,I),

PCl/^ < h*| Hx) = P(WT> W < 0 | N-k

- P( 2 Xt (U?X < 0 | %)1 (3.10) i=l where X^ i“l»2,...,N-K are the latent roots of A* and 1*1,2,...,

N-K are standardized normal variables. It is of interest to note that the latent roots i=l,2, ...,N-K are dependent on the X matrix. To see this, let us write A* as follows

A* - (I - h* H)P' A A* ?2

« (I - h* H)P£ V P2 (3.11) since the latent roots are independent of the order of matrix multi¬ plication. V is clearly dependent on the X matrix and thus the X^'s are dependent on the X matrix too.

Finally, for the statistic h^ we have by definition

PU/fc^ < h*| Hq) = a

or N-K , P( 2 Xi w < 0 I H ) = a i=l 1 i y where Xj/S are latent roots of IS

A** = (I - h* H)P£ AA'P2

■ (I - h* H) I (3.12) since V is equal to I under homoscedasticity. The latent roots of

A** could now be used in the Imhof algorithm to find the appropriate h* for the significance level of a. This is an alternative method of applying Szroeter's test idea developed in Chapter II. The Imhof method involves the extra steps of calculating the h* value, Whereas the test method described in equations 2.8, 2.9 and 2.10 use already tabulated critical values. Therefore, Szroeter's method of comparing the hgj statistic to already tabulated critical values is easier and simpler with respect to the calculations involved. CHAPTER IV

MONTE-CARLO PROCEDURE

We now come to the mala purpose of this paper - the derivation of the power of the test for several of the previously described tests of heteroscedasticity (specifically for 1=1,2,4 and 6 in equations 2,8 and 2.9). This chapter explains the Monte-Carlo method used to derive the experimental powers of tests developed in

Chapter II.

Assumption 2.7 indicates that we can only use residuals that have a scalar covariance matrix under the null hypothesis of homo- scedasticity, i.e., uncorrelated residuals. As explained in Chapter

III the LUSH residuals have been selected for this purpose. These residuals are obtained by the Golub's [6] procedure.

The Monte-Carlo method used in this study is quite similar to

the method used by Harvey and Phillips [9] and by Godfrey [3]. The model used in this study is:

x yt “ + ^2 t ®t t=l, 2,3....,N (4.1)

The parameters |3^ and ^ were given the values of .3 and .7 respec¬

tively. The independent variable xfc is assumed to be non-stochastic

in nature. Therefore x^'s were kept fixed for each error variance model and sample size. Also x^s are to be uncorrelated with each

other, so the x^'s were obtained from a uniform distribution. The

experiment considered 100 samples for each combination of sample size

error variance model and fixed set of independent variable {x^jX^,...

obtained as explained above. 16 17

The experiment considered three error variance models. Two of the error variance models incorporated heteroscedasticity in the

error terms, et, and the third one incorporated homoscedasticity of the error terms, et* One of the models of heteroscedasticity assumed that the variance of the error terms were dependent on the independent variable. The other model of heteroscedasticity assumed that the variance of the error terms were dependent on time. Specif¬ ically, the models of heteroscedasticity used in the experiment are given below:-

£ 4 £ t=l,2,...,N (4.2) at ~ a xt

2 2 2 at * a t t=l,2,...,N (4.3)

2 where a = 4 in both the above mentioned error variance models. The form of heteroscedasticity described in 4.2 has been used quite extensively in other Monte-Carlo studies such as the ones done by

Harvey and Phillips [9] and Godfrey [3]. This is just a specific case of the more generalized multiplicative heteroscedasticity model like the one below^j

- exp (OJL + a2 ln(xt)) (4.4)

2 With 0^ = In (g ) and " 2, 4.4 becomes 4.2. The type of hetero¬ scedasticity described in 4.3 has not been studied as frequently and thus seems to be an interesting case to study. Using these two cases of heteroscedasticity we aim to obtain the experimental powers of the tests described in Chapter II. The power of the test is 18 defined as the percentage of times the null hypothesis 2.3 is re¬ jected when the alternate hypothesis 2.4 is true.

It is also interesting to look at how the test statistic h^ behaves under the null hypothesis 2.3. For this purpose the experi¬ ment also considered the case of homoscedastic error terms, i.e., when

a2 = tf2 t-1,2, ,N (4.5)

2 with a - 4. In this case we are interested in the percentage of times the null hypothesis 2.3 is accepted when the null hypothesis itself is true.

The steps involved with the experiment are briefly described below**

a) First choose one of the error variance models from among

the ones in 4.2, 4.3 and 4.5.

b) Obtain xt's. xt’s were obtained from a uniform distri¬

bution with (0,100). The number of xt's generated

depended on the sample size under consideration. Two

sample sizes were considered-one of 20 and the other of 40.

c) Generate e^'s from a with zero expec¬

tation and with variance conforming with the error variance

model assumed in step a.

d) Obtain yt's using the following equation:-

yt = .3 + .7 x t + et . 19 e) la this step yfc was regressed on xfc and a set of uncorrelated

residuals, gt» weré obtained, i.e., the LUSH residuals in

this experiment. f) Order the residuals obtained so far in ascending order of

error variance. This is affected by ordering the in

ascending order with respect to the variable on which the

variance terms, et's, are assumed to depend on. For the

error variance model 4,2 the data was ordered with respect

to the ascending values of x^'s. The error variance model

4.3 needs no reordering as in this case data is already

ordered in an ascending order with respect to t. g) Steps e-g were now repeated 100 times. h) The 100 sets of LUSH residuals obtained so far were used in

this step one set at a time to calculate the test statistic

h„ and then h^ was compared with the critical value h».

The test criteria set forth in equation 2.10 was used to see

if the null hypothesis of homoscedasticity was accepted or

rejected. The percentage of null hypothesis rejections was

then noted after the test criteria of equation 2.10 was 9 applied 100 times. The same 100 sets of LUSH residuals

were also used to perform the Goldfeld-Quandt [4] of

heteroscedasticity 100 times and the percentage of null hypoth¬

esis rejections were noted.^ 20 All the above steps were then repeated until step a exhausted all possible error variance models under consideration.

The Goldfeld-Quandt test was performed In step h for the purpose of comparing the effectiveness of Szroeter's tests to that of the

Goldfeld-Quandt test. Since the Goldfeld-Quandt test here used the

LUSH residuals (which are uncorrelated) there was no need for two separate regressions as Is needed In the case of OLS residuals. For the sample size 20 no break was Introduced In the 18 LUSH residuals.

While in the sample size 40 case a break was introduced in the 38

LUSH residuals. The results obtained in step h are tabulated in

Table 1.1, Table 1.2 and Table 1.3. 21

TABLE 1.1

2 2 x 2 a t a t

PERCENTAGE OF REJECTIONS OF HQ (5# LEVEL OF SIGNIFICANCE)

TESTS N = 20 N - 40

VON-NEUMANN UPPER 42 95

VON-NEUMANN LOWER 42 95

DURB IN-WATSON UPPER 41 95

DURBIN-WATSON LOWER 43 96

GOLDFELD-QUANDT 48 90 22

TABLE 1.2

2 2 a ti-

PERCENTAGE OF REJECTIONS OF HQ (5£ LEVEL OF SIGNIFICANCE) II O TESTS N - 20 2! •P*

VON-NEUMANN UPPER 75 98

VON-NEUMANN LOWER 75 98

DURBIN-WATSON UPPER 75 98

DURBIN-WATSON LOWER 76 99

GOLDFELD-QUANDT 68 100 23

TABLE 1.3

2 a

PERCENTAGES OF ACCEPTANCES OF HQ (5$ LEVEL OF SIGNIFICANCE) Mi¬ CM o o 53 23 TESTS ll It

VON-NEUMANN UPPER 95 96

VON-NEUMANN LOWER 95 96

DURBIN-WATSON UPPER 96 96

DURBIN-WATSON LOWER 95 96

GOLDFELD-QUANDT 94 98 CHAPTER V

RESULTS AND CONCLUSIONS

In this chapter we shall discuss the results of the Monte-Carlo experiment as tabulated in Table 1.1, Table 1.2 and Table 1.3. First,

let us look at Table 1.3 which lists the (1-Type I) error levels for

the tests from Chapter II and the Goldfeld-Quandt test. The signifi¬ cance level chosen for calculations was .05. Thus we would ideally expect the experimental Type I error levels to be near the .05 or 5$ mark. In other words the percentage of times the null hypothesis is accepted when the null hypothesis is true should be near the 95$ mark. Table 1.3 shows that all the tests have a null hypothesis acceptance percentage of 95$ or close to that level. This is true for both the sample sizes of 20 and 40 samples. Only the Goldfeld-

Quandt test has a slightly higher percentage level for a sample size

of 40. Therefore, Table 1.3 indicates that Szroeter's tests of

Chapter II and the Goldfeld-Quandt test are equally efficient in

detecting the presence of homoscedastlcity in a linear regression model. Furthermore, the level of detection is very close to the

theoretical level.

Now that we have seen that the experimental Type I error levels

for all the tests are almost equal to each other, we are ready to

compare the powers of the test for Szroeter's tests with that of the

Goldfeld-Quandt test. Table 1.1 and 1.2 show the experimental

powers of the test under the two types of error variance models.

The results reflected in these tables are summarized below:- 24 25

i) For both error variance models the power of the test

increases dramatically as the sample size increases from

20 to 40. This is more evident for the model where the

variances are related to the independent variable,

ii) Table 1.1 indicates that for a higher sample size Szroeter's

tests are more powerful than the Goldfeld-Quandt test in

detecting heteroscedasticity in a model where the error

variances are dependent on the independent variable. This

fact is no longer true for a small sample size. In this

case the Goldfeld-Quandt test is more powerful in detecting

heteroscedasticity in model where the error variances are

dependent on the independent variable, iii) Table 1.2 shows that for a smaller sample size Szroeter's

tests are quite powerful than the Goldfeld-Quandt test in

detecting heteroscedasticity when error term variances are

dependent on time. Although for a higher sample size

Szreoter's tests and the Goldfeld-Quandt test are equally

powerful.

iv) A comparison of Table 1.1 and Table 1.2 shows that, in

general both Szroeter's tests and the Goldfeld-Quandt test

are more powerful in detecting the presence of heteroscedasti¬

city when error term variances are dependent on time compared

to the case when the error variances are dependent on the

independent variable. 26

Table 1.2 indicates that as the sample size increases from 20 to 40 all the tests of heteroscedasticity become more effective in detecting the presence of heteroscedasticity. This can be explained by the fact that as the sample size increases the range of t in 4.3 increases. Since the values of t are squared to get the variance of the error term, the observations corresponding to the upper half of the range of t will show a marked increase in the degree of hetero¬ scedasticity. This is the reason why the power of the test increases with the increase in sample size in Table 1.2. Similarly as the sample size increases when the error variances are dependent on the independent variable, the observations corresponding to the upper half of the range of the independent variable will show a marked increase in the degree of heteroscedasticity. This explains why the power of the tests increases as sample size increases when error variances are dependent on the independent variable.

The above results indicate that Szroeter's tests are slightly better in most cases than the Goldfeld-Quandt test. If the error variances are assumed to depend on time then it is advisable to use

Szroeter's tests rather than the Goldfeld-Quandt test. The same can be said when the error term variances are assumed to depend on the independent variable and the sample size is large. The only time the Goldfeld-Quandt test has a higher level of the power of the test figure is when we consider small sample sizes in models where the error variances are dependent on the independent variable. There¬ fore, for large sample cases Szroeter's tests are preferable regard¬ less of the cause of heteroscedasticity. In small sample cases 27 neither Szroeter's tests nor the Goldfeld-Quandt test is unambiguously preferable. The overall conclusion is that if we do not know the exact form of heteroscedasticity then it is preferable to use

Szroeter's tests.

The above comparison of the power of test of Szroeter's tests and the Goldfeld-Quandt test indicate that Szroeters' tests are slightly better in their performance than the Goldfeld-Quandt test.

The Goldfeld-Quandt test is also limited in another respect. The

Goldfeld-Quandt test statistic has a degree of freedom at most equal to the degrees of freedom of Szroeter's tests. The two types of tests have the same degree of freedom when no break is introduced in the calculation of the Goldfeld-Quandt test statistic. If a break is introduced in the sequence of residuals in calculating the Goldfeld-

Quandt test than the degree of freedom of this test is less than that of Szroeter's tests.

In conclusion we discuss some of the criticisms that can be leveled against the method employed in this paper in calculating the power of the test, i.e., the use of the Monte-Carlo method over the

Imhof method. The defense of the Monte-Carlo method is that this procedure involves repeating a few simple calculations and thus easy to implement on a computer. The Imhof method would have included steps a through f of Chapter IV, finding the latent roots of A* of equation 3.8 and then using these latent roots in an Imhof algorithm to calculate the probability 3.10. We should note that calculation

0*0 of the latent roots of A* includes the calculation of the h^ statis¬ tic. This process would then have to be repeated more than once 28 with different X matrices as the latent roots of A* depend on the X matrix chosen. Thus the Imhof method saves a few replications of

the X matrix but involves complicated calculations of the latent

roots and the much more complicated calculations involved in the

Imhof approximation algorithm. On the other hand, the Monte-Carlo

method involves steps a through f and calculation of the h^ statistic

and then repeating these steps a certain number of times. This is

the reason why the Monte-Carlo method was used in this paper to cal¬

culate the experimental power of the test rather than the Imhof method.

The other criticism of this paper might be the number of repli¬

cations of steps a through g of Chapter IV. In small number of repli¬

cations done were largely due to limited computer resources at my

disposal. Even if it were possible to do a higher number of repli¬

cations, it is doubtful if the results in Table 1.1, Table 1.2 and

Table 1.3 could have been improved greatly. This is especially true

for large sample sizes. NOTES

1) See Richardson and White [13] for an example of the Imhof

technique of computing power of a test.

2) See Szroeter [18], section 5 for proof.

3) See Theil [17], chapter 5 for a proof of this statement.

4) For i=3,6 h^ is compared with the significant values of the

distributions of the Durbin-Watson upper ratio for negative

and positive serial correlation. Similarly, for i=4,5 h^

is compared with the critical values of the Durbin-Watson

lower ratio for positive and negative serial correlation.

Finally, for i=l,2 h^ is compared with the critical values

of the Von-Neumann upper and lower ratio distributions.

5) For example, Koerts and Abrahamse [11] are Harvey and Phillips

[9].

6) Savin and White [15] use the LUSH residuals in their tests for

autocorrelation.

7) See Goldfeld and Quandt [5], chapter 3 for a discussion of

different forms of multiplicative heteroscedasticity.

8) All calculations for steps a through g were performed using the

econometric package SHAZAM written by White [9]. See Appendix

A for a sample output for these steps and an explanation of the

output.

9) A FORTRAN program was written by the author to calculate the

h^ statistic and to perform Szroeter's tests. See Appendix A

for a listing of this program and sample output. 30

10) See Appendix A for a listing of the FORTRAN program written

by the author to perform the Goldfeld-Quandt test. A sample

output Is also Included In this appendix. REFERENCES

(1) Durbin, J. and 6. S. Watson: "Testing for Serial Correlation in Least Square Regression. I," Biometrics. 37 (1950), 409- 428.

(2) "Testing for Serial Correlation in Least Square Regression. II." Biometrica. 38 (1951), 159-178.

(3) Godfrey, L. G. : "Testing for Multiplicative Hetroscedasticity," Journal of . 8 (1978), 227-236.

(4) Goldfeld, S. M., and R. E. Quandt: "Some Tests for Homoscedas- ticity," Joufnal of the American Statistical Association. 64 (1965), 539-547.

(5) : Nonlinear Methods in Econo¬ metrics. North-Holland, Amsterdam, 1972.

(6) Golub, G. H. : "Numerical Methods for Solving Linear Least Squares Problems." Numeriche Mathematik. 7 (1965), 206-216.

(7) Golub, G. H. and G. P. H. Styan: "Numerical Computations for Univariate Linear Models. " Journal of Statist. Comput. Simul,. 2 (1973), 253-274.

(8) Hart, B. 1.: "Significance Levels for the Ratio of Mean-Square Successive Difference to the Variance," Annals of . 13 (1942), 445-447.

(9) Harvey, A. C., and G. D. A. Phillips: "A Comparison of the Power af Some Tests for Heteroscedasticity in the ." Journal of Econometrics. 2 (1974), 307-316.

(10) Imhof, P. J. : "Computing the Distribution of Quadratic Forms in Normal Variables." Biometrica. 48 (1961), 419-426.

(11) Koerts, J., and A. P. J. Abrahamse: "On the Power of the BLUS," Journal of the American Statistical Association. Procedures. 63 (1968), 1227-1236.

(12) | : On the Theory and Appli¬ cation of the General Linear Model. Rotterdam—Rotterdam University Press, 1969.

(13) Richardson, S., and White, K. J.,: "The Power of Tests for Autocorrelation with Missing Observations," Econometrica. 47 (1979), 785-788. 32 (14) Savin, N. E., and K. J. White: "The Durbin-Watson Test for Serial Correlation with Extreme Sample Sizes or Many Regressors," Econometrica. 45 (1977), 1989-1996.

(15) Savin, N. E., and K. J. White: "Testing for Autocorrelation with Missing Observations," Econometrica. 46 (1978), 59-67. (16) Szroeter, J.: "A Class of Parametric Tests for Heteroscedas- ticity in Linear Econometric Models," Econometrica. 46 (1978), 1311-1327. (17) Theil, H. : Principles of Econometrics. New York: Wiley, 1971. (18) Von-Neumann, J. : "Distribution of the Ratio of the Mean-Square Successive Difference to the Variance," Annals of Mathematical Statistics. 12 (1941), 367-395. (19) White, K. J. : "A General Computer Program for Econometrics - SHAZAM, " Econometrica. 46 (1978), 239-240. APPENDIX A

This appendix gives a computer listing of some of the steps of the experiment described in Chapter IV and explains these listings.

The listings here show the case when the error variances were depend- ent on the independent variable and the sample size was 40. Page 35 lists the first five and the last observations. The first column lists the observed independent variable, the second column lists the true errors and the third column lists the observed dependent variables. The set of 40 values of the independent variables (XI) were picked from a uniform distribution and were kept fixed for this case. The third line on page 35 shows how the true errors (X2) were calculated and the fourth shows the calculation of the observed values of the dependent variable (X3). Now X3 was regressed on XI to obtain least squares residuals for the reference and comparison purposes. These residuals are listed on page 38 under the Calculated

Errors column. Next X2 was regressed on XI using Householder trans¬ formation and the LUSH residuals were obtained. These LUSH resid¬ uals are listed on page 42. Finally these 38 LUSH residuals were sorted in ascending order with respect to their variances and saved.

The sorting step is not shown in the appendix. The above process was repeated 100 times while using the same set of independent vari¬ ables (XI). Thus we end up with 100 sets of LUSH residuals.

Finally, pages 43-45 lists the computer program used to perform

Szroeter's tests 100 times using the 100 sets of LUSH residuals and

33 34

to find the total number of rejections of the null hypothesis. Fart of the results from one of the Szroeter's tests is listed on page 46.

Similarly the program on page 47 was used to perform a G-Q type

test using the same sets of LUSH residuals as the ones used in

Szroeter's tests. 35

Vft Z O

< » oc UJ %A COa

o z Q

OC *• < «tf m IA A* Al 00 > 4Û O* 4M GO OQ co ft/ • 09 • IA V» m COM UJ m • 00 • • • 0*4/» *0 iA o* *o IA m4 IA H *HUJ —4 CO m IA Al ** *o Al OC Ui G 9 1 • >* •3 ox** Hh *» *o 4/» 30u *-!►- < ZüJ \SUJ <û LU4/> o *■ m G lA <•> •J o 00 m 00 00 <# f+\ M2 z • o • o* • IA • U.O < oo m • IA A* Of m • Ai 00 O • *40 Al o m lA m r- A* •ctf X *~UJ UJ • 9 9 fnax^* <ÏQC o UJ**-»—4 o 3 Z XX ►- -J OAI* * MZ o AIA* UJ z UftOrW • o« 1-4 AI Al *> CO 00 ÛÉUJÛC + ZÜ O IA 9-4 o 00 •+ ujoom UJ 00 «■i <«# o o O >zz *o XU > • • • • • • WM H H *r XUL ►HI *>• m m m A» m Aim OUJ UL r- h» C4 IA IA XHXXH u • « t 1- *JUJ0£C£«J < • Oft H AJ fA ** IA O 4XZZÛ. I- • OX X<(UJLUX < • i vftZOOvft Q • u. 36

x X f-HfNJO' Ï 't • t M •cous X h-00^

X

X <\J • • M ru^ao X •<%im *4 f-OVM X « I o * Ui o Z ^ • • z < **fsjro a m M *rg^ X X o < NNN -j it > r*»~4«-4 a 40 z o

X OZ X ota a or? 00 oa ût—*»aoco «#ti_ 2Nm(n >• < vOUU'N^r* at <# ot a < ai- a II ot z 40XX < LU^-UI fl «J H- to a «-ILL • z< < 2 o*-» < CO GOOD MO: 40 LU 00^0 • X •# • m OZ.J H # Oco z OChM< o UJOKH M 40tL< OHMm X 0«-«ot> x UJ UI > ULWLtOU. u OOCOO Ui o •JU4 X OCX X COX < UIUJOLü «0.0c K4 co GO z a MZUJO < XXHX x ooca. X aacoa zarui vl zzoz > Miua i 37

h- lA mZ *o o< o NUJ o *-x m • tA A4 o <*— AJ < -J< O II 3 Ui • m «4 Ui • x U.N4 Oh «I «"IN. «J CO ac 00 tA • < • m LU A4*- HOC f— tA 1 m h-X m GÛ o* XO • O II «4 (A • • • 0 o < Ui orwr» h O Ujm O MHH O • ZO z 1 O >40 < OIL AiO -4-J M MO 33 IA Il «H X t- 3-# ►- lAXX < <00 OO Z o O •<< > xm •o Ui NT LU Ai»> • •4AJ ►4 Ai t- ma a. UL m • O •4 lA v4UiLU O • t • 9 *4 3 • OÛ LLmOO^t IU Z ■so (AO mm IL. IA 3 « 3>0 LLUL ►4 o Ui X X < tA II NN (A XX o Z o < N VW *■ omo 030 a: LU > U.X O •4 o ODOZ z • «Z X -4 || OLULUUl LU • o u>mi-4 a mo 1-4 UJxeo XX ÛZ LUO *— • » • L4 1 —i o z UJUJO*— UifU -IZ X Ui OOH h r4 omx Ui a: ox z< CO Ui o 1 < O X a

(OtAl-4 a. t/)a:z zz < < 04 o< C 1-4 V>Ot- o XX/l-J-4 UI3N *4*4 >> o> • t

It

r

OC OA 04 <**C'r^‘'-«®^^oooa‘«r^os^o o MIA A , 4ïO"*'>r >400 ««MO^MM© J»'*'"* » A •# "A<# ©'M;»aO«*>COOOÜO ACDM:»>AM O A O ac MM a. .uo «A *js «os *O/IN *M «fsj •«>»%»**.# MA • «OOCDOMM * or «AJ*® • •<■*> O • • a "ÎXC IDA tiM • 49 • *MM (MO • •■# • »N® • • • • «MA • • *M • • #AMA l oo o 1 octf<**i •«■*> AMM 3O«M> « a M •U 44 a X OH «MO O o o ^•usr <"r''0'?»o'0 AOoOf\jAM ^O'OooOAo^A'^M^^^osN^asiAeoONi» » • O M o ^ja^.Ajrsi—©'►«accroc»®**» J>u> OA-OSCAO^NO.-AIMI1». A A A AJ LU ^ÛQ A U* »-jti'^^QA/t*o4M>.o^f>irr«>û*rtA»Aoo^f*^N*o<î'^Of»'aoyo«N(*i a U o sc et LU LU a« ••••••• »o •••••••••••♦•••••••*••••• ta# t # t HZ •A '*tA,l'»«4vA.-<«~0>MM«LA AMJOrAM-AM o~ zz UL MOC II A A O IL M«* MM o A» OA A M OC UJ MOOA -4 —rz M • • LU *A OMM UAIOUJ «a ta*MM A « zo r%'m-9 M iS tuAOaCM'O a • • o a Z LU «O.MA Z (MA —_ M o A A. «M «* M «0»*» A •«■ M A o «A «*VA mu> <« <7* A M MO* o ® ace*» 'Of*’ > (M >3 J O J* Mrs* T* MCT'*’* # 40^ 0fta»(^,-*AMf\j3L'0 A-'^* » « 30 0) A Mo* A A O"* 9* S X OOAO oc ac j •» *AA«« tojiiAcm •A0>®r**A®®MA *AM • • *A • • •A****®* «m O «Z • • oot» -U «•••••• »A • •TDfN<«s»a»^o • «A • • • *«0 • »-# <*V*OA# u, • «Z l A>er OÎAMAAM AM A «^ui^O «M ^AJM OMCwioj A^ A MfNi/>iA vuo»» M M • •© t*. M<«>ac IULU A A<*> A «■» AïooAza MMMO» 3 Oi'MeeaiN *< m ft. • •ecOii^cK U-O A • zo N w * a • *A LU IL* A .*1 • c a-j tt MlUlLU. Cuo 2.31C3 AOO> 3C«/> Z SXJN A • • it a. o ^DOut-f» LU-^O (C A NvitAiczz z Uü =)tr «r ae LU LU O ac Ao 1J4UIMM C3.K • >3 P««4XMI»4H^»4«4 ^f\<(^rgNNr ■ < OCUU Ouu3 IL© Z3a,««-"* O»MO o «3=3*0. OC -J A ®M OILU. «u LU I G JC v/1* Ac*,.U A a. *■ z a LU a i oo OMX lu OaCv/VX'UO 3 LU O 39

X OOOOO 3x OiMfsJO 1-4 4A *0000 X **r-ooh*

X IA

UU u X »H • I

m4 32 oca 2 O o*»co^ooao X Z<1 #00 • • a nNnf^ o 4jmOJ^«H t/o o

'O UJ o X » M VO 3 M X X Z Of^tA^ onv*«vj* CL X z CDlA LL XiMUJ 3** o Ui it) LOO -J^O UJ —i • O 00 o OUJ < ILO on OX 3 o x o « CL oca cuo*«^ *4Z UJO*4 o GÛûC ac CVQûCWO z 3< < UJ Z X UJ UI 40 > > OMuJfiC ■ ; 40

4/> Z O

< > oc

4/* CO

O

IA ao N* K» eu O O O en •r O» o O Z Z • m • m • en O < O ao a> • CM IA Z m • en ue H • O V*» en eu en CO M 'O _J LU • • 9 • O «J 1/) CO z < O -J oc *— tfl *■» a m eo IA > > 00 en sO co 00 «n OC • 03 • O' • IA CO iM ** UJ 00 en • IA f» O'4/1 4/> fTl • IM 00 O t MUJ ao « u> en b* M b» OC • O • 1 1 >• UïO oc* < UJ 4/) roc* < Z3 WLU •I N CM *# 00 00 *^ÛC -J O O lA M O 00 UJ *-tZ Z co r4 *• O O o • U.O < en M b- en en en t* O' MI «tf O O b- K» O' IA IA M • ÛL U. LU LU emu e» IM 0D tua. UJ SU. »► en • 00 • • • wo su. N4 u> IA *4 IA M OLU LL en IA CM 'O IM O t 1 i 1 < • M KJ LUI «I • l/> M eu en «e IA O o OH z*x o* (QGCZ ez> Z23 II mJ vox lut- It a: LU o X o «JLU < MZ UJOH SC Û.3Z/) «*<* aoca LU «J < LUZOCLU LU OOO^OfH HNHH o Ul M rgh-mm > OHUJO: û£ 'OlTiHH M COfvi^iA Z IH• xi as X t(M• X m«(Nirn X «*1—OOf* X UMM'*r* *• 3C ^3)00 o z •

0%meo M0NiA h-** 0tfSOtf> ■ mOitm «»*mrf» us*** • Ol • * «M0««S •#** O'# «4 * • • «0 • •# IM'MfM «HTO «*OS«0«M| • • a a

*0^0» K0#M 0V»O«0 C»to»OQ 0O®m 00000 mo-io lor-oir» O»** • • • • • OJ0rwo m • • • NI^NO «M*VS«M tfVMr»-» • a • •

o

00O»»*I rrra • *«M0* «SI00OO ♦o*® CSI #ON • aotfMAn m <00000* •tfS •* 0

N 0*0*4 *••0*0 Ul N*00 «M**«M 0 OODCDOO • *0 • * 00000» o • «0»«M 0* •* a» o-*«® ai

a oo « 3 0 0»to**0 * to-ChmO •*mous Chcor'to* • to*M*0 -4 to***m 0» U»N mmmm o to* Z alia ♦- at a X to* to* o VS • Ul X to* to* «M * z z o t- O o w to* «M3 Z o * <. a 4> to* •• IM0C to* toi ac to* o o ►- •* a O o Oto»*VNJ s VI Oto» ♦M VI 3 VI Ul 3 to»VS«*US w z «**uso** m 0 mto»** O to* CL -10 -4 •4M • • z * X toS*OfMto> • «M Itoto* »0 rs ZO «* Ü • tflto* *tfSCh o z VI 0 to* to* m «r» • X rg < Ui KZu^Z o _iOIOto*dD a. o o 0**» « • 0 fto •Oto*«M • mJ • a* Z«* z *•**»••* Ul «4 • »«M«4> «M Cto «M**to-* ac o VI ®a • wo of a a a v> Z f • a a a Qui O'» •vs o -J a zx 0 a «a Z 0CV» zoii-a^isa. N « z o 0 vs v> 0 o o VIUL to» •I OO vs ®o o Ui o > to-l3 z «8 Ui r ♦ to» 30» toi iDaevs « oc to* *er Ui 3 033 * vso —1 X 3 OJ ui ac UJ-I to*mOI* vs a xvi *oim to»* Ctflcoom Z N»m X • CO acvsaeuj>* ■»** xoim*o 04 Ul a • — *tfsco VCI »<»ochm0 oo ac Z SZttNHOO « a a o o Oao V) O • o a o f X 3 Ui o m •4 X Om vs w * w o O IMPLICIT RÊAL*8 Al*.05 03 N=4Q K*2 N1=N-K IN0€^*6 JQ*2 VU*2.8675 00 VL*1*3547 00 Dl*l*44 30 OU-!•54 30 ID*1*N-K*1 IDF2*N«**JD 11*0 , IRE 3*0 IACPT*0 30 II*!!♦! RE A0<13*133 §ENO*5C0) UKITE (6,11C) II WRITE (6#1CC03 RE SC 1),RESC2),RcS<3) 00 5 1*1«6 00 5 J*1 * 6 OELCI*J)=0*0 00 IF a.EO.J) DELCI,J)*1.0 OO CONTINUE Rt$0*0.0 00 RESft*N-0.0 00 DO 10 I*1*N1 RE $ü*RES 5*RE $(I3**2 RESN*RESV4HTT40EL WRITE <0*1043 Al* 10F2.J0 IF ClNOc(INDEX.EG. K.tQ.^4 .OR.INDEX.EQ.5) WRITE (6.105) Al I0F2.J0 IF J HSTAT*MCRIT GO TO 309 . 90 IACPT*IACPT4i WRITE <6« 137) HSTAT,HCRIT GO TO 3C 500 WRITE C6,123) IREJtlACPT STOV 100 FORMAT C4X.D16.8) 102 FORMAT 0* JPPER VON NEUMANN DISTRIBUTION USED FOR TESTING PURPOSE !/• SIGNIFICANCE LEVEL * »,F3.2/' N3 *.I2> 103 FORMAT (• LOWER VON NEUMANN DISTRIBUTION USED FOR TESTING PURPOSE 1/* SIGNIFICANCE LEVEL 3 SF3.2/* N 3 *,12) 104 FORMAT (• UPPER D“W DISTRIBUTION USED FOR TESTING PURPOSE' !/• SIGNIFICACE LEVEL 3 *.F3.2/' N1 3 '.I2«' N2 3 *.I2) 44

m m UJ * tO >* >- OAh M* a.rsji-4 M CCHU O 3 *M Ml a,* h- H %A wl OII< < Z O O MlOILU ai hZÜ U s» 1/) l/) v> m LU* O O IM h- X * fMO O • OCMl X O * II U»* U. U. O O %S>*"S O II rs AAzm LU tOOOLOOOfOOMI i • i • i U0HM • 3ZLOOOO <0 •4** LUMUJM U Z» ZOZO* U4 it ONK •*-*“*. MIOlO* O* H LU«/> t- *o. a. a:LU Il >• tl OC U GûLLX X UJ «J Z Ml * t- H-XK

O» -JûC-JOC^OO.^ LO II DODÜZHUiO MI Z£Z£ ÜK OJ ZtLOX *X *-l 00 I UJ H-00^-00 £230-1 • O «J • »ozOQ^ h- H 0CUJOMû.M0L* OQ UJOUJQULIÜONKW 3Z"5 *0 *• «V fO 0<*U* O* XNhlL * JÜûf <. • • O* Ml II II OO O m LL* * m m tt m

' "1 O * O '■S ru *o+ X X*H O UJ 1 Z DÛ M zn W •HW -1 WH UJ J UJ UJ • Z O O OX H4/% U Z Z UJ WN O tH HQ -J • • m UZ LUX a -J Ht OUJ n aiw • O « O-l oz

O Ox ♦ r* 00 I • ZULI OH O • ONÛ 1-40 O • • sO ^2 ULH»LL0ÉOLUZ u»tHOi-ta a. aXH3u.ûou o 46

fM •0 UN UN >»o oo H* O a* o 1-0 OO *-o oa MO C'a. HO O CL Ho «SIX oo mx OO ox Oo CDS HO HD ♦MO 43 MO oa H-O «oa, *-o r-x ►•o r* U>«4 UN U) «4 r-O x mai U>X «OLU U)X ai mu> H* mu* •M UN UN ♦H o UNO OO U)H «OS UNO HZ H UN LU O o UN LU O X UN UJO ÛZO x + mzo X4 «MZO X 4 UN H- •O • 1-0 •a • r-O •O • 1-0 zx 00 OH Ocg O OMI 0«4 O OIM 04* oai O' 1 *- Il a. co <7* ■ ►-Il Û.H o 1 H» Il X** HO S >-rn O >•*«• «M s VO* H-O 33J xco oo xo xo XH» o la» H II •H^HUJ UN II fMIMOJ m ai OOC>N«J^ OÛCXMJOO OOCXMJOO -N-l x ♦ 1—UJ X 4*-LU -J>4 X 4 H* ai ox LU< ai O UN ai s^ ai Û<^J SfM ai O UNO so XH» CÛ COi-i HZ* X crin IIZ • X HH Il z • O z ooai O Z oQai o Z o o ai o JH 3 O O ÛÛHO II Z HOMO II Z CSJOMIO il >- UÜ UN UL'41- ai co LL>ri— ai O LL «4 H- X «J «MX»-* o>- O OJûC»H OH» -J

DOUBLE PRECISION RES,RESUP .RESUNUSTAT .CRXX . CIPENSION RESC1GC) ALPHA= «0 5 CRIT=2.33 00 . _ K=2 "" ' I8RK=6 II=N-K IBRKl*CIl-IBRK)/2 . - ... - - JJ=lBRK+IbRKl+l 00 40 IT ER=10 »12 _ IACPT=O r; r~ ICQUNT =0 5 REAO C ITER*100*EN0=5003 (RES(II)#11 = 1,II) RESLPl=0• 03. . .. - - - - - __ . . RESUP=0. OO . . - - IC0UNT=IC0UNT+1 WRITE (ô*15C) ICOUNT IF (ICOUNT.EQ.1) wRITE C6*l<*0). CRESCIl),11=1,11) 00 10 1=1 » I BRKl .. . RESUP=RESUP+RES(I)**2 10 CONTINUE CO 2C J=JJ.II - _ RE$UP1=RESUM1 + R£SCJ)**2. - . 23 CONTINUE STAT=RESUM1/RESLP IF CSTAT.LE.CRIT) GO TO 30 . . .. . WRITE (6.110) STAT.CRIT - - IREJ=IREJ+l GO TC 5 30 WRITE (6*123) STAT.CRIT. IACPT=IACPI+1 - .. . _ GO TO 5 500 CONTINUE WRITE (6.130) IREJ.IACPT -- ... 40 CONTINUE . . _. STOP 1Ç3 FORMAT (4X,016.8) 110 FORPAT O STAT = ',016.8,' CRIT =..*,016.8/ 1 « REJECT NULL HYPOTHESIS1) 120 FORPAT C* STAT = '.016.8,* CkIT = ',016.8/ 1 • ACCEPT NULL HYPOTHESIS') 130 FORPAT CO'//' TOTAL NUM0ER OF REJECTIONS = ',13/ 1 • TOTAL NUP9ER CF ACCEPTIONS = '*13) 140 FORPAT (IX,016.8) 150 FORPAT C'G'/' PROBLEM NUMBER = *,I4) ENC PROBLEM NUMBER = 94 -STAT.-.*. . .0.212631560+01.CRIX_s XU23 30 CC 000+01 REJECT NULL. HYPOTHESIS

-PR OB LEP. -NUMBER .m .. 95 _ . STAT =.. C.667326430401-CRIT .=. . . Û..233000000+01 REJECT NULL HYPOTHESIS

PRO BLEU-NUN B£R =_. 96 STAT = 0.448153550401 CRIT = 0". 23X000 OOU4G1 REJECT NULL HYPOTHESIS

PROBLEM NUMBER = 97 STAT = 0.412622570401 CRIT = 0.233000000401 .REJECT-NULL. .HYPOTHESIS

PROBLEM NUMBER » 98 _SIAT.* -0.136512230402 CRlI- = 0.23300000Q4C1 REJECT -NUL1-HYPOTHESIS - - ..

PROBLEM NUMBER = 99 .. . - STAT = 0.290142830401 CRIT = . .. 0.233000000+01 REJECT NULL HYPOTHESIS

-PROBLEM NUMBER «' 100 I . STAT = C.673o0589D+01 CRIT = C.2320CC0CÛ+C1 REJECT NULL HYPOTHESIS

TOTAL NUMBER CF REJECTIONS = 90 TOTAL. NUMBER. OF ACCEPTIONS-= 1C