C# Class Accord.Statistics.Testing.TwoSampleSignTest

Inheritance: BinomialTest
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
TwoSampleSignTest ( double sample1, double sample2, TwoSampleHypothesis alternate ) : System

Creates a new sign test for two samples.

TwoSampleSignTest ( int positiveSamples, int totalSamples, TwoSampleHypothesis alternate ) : System

Creates a new sign test for two samples.

Protected Methods

Method Description
Compute ( int positive, int total, TwoSampleHypothesis alternate ) : void

Computes the two sample sign test.

Method Details

Compute() protected method

Computes the two sample sign test.
protected Compute ( int positive, int total, TwoSampleHypothesis alternate ) : void
positive int
total int
alternate TwoSampleHypothesis
return void

TwoSampleSignTest() public method

Creates a new sign test for two samples.
public TwoSampleSignTest ( double sample1, double sample2, TwoSampleHypothesis alternate ) : System
sample1 double The first sample of observations.
sample2 double The second sample of observations.
alternate TwoSampleHypothesis The alternative hypothesis (research hypothesis) to test.
return System

TwoSampleSignTest() public method

Creates a new sign test for two samples.
public TwoSampleSignTest ( int positiveSamples, int totalSamples, TwoSampleHypothesis alternate ) : System
positiveSamples int The number of positive samples (successes).
totalSamples int The total number of samples (trials).
alternate TwoSampleHypothesis The alternative hypothesis (research hypothesis) to test.
return System