Changeset 10019
- Timestamp:
- 10/02/13 14:43:27 (11 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/KruskalWallis.cs
r10017 r10019 24 24 25 25 namespace HeuristicLab.Analysis.Statistics { 26 public class KruskalWallis {26 public static class KruskalWallis { 27 27 /// <summary> 28 28 /// Performs the Kruskal-Wallis test and returns the p-Value. -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeDetermination.cs
r10017 r10019 25 25 26 26 namespace HeuristicLab.Analysis.Statistics { 27 public class SampleSizeDetermination {27 public static class SampleSizeDetermination { 28 28 /// <summary> 29 29 /// Determines for a given sample the required sample size as described in … … 58 58 double s = samples.EstimatedStandardDeviation(); 59 59 double z = alglib.invnormaldistribution((conf + 1) / 2); 60 double n = samples.Count();61 60 62 61 double result = Math.Pow(z, 2) * (Math.Pow(s, 2) / Math.Pow(e, 2));
Note: See TracChangeset
for help on using the changeset viewer.