Revision 444, 1.6 kB
(checked in by vbarta, 15 years ago)
|
more enorm tests
|
Rev | Line | |
---|
[443] | 1 | data = ( |
---|
| 2 | { |
---|
| 3 | class = "epdf_harness"; |
---|
| 4 | epdf = { |
---|
| 5 | class = "enorm<ldmat>"; |
---|
| 6 | mu = [ 1.1, -1.0 ]; |
---|
| 7 | R = ( "matrix", 2, 2, [ 1.0, -0.5, -0.5, 2.0 ] ); |
---|
| 8 | rv : |
---|
| 9 | { |
---|
| 10 | class = "RV"; |
---|
| 11 | names = ( "x", "y" ); |
---|
| 12 | }; |
---|
| 13 | }; |
---|
| 14 | mean = [ 1.1, -1.0 ]; |
---|
| 15 | variance = [ 1, 2 ]; |
---|
| 16 | support = ( "matrix", 2, 2, [ -5.0, 5.0, -5.0, 5.0 ] ); |
---|
| 17 | integral = 1.0; |
---|
| 18 | }, |
---|
| 19 | { |
---|
| 20 | class = "epdf_harness"; |
---|
| 21 | epdf = { |
---|
| 22 | class = "enorm<fsqmat>"; |
---|
| 23 | mu = [ 0.0, 0.0 ]; |
---|
| 24 | R = ( "matrix", 2, 2, [ 5.0, -0.05, -0.05, 5.2 ] ); |
---|
| 25 | rv : |
---|
| 26 | { |
---|
| 27 | class = "RV"; |
---|
| 28 | names = ( "x" ); |
---|
| 29 | }; |
---|
| 30 | }; |
---|
| 31 | mean = [ 0.0, 0.0 ]; |
---|
| 32 | variance = [ 5.0, 5.2 ]; |
---|
| 33 | support = ( "matrix", 2, 2, [ -10.0, 10.0, -10.0, 10.0 ] ); |
---|
| 34 | nbins = [ 200, 200 ]; |
---|
| 35 | integral = 1.0; |
---|
[444] | 36 | }, |
---|
| 37 | { |
---|
| 38 | class = "epdf_harness"; |
---|
| 39 | epdf = { |
---|
| 40 | class = "enorm<ldmat>"; |
---|
| 41 | mu = 3.0; |
---|
| 42 | R = 1.0; |
---|
| 43 | rv : |
---|
| 44 | { |
---|
| 45 | class = "RV"; |
---|
| 46 | names = ( "a" ); |
---|
| 47 | }; |
---|
| 48 | }; |
---|
| 49 | mean = 3.0; |
---|
| 50 | lognc = 2.11768; |
---|
| 51 | variance = [ 1 ]; |
---|
| 52 | }, |
---|
| 53 | { |
---|
| 54 | class = "epdf_harness"; |
---|
| 55 | epdf = { |
---|
| 56 | class = "enorm<ldmat>"; |
---|
| 57 | mu = 7.0; |
---|
| 58 | R = 1.0; |
---|
| 59 | rv : |
---|
| 60 | { |
---|
| 61 | class = "RV"; |
---|
| 62 | names = ( "b" ); |
---|
| 63 | }; |
---|
| 64 | }; |
---|
| 65 | mean = 7.0; |
---|
| 66 | variance = [ 1 ]; |
---|
| 67 | }, |
---|
| 68 | { |
---|
| 69 | class = "epdf_harness"; |
---|
| 70 | epdf = { |
---|
| 71 | class = "enorm<ldmat>"; |
---|
| 72 | mu = -3.0; |
---|
| 73 | R = 2.0; |
---|
| 74 | rv : |
---|
| 75 | { |
---|
| 76 | class = "RV"; |
---|
| 77 | names = ( "a" ); |
---|
| 78 | }; |
---|
| 79 | }; |
---|
| 80 | mean = -3.0; |
---|
| 81 | variance = [ 2 ]; |
---|
| 82 | }, |
---|
| 83 | { |
---|
| 84 | class = "epdf_harness"; |
---|
| 85 | epdf = { |
---|
| 86 | class = "enorm<ldmat>"; |
---|
| 87 | mu = ( "matrix", 1, 2, [ 0.0, 2.0 ] ); |
---|
| 88 | R = ( "matrix", 2, 2, [ 2.0, 0.0, 0.0, 0.5 ] ); |
---|
| 89 | rv : |
---|
| 90 | { |
---|
| 91 | class = "RV"; |
---|
| 92 | names = ( "a", "b" ); |
---|
| 93 | }; |
---|
| 94 | }; |
---|
| 95 | mean = [ 0.0, 2.0 ]; |
---|
| 96 | variance = [ 2.0, 0.5 ]; |
---|
[443] | 97 | } ); |
---|
| 98 | |
---|