protected override void EndProcessing() { var hypo = TestingHelper.GetOneSampleHypothesis(Alternate); var test = new SignTest(_data.ToArray(), HypothesizedMedian, hypo) { Size = Size }; WriteObject(test); }
protected override void EndProcessing() { var hypo = TestingHelper.GetOneSampleHypothesis(Alternate); var test = new BinomialTest(SuccesCount, TrialCount, Probability, hypo) { Size = Size }; WriteObject(test); }
protected override void EndProcessing() { var hypo = TestingHelper.GetOneSampleHypothesis(Alternate); var mat = new ConfusionMatrix(_data.ToIntMatrix()); var test = new FisherExactTest(mat, hypo) { Size = Size }; WriteObject(test); }
protected override void EndProcessing() { var hypo = TestingHelper.GetOneSampleHypothesis(Alternate); var test = new WilcoxonSignedRankTest( _data.ToArray(), HypothesizedMean, hypo, Exact ? true : (Nullable <bool>)null, !NoAdjustForTies) { Size = Size }; WriteObject(test); }
protected override void EndProcessing() { var hypo = TestingHelper.GetOneSampleHypothesis(Alternate); TTest test = null; if (ParameterSetName == "Samples") { test = new TTest(_data.ToArray(), HypothesizedMean, hypo); } else if (ParameterSetName == "Mean") { test = new TTest(Mean, StdDev, Samples, HypothesizedMean, hypo); } else if (ParameterSetName == "SE") { test = new TTest(Value, StandardError, (double)DegreesOfFreedom, HypothesizedMean, hypo); } test.Size = Size; WriteObject(test); }