Dew Stats Master .NET
TMtxAnova.WriteResultToGrid Method
Summary
Outputs results to string grid.

Class
TMtxAnova

Declaration
Procedure WriteResultToGrid(DestGrid: TStringGrid);

Description
Outputs standard ANOVA table to DestGrid string grid.
 See Also 
WriteResultToStrings 

Example 1

In this example we write the ANOVA table to StringGrid1. This is the same as connecting
ResultDest property to StringGrid1. DestGrid dimensions are adjusted automatically.

MtxANOVA1.Data.SetIt(6,2,false,[1,2, 2,3, 5,7, 12,1, 5,8, 3,8]); MtxANOVA1.FmtString := '0.00'; // 2 digits MtxANOVA1.IsAnova1 := true; // one-way ANOVA MtxANOVA1.Recalc; MtxANOVA1.WriteResultToGrid(StringGrid1);
MtxANOVA1->Data->SetIt(6,2,false,OPENARRAY(TSample,(1,2, 2,3, 5,7, 12,1, 5,8, 3,8))); MtxANOVA1->FmtString = "0.00"; // 2 digits MtxANOVA1->IsAnova1 = true; // one-way ANOVA MtxANOVA1->Recalc(); MtxANOVA1->WriteResultToGrid(StringGrid1);


Copyright 2008 Dew Research
http://www.dewresearch.com