Returns the p-value for the KS Test against the given distribution cd . The null hypothesis of this test is that the given data set belongs to the given distribution. The alternative hypothesis is that the data set does not belong to the given distribution. @param cd the distribu
(ContinuousDistribution cd)
| 121 | * @return the p-value of the test against this distribution |
| 122 | */ |
| 123 | public double testDist(ContinuousDistribution cd) |
| 124 | { |
| 125 | double d = dCalc(cd); |
| 126 | double n = v.length(); |
| 127 | |
| 128 | return pValue(n, d); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Returns the p-value for the 2 sample KS Test against the given data set <tt>data</tt>. <br> |
no test coverage detected