You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Classes > TMtxAnova Class
Dew Stats for .NET
ContentsIndexHome
Example

How to setup and run two sample t-test.

using Dew.Stats.Units; using Dew.Stats; using Dew.Math; namespace Dew.Examples { private void Example() { TMtxAnova an1 = new TMtxAnova(this); try { an1.Data.SetIt(6, 2, false, new double[] { 1, 2, 2, 3, 5, 7, 12, 1, 5, 8, 3, 8 }); an1.IsAnova1 = false; // do two-way ANOVA an1.Replications = 3; // three rows per "group" // output ANOVA table to grid1 an1.Recalc(); double aresult = an1.Anova2Res.FCrit; } finally { an1.Free(); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.