Changeset 1549 for trunk/sources/HeuristicLab.StatisticalAnalysis/3.2/MannWhitneyWilcoxonTestControl.cs
- Timestamp:
- 04/10/09 15:21:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StatisticalAnalysis/3.2/MannWhitneyWilcoxonTestControl.cs
r1548 r1549 65 65 double[] p2 = ConvertStringToArray(p2TextBox); 66 66 if (p1.Length < 10 || p2.Length < 10) { 67 MessageBox.Show("Sample size is too small to approximate, provide at least 10 samples in each population."); 68 return; 67 MessageBox.Show("Caution: Sample size is too small for good approximation, treat the results carefully. Provide at least 10 samples in each population."); 69 68 } 70 69 double alpha = Double.Parse(alphaTextBox.Text); 71 70 double pVal = MannWhitneyWilcoxonTest.TwoTailedTest(p1, p2); 72 71 if (pVal <= alpha) { 73 resultLabel.Text = "The hypothesis H0 can be rejected at " + alpha.ToString() + ", the p-Value is " + pVal.ToString() + "\nThe samples are likely notto stem from the same distribution.";72 resultLabel.Text = "The hypothesis H0 can be rejected at " + alpha.ToString() + ", the approximated p-Value is " + pVal.ToString() + "\nThe samples are not likely to stem from the same distribution."; 74 73 } else { 75 74 resultLabel.Text = "The hypothesis H0 cannot be rejected at " + alpha.ToString();
Note: See TracChangeset
for help on using the changeset viewer.