Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/22/15 19:12:29 (7 years ago)
Author:
gkronber
Message:

#2491: removed usage of Percentile extension method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Statistics.Views/3.3/ChartAnalysisView.cs

    r12631 r13051  
    313313        double stdDev = values.StandardDeviation();
    314314        double variance = values.Variance();
    315         double percentile25 = values.Percentile(0.25);
    316         double percentile75 = values.Percentile(0.75);
     315        double percentile25 = values.Quantile(0.25);
     316        double percentile75 = values.Quantile(0.75);
    317317        double lowerAvg = values.Count() > 4 ? values.OrderBy(x => x).Take((int)(values.Count() * 0.25)).Average() : double.NaN;
    318318        double upperAvg = values.Count() > 4 ? values.OrderByDescending(x => x).Take((int)(values.Count() * 0.25)).Average() : double.NaN;
Note: See TracChangeset for help on using the changeset viewer.