C# Class Accord.Statistics.Testing.MultinomialTest

Inheritance: Accord.Statistics.Testing.ChiSquareTest
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
MultinomialTest ( double sampleProportions, int sampleSize ) : System

Creates a new Multinomial test.

MultinomialTest ( double sampleProportions, int sampleSize, double hypothesizedProportions ) : System

Creates a new Multinomial test.

MultinomialTest ( int sampleCounts ) : System

Creates a new Multinomial test.

MultinomialTest ( int sampleCounts, double hypothesizedProportions ) : System

Creates a new Multinomial test.

MultinomialTest ( int sample, int categories ) : System

Creates a new Multinomial test.

MultinomialTest ( int sample, int categories, double hypothesizedProportions ) : System

Creates a new Multinomial test.

Protected Methods

Method Description
Compute ( int sampleSize, double observed, double expected ) : void

Computes the Multinomial test.

Method Details

Compute() protected method

Computes the Multinomial test.
protected Compute ( int sampleSize, double observed, double expected ) : void
sampleSize int
observed double
expected double
return void

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( double sampleProportions, int sampleSize ) : System
sampleProportions double The proportions for each category in the sample.
sampleSize int The number of observations in the sample.
return System

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( double sampleProportions, int sampleSize, double hypothesizedProportions ) : System
sampleProportions double The proportions for each category in the sample.
sampleSize int The number of observations in the sample.
hypothesizedProportions double The hypothesized category proportions. Default is /// to assume uniformly equal proportions.
return System

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( int sampleCounts ) : System
sampleCounts int The number of occurrences for each category in the sample.
return System

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( int sampleCounts, double hypothesizedProportions ) : System
sampleCounts int The number of occurrences for each category in the sample.
hypothesizedProportions double The hypothesized category proportions. Default is /// to assume uniformly equal proportions.
return System

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( int sample, int categories ) : System
sample int The categories for each observation in the sample.
categories int The number of possible categories.
return System

MultinomialTest() public method

Creates a new Multinomial test.
public MultinomialTest ( int sample, int categories, double hypothesizedProportions ) : System
sample int The categories for each observation in the sample.
categories int The number of possible categories.
hypothesizedProportions double The hypothesized category proportions. Default is /// to assume uniformly equal proportions.
return System