Changeset 12690 for trunk/sources/HeuristicLab.Analysis.Statistics.Views/3.3/StatisticalTestsView.cs
- Timestamp:
- 07/08/15 15:42:47 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Statistics.Views/3.3/StatisticalTestsView.cs
r12684 r12690 383 383 private void CalculateAllGroupsTest() { 384 384 double pval = KruskalWallisTest.Test(data); 385 pValTextBox.Text = pval.ToString(); 386 if (pval < significanceLevel) { 387 Invoke(new Action(() => { 385 DisplayAllGroupsTextResults(pval); 386 } 387 388 private void DisplayAllGroupsTextResults(double pval) { 389 if (InvokeRequired) { 390 Invoke((Action<double>)DisplayAllGroupsTextResults, pval); 391 } else { 392 pValTextBox.Text = pval.ToString(); 393 if (pval < significanceLevel) { 388 394 groupCompLabel.Image = VSImageLibrary.Default; 389 395 groupComTextLabel.Text = "There are groups with different distributions"; 390 })); 391 } else { 392 Invoke(new Action(() => { 396 } else { 393 397 groupCompLabel.Image = VSImageLibrary.Warning; 394 398 groupComTextLabel.Text = "Groups have an equal distribution"; 395 } ));399 } 396 400 } 397 401 }
Note: See TracChangeset
for help on using the changeset viewer.