Пример #1
0
        protected override void EndProcessing()
        {
            var dist = new WeibullDistribution(Shape, Scale);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #2
0
        protected override void EndProcessing()
        {
            var dist = new BernoulliDistribution(Mean);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #3
0
        protected override void EndProcessing()
        {
            var dist = new TDistribution(DegreesOfFreedom);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #4
0
        protected override void EndProcessing()
        {
            var dist = new UniformDiscreteDistribution(Minimum, Maximum);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #5
0
        protected override void EndProcessing()
        {
            var dist = new NormalDistribution(Mean, StandardDeviation);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #6
0
        protected override void EndProcessing()
        {
            var dist = new PoissonDistribution(Lambda);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #7
0
        protected override void EndProcessing()
        {
            var dist = new LognormalDistribution(MeanLog, ScaleLog);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #8
0
        protected override void EndProcessing()
        {
            var dist = new NegativeBinomialDistribution(Failures, Probability);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #9
0
        protected override void EndProcessing()
        {
            var dist = new HypergeometricDistribution(PopulationSize, Successes, Samples);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #10
0
        protected override void EndProcessing()
        {
            var dist = new LogisticDistribution(Location, Scale);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #11
0
        protected override void EndProcessing()
        {
            var dist = new GeometricDistribution(ProbabilityOfSuccess);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #12
0
        protected override void EndProcessing()
        {
            var dist = new GammaDistribution(Theta, K);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #13
0
        protected override void EndProcessing()
        {
            var dist = new ExponentialDistribution(Rate);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #14
0
        protected override void EndProcessing()
        {
            BetaDistribution dist;

            if (ParameterSetName == "Alpha")
            {
                dist = new BetaDistribution(Alpha, Beta);
            }
            else
            {
                dist = new BetaDistribution(Successes, Trials);
            }
            var obj = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Пример #15
0
        protected override void EndProcessing()
        {
            EmpiricalDistribution dist;

            if (double.IsNaN(Smoothing))
            {
                dist = new EmpiricalDistribution(_data.ToArray());
            }
            else
            {
                dist = new EmpiricalDistribution(_data.ToArray(), Smoothing);
            }

            var obj = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }