A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://accord-framework.net/docs/html/T_Accord_Statistics_Testing_OneWayAnova.htm below:

OneWayAnova Class

One-way Analysis of Variance (ANOVA).

Inheritance Hierarchy

SystemObject
  Accord.Statistics.TestingOneWayAnova

Namespace:  Accord.Statistics.Testing
Assembly:

Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0

Syntax
[SerializableAttribute]
public class OneWayAnova : IAnova
<SerializableAttribute>
Public Class OneWayAnova
	Implements IAnova
Request Example View Source

The OneWayAnova type exposes the following members.

Constructors Properties   Name Description FTest

Gets the F-Test produced by this one-way ANOVA.

Table

Gets the ANOVA results in the form of a table.

Top Methods   Name Description Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.) Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.) GetHashCode

Serves as the default hash function.

(Inherited from Object.) GetType

Gets the Type of the current instance.

(Inherited from Object.) MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.) ToString

Returns a string that represents the current object.

(Inherited from Object.) Top Extension Methods   Name Description HasMethod

Checks whether an object implements a method with the given name.

(Defined by ExtensionMethods.) IsEqual

Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.

(Defined by Matrix.) To(Type) Overloaded.

Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.

(Defined by ExtensionMethods.) ToT Overloaded.

Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.

(Defined by ExtensionMethods.) Top Remarks Examples

The following is the same example given in Wikipedia's page for the F-Test [1]. Suppose one would like to test the effect of three levels of a fertilizer on plant growth.

To achieve this goal, an experimenter has divided a set of 18 plants on three groups, 6 plants each. Each group has received different levels of the fertilizer under question.

After some months, the experimenter registers the growth for each plant:

double[][] samples =
{
    new double[] {  6,  8,  4,  5,  3,  4 }, 
    new double[] {  8, 12,  9, 11,  6,  8 }, 
    new double[] { 13,  9, 11,  8,  7, 12 }, 
};

Now, he would like to test whether the different fertilizer levels has indeed caused any effect in plant growth. In other words, he would like to test if the three groups are indeed significantly different.

OneWayAnova anova = new OneWayAnova(samples);

After the Anova object has been created, one can display its findings in the form of a standard ANOVA table by binding anova.Table to a DataGridView or any other display object supporting data binding. To illustrate, we could use Accord.NET's DataGridBox to inspect the table's contents.

DataGridBox.Show(anova.Table);

Result in:

The p-level for the analysis is about 0.002, meaning the test is significant at the 5% significance level. The experimenter would thus reject the null hypothesis, concluding there is a strong evidence that the three groups are indeed different. Assuming the experiment was correctly controlled, this would be an indication that the fertilizer does indeed affect plant growth.

[1] http://en.wikipedia.org/wiki/F_test

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4