You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Classes > TMtxAnova Class > TMtxAnova Properties > TMtxAnova.Replications Property
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
TMtxAnova.Replications Property

Number of observations per data matrix "cell".

Syntax
C#
Visual Basic
public int Replications;

Defines the number of observations per Data matrix "cell", where each cell includes Replications number of rows. For example, if Data has 6 rows and Replications is 2, then the "row" factor has 6/2 = 3 levels (1st level row 0..1, 2nd level row 2..3, 3rd level row 4..5). An exception is raised if A.Rows mod Replications is not zero (if A.Rows/Replications is not an integer). The Replications factor is taken into the account ONLY if IsAnova1 is false (two-way ANOVA).

Note that Data.Rows mod 3 = 0 !!

MtxAnova1.Data.SetIt(6,2,false,[1,2, 2,3, 5,7, 12,1, 5,8, 3,8]); MtxAnova1.IsAnova1 := false; // do two-way ANOVA MtxAnova1.Replications := 3; // three rows per "group" MtxAnova1.ResultDest := StringGrid1; MtxAnova1.Recalc;
MtxAnova1->Data->SetIt(6,2,false,OPENARRAY(double,(1,2, 2,3, 5,7, 12,1, 5,8, 3,8))); MtxAnova1->IsAnova1 = false; // do two-way ANOVA MtxAnova1->Replications = 3; // three rows per "group" MtxAnova1->ResultDest = StringGrid1; MtxAnova1->Recalc();
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!