Changeset 9936 for branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs
- Timestamp:
- 09/04/13 17:14:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs
r9923 r9936 288 288 } 289 289 290 for (int i = 0; i < res.Count(); i++) { 291 if (res[i] < 0.1) { 292 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 293 } else { 294 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 295 } 290 // p-value is below significance level and thus the null hypothesis (data is normally distributed) is rejected. 291 if (res.Any(x => x < 0.05)) { 292 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Warning; })); 293 } else { 294 this.Invoke(new Action(() => { normalityLabel.Image = HeuristicLab.Analysis.Statistics.Resources.Default; })); 296 295 } 297 296 }
Note: See TracChangeset
for help on using the changeset viewer.