Skip to content

Commit

Permalink
p50 looks better for pSensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Mar 5, 2016
1 parent b3d54e9 commit bb9d0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/oref0-detect-sensitivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ if (!module.parent) {
avgDeltas.sort(function(a, b){return a-b});
bgis.sort(function(a, b){return a-b});
deviations.sort(function(a, b){return a-b});
for (var i=0.51; i > 0.29; i = i - 0.01) {
for (var i=0.60; i > 0.25; i = i - 0.02) {
console.error("p="+i.toFixed(2)+": "+percentile(avgDeltas, i).toFixed(2)+", "+percentile(bgis, i).toFixed(2)+", "+percentile(deviations, i).toFixed(2));
}
pSensitive = percentile(deviations, 0.60);
pSensitive = percentile(deviations, 0.50);
pResistant = percentile(deviations, 0.30);
//p30 = percentile(deviations, 0.3);

Expand Down

0 comments on commit bb9d0c9

Please sign in to comment.