Regenerate critical values for number of runs
Generate more values to allow regression with 128 samples. Possibly a different approach was used to generate the values, or the previous table was actually using 11% critical region and had an extra value in the 12th place.
This commit is contained in:
parent
034e172033
commit
2a64b75893
1 changed files with 14 additions and 14 deletions
28
regress.c
28
regress.c
|
@ -177,20 +177,20 @@ typedef struct {
|
|||
/* Critical value for number of runs of residuals with same sign. 10%
|
||||
critical region for now */
|
||||
|
||||
static int critical_runs10[] =
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 3, 3,
|
||||
4, 4, 4, 4, 5, 5, 6, 6, 7, 7,
|
||||
7, 8, 8, 9, 9, 10, 10, 10, 11, 11,
|
||||
12, 12, 13, 13, 14, 14, 14, 15, 15, 16,
|
||||
16, 17, 17, 18, 18, 18, 19, 19, 20, 20,
|
||||
|
||||
/* Note that 66 onwards are bogus - I haven't worked out the
|
||||
critical values */
|
||||
21, 21, 22, 22, 23, 23, 23, 24, 24, 25,
|
||||
25, 26, 26, 27, 27, 28, 28, 28, 28, 28,
|
||||
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
|
||||
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
|
||||
28, 28, 28, 28, 28, 28, 28, 28, 28, 28
|
||||
static char critical_runs10[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 3, 3,
|
||||
4, 4, 4, 5, 5, 6, 6, 6, 7, 7,
|
||||
8, 8, 9, 9, 9, 10, 10, 11, 11, 12,
|
||||
12, 12, 13, 13, 14, 14, 15, 15, 16, 16,
|
||||
17, 17, 17, 18, 18, 19, 19, 20, 20, 21,
|
||||
21, 21, 22, 22, 23, 23, 24, 24, 25, 25,
|
||||
26, 26, 27, 27, 27, 28, 28, 29, 29, 30,
|
||||
30, 31, 31, 32, 32, 32, 33, 33, 34, 34,
|
||||
35, 35, 36, 36, 37, 37, 38, 38, 39, 39,
|
||||
39, 40, 40, 41, 41, 42, 42, 43, 43, 44,
|
||||
44, 45, 45, 46, 46, 46, 47, 47, 48, 48,
|
||||
49, 49, 50, 50, 51, 51, 52, 52, 53, 53,
|
||||
54, 54, 54, 55, 55, 56, 56, 57, 57, 58
|
||||
};
|
||||
|
||||
/* ================================================== */
|
||||
|
|
Loading…
Reference in a new issue