Changeset 15610


Ignore:
Timestamp:
01/14/18 22:34:14 (19 months ago)
Author:
mkommend
Message:

#2876: Added interquartile range to boxplot statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs

    r15607 r15610  
    213213
    214214    private void UpdateStatistics() {
    215       DoubleMatrix matrix = new DoubleMatrix(9, seriesCache.Count);
     215      DoubleMatrix matrix = new DoubleMatrix(10, seriesCache.Count);
    216216      matrix.SortableView = false;
    217217      List<string> columnNames = new List<string>();
     
    239239      }
    240240      matrix.ColumnNames = columnNames;
    241       matrix.RowNames = new string[] { "Count", "Minimum", "Maximum", "Median", "Average", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile" };
     241      matrix.RowNames = new string[] { "Count", "Minimum", "Maximum", "Median", "Average", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile", "Interquartile Range" };
    242242
    243243      for (int i = 0; i < seriesCache.Count; i++) {
     
    253253        matrix[7, i] = seriesValues.Quantile(0.25);
    254254        matrix[8, i] = seriesValues.Quantile(0.75);
     255        matrix[9, i] = matrix[8, i] - matrix[7, i];
    255256      }
    256257      statisticsMatrixView.Content = matrix;
Note: See TracChangeset for help on using the changeset viewer.