Exemple #1
0
        protected override void EndProcessing()
        {
            var dist = new WeibullDistribution(Shape, Scale);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Exemple #2
0
        protected override void EndProcessing()
        {
            var dist = new BernoulliDistribution(Mean);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Exemple #3
0
        protected override void EndProcessing()
        {
            var dist = new TDistribution(DegreesOfFreedom);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

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

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

            WriteObject(obj);
        }
Exemple #6
0
        protected override void EndProcessing()
        {
            var dist = new PoissonDistribution(Lambda);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

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

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

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

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

            WriteObject(obj);
        }
Exemple #11
0
        protected override void EndProcessing()
        {
            var dist = new GeometricDistribution(ProbabilityOfSuccess);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

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

            WriteObject(obj);
        }
Exemple #13
0
        protected override void EndProcessing()
        {
            var dist = new ExponentialDistribution(Rate);
            var obj  = DistributionHelper.AddConvinienceMethods(dist);

            WriteObject(obj);
        }
Exemple #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);
        }
Exemple #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);
        }