This page (revision-4) was last changed on 07-Mar-2017 17:13 by Albrecht Striffler

This page was created on 07-Mar-2017 14:03 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 07-Mar-2017 17:13 1 KB Albrecht Striffler to previous
3 07-Mar-2017 17:08 1 KB Albrecht Striffler to previous | to last
2 07-Mar-2017 14:03 1 KB Albrecht Striffler to previous | to last
1 07-Mar-2017 14:03 1 KB unknown to last

Page References

Incoming links Outgoing links
FilteredMedian2 ...nobody

Version management

Difference between version and

At line 17 changed 3 lines
var topQuartil = sort(valueHistory(history)).slice(history.length * 0.75);
var half = topQuartil.length % 2 == 0 ? (topQuartil.length / 2) - 1 : (topQuartil.length - 1) / 2
return topQuartil[half];
var sortedHistory = sort(valueHistory(history));
var topQuartil = sortedHistory.slice(history.length * 0.75);
var medianIndex = topQuartil.length % 2 == 0 ? (topQuartil.length / 2) - 1 : (topQuartil.length - 1) / 2
return topQuartil[medianIndex];