An annotated example of an input file for testing the generalized linear regression model driver is shown below.
GLM: Data file for testing Generalized Linear Regression Model routines 6 Number of values of NN 0 5 8 15 20 40 Values of M (row dimension), 9 0 15 12 15 30 Values of P (row dimension), 5 5 10 25 30 50 Values of N (column dimension) M <= N <= M+P 20.10 Threshold value of test ratio. T Put T to test the error exits 1 Code to interpret the seed GLM 8 List matrix types on next line if 0 < NTYPES < 8
The first line of the input file must contain the characters GLM in columns 1-3. Lines 2-9 are read using list-directed input and specify the following values:
| line 2: | The number of values M, P, and N |
| line 3: | Values of M (row dimension) |
| line 4: | Values of P (row dimension) |
| line 5: | Values of N (column dimension), note M 545#545 N 545#545 M+P |
| line 6: | THRESH, the threshold value for the test ratios |
| line 7: | TSTERR, flag to test the error exits |
| line 8: | An integer code to interpret the random number seed. |
| = 0: Set the seed to a default value before each run | |
| = 1: Initialize the seed to a default value only before the first run | |
| = 2: Like 1, but use the seed values on the next line | |
| line 9 : | If line 8 was 2, four integer values for the random number seed |
| Otherwise, the path GLM followed by the number of matrix types NTYPES | |
| line 10: | If 535#535, then specifies matrix types to be tested. |