Gap Test

The gap test gap measures how far apart uniform numbers in datagen are spaced from each other. The result of the test is measured by the chi square test.

Syntax

The syntax for gap is:

        gap low_range high_range gaps size

Example

      gap 0.44 0.47 20 10000

In this example, the program measures how many numbers it takes to produce a uniform random number between 0.44 and 0.47.

The third parameter indicates that 20 or more numbers are accumulated as a single count.

The result should fall within the range given by the program 99 percent of the time.


Table of Contents     Job and Record Level Definitions
Field Level Definitions     Datagen Syntax
Supporting Routines     FAQ     Copying