IID Tests dialog box

Top  Previous  Next

 

Use this dialog box to carry independence and identical distribution (iid) tests on data.

 

Input

Specifies the worksheet location of the input data for this operation.

 

Valid Input Range

Provides a reference to the extent of the data available in the currently active worksheet. Use this range as a guide for typing valid extents in the Input Range box.

 

Input Range

Type in this box the range of cells containing the data you want to use as input for this command.

 

Series in Rows

Check this box to indicate that the data specified by the Input Range box is organized in rows as opposed to columns (the default).

 

Refer to Specifying Input Arguments for additional information on this subject.

 

Output

Specifies the worksheet location for placing the results of this operation.

 

New Workbook

Select this option to place the results of this operation in a new document workbook.

 

New Sheet

Select this option to place the results of this operation in a new worksheet.

 

Range Position

Select this option to place the results of this operation starting at the worksheet location specified in the box to the right of this option.

 

Refer to Specifying Output Locations for additional information on this subject.

 

Options

 

Method

Specifies the method used to carry out the test. Select one of the following options:

 

 

Box-Pierce

Box and Pierce (1970) portmanteau test based on the statistic

 

image002n

of a finite variance iid sequence image004n, where image006n is approximately distributed as the sum of squares of the independent image008n random variables, image010n, image012n, that is, as a chi-square distribution with image014n degrees of freedom, where the image016n are the sample autocorrelations at lag image018n. Reject the iid hypothesis if

 

image020n,

 

where image022n is the image024n percentile of the chi-square distribution with image014n degrees of freedom.

 

 

Difference Sign

Counts the number, image027n, of values image029n such that image031n, image033n, or equivalently, the number of times the differenced series image035n is positive. For an iid sequence of large image037n, image039n and image041n. Thus image027n is approximately image043n. Reject the iid hypothesis if

 

image045n,

 

where image047n is the image049n percentile of the normal distribution image008n.

 

 

Ljung-Box

Ljung and Box (1978) portmanteau test which replaces the Box-Pierce image006n statistic with

 

image055n,

 

whose distribution better approximates image022n. Reject the iid hypothesis if

 

image057n.

 

 

McLeod-Li

McLeod and Li (1983) portmanteau test based on the image059n statistic of Ljung-Box, but replaces the sample autocorrelation of the data with the sample autocorrelation of the squared data, image061n, giving

 

image063n.

 

Reject the iid hypothesis if

 

image065n.

 

 

Rank

Kendall and Stuart (1976) test which defines image092n as the count of the number of pairs image094n such that image096n, image098n, image100n. For a total of image102n pairs such that image107n in an iid sequence image004n, of large image037n, each event image107n has probability 0.5 and thus the mean of image092n is therefore image112n, and its variance image114n. Thus image092n is approximately image117n. Reject the iid hypothesis if

 

image119n.

 

 

Turning Point

For a sequence image004n of observations, it can be said that there is a turning point at time image068n, image070n, if image072n or image074n. For large image037n, if image077n is the number of turning points of an iid sequence, then the expected value of image077n is image080n, since the probability of a turning point at time image068n is image083n, and its variance image085n. It can be said that image077n is approximately image088n. Reject the iid hypothesis if

 

image090n.

 

 

Maximum Lag

Maximum lag to which the sample autocorrelation function is calculated for the portmanteau methods.

 

 

Degrees of Freedom

Specifies the degrees of freedom of the chi-square distribution on the portmanteau tests. If this value is set to zero, Maximum Lag is used for the number of degrees of freedom of theoretical chi-square distribution. To indicate a different value, type the number of degrees of freedom in this box as an integer greater than zero and smaller than or equal to Maximum Lag.

 

 

Significance Level

Specifies the significance level, image120n, of the underlying distribution at which to reject the iid hypothesis. Type in this box the significance level you want to assign to the test.

 

NoteThe significance level is set to 0.05 by default.

 

OK

Closes the dialog box and carries out this operation.

 

Cancel

Closes the dialog box without carrying out this operation.

 

 

Sample Output

 

iidtestA

 

For the sample output shown, we reject the iid hypothesis because Q > Q-Critical.

 

Sponsored

Try Predictive Systems Lab

Interactive Demo →

Need Help?
Contact support