IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Meta.Numerics.Statistics.OneWayAnovaResult Class Reference

The result of a one-way ANOVA test. More...

Properties

AnovaTestRow Factor [get, private set]
 Gets design factor variance data. More...
 
AnovaRow Residual [get, private set]
 Gets residual variance data. More...
 
AnovaRow Total [get, private set]
 Gets total variance data. More...
 
TestResult Result [get]
 Gets the result of the F test for the influence of the factor. More...
 

Detailed Description

The result of a one-way ANOVA test.

A one way ANOVA test detects the influence of a categorical factor on the mean of a measured variable, which is assumed to be normally distributed.

A one way ANOVA result is returned by the static Sample.OneWayAnovaTest(System.Collections.Generic.IList{Sample}) method.

While, fundamentally, a one-way ANOVA is a simple statistical test like any other, with a single test statistic (F) and a single associated distribution (the F distribution), some ANOVA users like to examine and report some intermediate quantities used in the computation of the test. In particular, the sum of square deviations and corresponding degrees of freedom associated with the design factor and the residual, and their sum may be of interest. Each of these appear as rows in the common tabular representation of an ANOVA test. To enable this, the class makes this information available as AnovaRow objects returned by the Factor, Residual, and Total properties. This has the unfortunate side-effect of making the AVOVA look more complicated than it really is. If you just want the test result, you can get it from the Result property.

Suppose you have sampled the heights of aliens from three planets. Heights are approximately normally distributed on each planet. You want to know whether planet-of-origin affects average height. You can do a one-way ANOVA to determine if the planet factor affects mean height.

Sample group1 = new Sample(4, 5, 6);
Sample group2 = new Sample(3, 4, 5);
Sample group3 = new Sample(5, 6, 8, 9);
OneWayAnovaResult result = Sample.OneWayAnovaTest(group1, group2, group3);
return(result.Result.RightProbability);
See also
Sample.OneWayAnovaTest(System.Collections.Generic.IList{Sample})

Property Documentation

AnovaTestRow Meta.Numerics.Statistics.OneWayAnovaResult.Factor
getprivate set
AnovaRow Meta.Numerics.Statistics.OneWayAnovaResult.Residual
getprivate set

Gets residual variance data.

Referenced by Test.SampleTest.AnovaTest().

AnovaRow Meta.Numerics.Statistics.OneWayAnovaResult.Total
getprivate set

Gets total variance data.

Referenced by Test.SampleTest.AnovaTest().

TestResult Meta.Numerics.Statistics.OneWayAnovaResult.Result
get

Gets the result of the F test for the influence of the factor.

Referenced by Test.SampleTest.AnovaTest().


The documentation for this class was generated from the following file: