Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/02/13 14:43:27 (11 years ago)
Author:
ascheibe
Message:

#2031 added missing static modifiers and removed unused variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/SampleSizeDetermination.cs

    r10017 r10019  
    2525
    2626namespace HeuristicLab.Analysis.Statistics {
    27   public class SampleSizeDetermination {
     27  public static class SampleSizeDetermination {
    2828    /// <summary>
    2929    /// Determines for a given sample the required sample size as described in
     
    5858      double s = samples.EstimatedStandardDeviation();
    5959      double z = alglib.invnormaldistribution((conf + 1) / 2);
    60       double n = samples.Count();
    6160
    6261      double result = Math.Pow(z, 2) * (Math.Pow(s, 2) / Math.Pow(e, 2));
Note: See TracChangeset for help on using the changeset viewer.