/** * Returns a value that is intended to estimate the mean of the distribution, if the distribution is * essentially normal, by using the median absolute deviation to remove the effect of * erroneous massive outliers. */ public double estimateSdViaMad() { return 1.4826 * getMedianAbsoluteDeviation(); }
/** * Returns a value that is intended to estimate the mean of the distribution, if the distribution is * essentially normal, by using the median absolute deviation to remove the effect of * erroneous massive outliers. */ public double estimateSdViaMad() { return 1.4826 * getMedianAbsoluteDeviation(); }
/** * Returns a value that is intended to estimate the mean of the distribution, if the distribution is * essentially normal, by using the median absolute deviation to remove the effect of * erroneous massive outliers. */ public double estimateSdViaMad() { return 1.4826 * getMedianAbsoluteDeviation(); }
@Test public void testMad() { final int[] is = {4,4,4,4,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8}; final Histogram<Integer> histo = new Histogram<>(); for (final int i : is) histo.increment(i); Assert.assertEquals(7d, histo.getMedian()); Assert.assertEquals(1d, histo.getMedianAbsoluteDeviation()); Assert.assertTrue(abs(histo.estimateSdViaMad() - 1.4826) < 0.0001); }
metrics.MEDIAN_INSERT_SIZE = histogram.getMedian(); metrics.MODE_INSERT_SIZE = histogram.getMode(); metrics.MEDIAN_ABSOLUTE_DEVIATION = histogram.getMedianAbsoluteDeviation();
metrics.MEDIAN_INSERT_SIZE = histogram.getMedian(); metrics.MODE_INSERT_SIZE = histogram.getMode(); metrics.MEDIAN_ABSOLUTE_DEVIATION = histogram.getMedianAbsoluteDeviation();
SD_COVERAGE = highQualityDepthHistogram.getStandardDeviation(); MEDIAN_COVERAGE = highQualityDepthHistogram.getMedian(); MAD_COVERAGE = highQualityDepthHistogram.getMedianAbsoluteDeviation();
SD_COVERAGE = highQualityDepthHistogram.getStandardDeviation(); MEDIAN_COVERAGE = highQualityDepthHistogram.getMedian(); MAD_COVERAGE = highQualityDepthHistogram.getMedianAbsoluteDeviation();