Changeset 9329 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.cs
- Timestamp:
- 03/21/13 13:26:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.cs
r9320 r9329 26 26 using System.Windows.Forms; 27 27 using HeuristicLab.Analysis.AlgorithmBehavior.Analyzers; 28 using HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views; 28 29 using HeuristicLab.Core.Views; 29 30 using HeuristicLab.Data; … … 206 207 DoubleMatrix pValsMatrix = new DoubleMatrix(1, stringConvertibleMatrixView.Content.Columns); 207 208 pValsMatrix.ColumnNames = stringConvertibleMatrixView.Content.ColumnNames; 208 pValsMatrix.RowNames = new string[] { "p-Value s" };209 pValsMatrix.RowNames = new string[] { "p-Value" }; 209 210 210 211 double val; … … 232 233 } 233 234 234 DoubleMatrix pValsMatrix = new DoubleMatrix( 1, stringConvertibleMatrixView.Content.Columns);235 DoubleMatrix pValsMatrix = new DoubleMatrix(3, stringConvertibleMatrixView.Content.Columns); 235 236 pValsMatrix.ColumnNames = stringConvertibleMatrixView.Content.ColumnNames; 236 pValsMatrix.RowNames = new string[] { "p-Value s" };237 pValsMatrix.RowNames = new string[] { "p-Value", "Cohen's d", "Hedges' g" }; 237 238 238 239 double bothtails; … … 242 243 alglib.mannwhitneyutest(data[colIndex], data[colIndex].Length, data[i], data[i].Length, out bothtails, out lefttail, out righttail); 243 244 pValsMatrix[0, i] = bothtails; 245 pValsMatrix[1, i] = SampleSizeDetermination.CalculateCohensD(data[colIndex], data[i]); 246 pValsMatrix[2, i] = SampleSizeDetermination.CalculateHedgesG(data[colIndex], data[i]); 244 247 } 245 248
Note: See TracChangeset
for help on using the changeset viewer.