Changeset 10017 for branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeInfluenceView.cs
- Timestamp:
- 10/02/13 13:48:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeInfluenceView.cs
r10016 r10017 256 256 if (yValue.Any(x => !x.HasValue)) return; 257 257 258 double y = SampleSizeDetermination.DetermineSampleSizeByEstimatingMean (yValue.Select(x => x.Value).ToArray());258 double y = SampleSizeDetermination.DetermineSampleSizeByEstimatingMeanForLargeSampleSizes(yValue.Select(x => x.Value).ToArray()); 259 259 sampleSizeTextBox.Text = y.ToString(); 260 260 } … … 315 315 } 316 316 matrix.ColumnNames = columnNames; 317 matrix.RowNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile", "Lower Confidence ", "Upper Confidence" };317 matrix.RowNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile", "Lower Confidence Int.", "Upper Confidence Int." }; 318 318 319 319 for (int i = 0; i < seriesCache.Count; i++) { 320 320 Series series = seriesCache.ElementAt(i).Value; 321 321 double[] seriesValues = series.Points.Select(p => p.YValues[0]).OrderBy(d => d).ToArray(); 322 Tuple<double, double> confIntervals = new Tuple<double, double>(double.NaN, double.NaN); 323 if (seriesValues.Count() > 1) 324 confIntervals = seriesValues.ConfidenceIntervals(0.95); 322 Tuple<double, double> confIntervals = seriesValues.ConfidenceIntervals(0.95); 325 323 matrix[0, i] = seriesValues.Length; 326 324 matrix[1, i] = seriesValues.Min();
Note: See TracChangeset
for help on using the changeset viewer.