Accord.Statistics.Testing.SignTest.SignTest C# (CSharp) Method

SignTest() public method

Tests the null hypothesis that the sample median is equal to a hypothesized value.
public SignTest ( int positiveSamples, int totalSamples, OneSampleHypothesis alternate ) : System
positiveSamples int The number of positive samples.
totalSamples int The total number of samples.
alternate OneSampleHypothesis The alternative hypothesis (research hypothesis) to test.
return System
        public SignTest(int positiveSamples, int totalSamples, OneSampleHypothesis alternate)
        {
            Compute(positiveSamples, totalSamples, alternate);
        }

Same methods

SignTest::SignTest ( double sample, double hypothesizedMedian, OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis ) : System