Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 188.8.131.52 (184.108.40.206)
|C#||Visual Basic||Visual C++||F#|
public class OneWayAnovaResult
Public Class OneWayAnovaResult
public ref class OneWayAnovaResult
type OneWayAnovaResult = class end
XNA Framework Only
.NET Compact Framework Only
Gets design factor variance data.
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Gets residual variance data.
Gets the result of the F test for the influence of the factor.
Gets total variance data.
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 OneWayAnovaTest(IList<(Of <<'(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);