public static TwoWayAnovaResult TwoWayAnovaTest( Sample[,] samples )
Public Shared Function TwoWayAnovaTest ( samples As Sample(,) ) As TwoWayAnovaResult
public: static TwoWayAnovaResult^ TwoWayAnovaTest( array<Sample^,2>^ samples )
static member TwoWayAnovaTest : samples : Sample[,] -> TwoWayAnovaResult
A two-way ANOVA analyzes the effects of two seperate input factors, each with two or more nominal values, on a continuous output variable.
The only design supported is complete and balanced: samples must exist for all combinations of treatment factors, and each of those samples must contain the same number of data points. These samples are passed to the method as a two-dimensional array samples, whose (i, j)th entry contains the sample with ith ith row factor value and jth column factor value.
For more information on ANOVA tests and when to use them, see the remarks for OneWayAnovaTest(Sample).