Execute() public method

public Execute ( ) : double
return double
        public ABsoluteMaybeStatisticsResult Execute()
        {
            var zscore = new ZScore(_experiment.Options);
            var pvalue = new PValue(zscore.Execute()).Execute();

            var insufficientSampleSize = _experiment.Options.Any(o => o.Participants < 10);

            var best = _experiment.Options.OrderByDescending(o => o.ConversionRate).ThenByDescending(o => o.Conversions).First();
            var worst = _experiment.Options.OrderByDescending(o => o.ConversionRate).ThenByDescending(o => o.Conversions).Last();

            return new ABsoluteMaybeStatisticsResult(insufficientSampleSize, 1 - pvalue, best, worst);
        }
        public ABsoluteMaybeStatisticsResult Execute()
        {
            var zscore = new ZScore(_experiment.Options);
            var pvalue = new PValue(zscore.Execute()).Execute();

            var insufficientSampleSize = _experiment.Options.Any(o => o.Participants < 10);

            var best  = _experiment.Options.OrderByDescending(o => o.ConversionRate).ThenByDescending(o => o.Conversions).First();
            var worst = _experiment.Options.OrderByDescending(o => o.ConversionRate).ThenByDescending(o => o.Conversions).Last();

            return(new ABsoluteMaybeStatisticsResult(insufficientSampleSize, 1 - pvalue, best, worst));
        }