This method performs an Anova test for two or more series of data.
This analysis tool performs simple analysis of variance (anova) to test the hypothesis that means from two or more samples are equal (drawn from populations with the same mean). This technique expands on the tests for two means, such as the t-test.
Visual Basic (Declaration) | |
---|---|
Public Function Anova( _ ByVal probability As Double, _ ByVal inputSeriesNames As String _ ) As AnovaResult |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnovaResult Anova( double probability, string inputSeriesNames ) |
Parameters
- probability
- The alpha value (probability that the hypothesis is rejected). Allowable range is 0-1.
Probability - inputSeriesNames
-
A comma-delimited listing of the names of the series to perform the Anova test for.
At least two series must be specified, with each series representing a group of data. Each series must have the same number of data points, otherwise an exception will be thrown.
Input Series Names
Return Value
Returns Result class from Anova TestVisual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
C# | Copy Code |
---|---|
using Dundas.Charting.WinControl; |
An ANOVA test is used to test the difference between the means of two or more groups of data.
Two or more groups of data (series) must be specified, and each series must have the same number of data points otherwise an exception will be raised.
If a specified input series does not exist in the series collection at the time of the method call than an exception will be thrown.
The results of the test are returned using an AnovaTestResult object, and the following is a brief description of the properties of this class:
Member | Description |
---|---|
SumOfSquaresBetweenGroups | Sum of squares between groups. |
SumOfSquaresWithinGroups | Sum of squares within groups. |
SumOfSquaresTotal | Total sum of squares. |
DegreeOfFreedomBetweenGroups | Degree of freedom between groups. |
DegreeOfFreedomWithinGroups | Degree of freedom within groups. |
DegreeOfFreedomTotal | Total degree of freedom. |
MeanSquareVarianceBetweenGroups | The mean square of variance between the groups. |
FRatio | The F ratio. |
FCriticalValue | The F critical value. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family