You've already forked lazarus-ccr
LazStats: Fix crash in ANOVA due to Format() argument type error.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1025,7 +1025,7 @@ begin
|
|||||||
sumfreqlogvar := sumfreqlogvar + ((counts[i,j] - 1.0) * ln(V));
|
sumfreqlogvar := sumfreqlogvar + ((counts[i,j] - 1.0) * ln(V));
|
||||||
if counts[i,j] <> groupsize then equal_grp := false;
|
if counts[i,j] <> groupsize then equal_grp := false;
|
||||||
end;
|
end;
|
||||||
AReport.Add('Cell %3d %3d %3.0f %8.3f %8.3f %8.3f', [minf1+i, minf2+j, counts[i,j], XBar, V, S]);
|
AReport.Add('Cell %3d %3d %3d %8.3f %8.3f %8.3f', [minf1+i, minf2+j, counts[i,j], XBar, V, S]);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -1039,7 +1039,7 @@ begin
|
|||||||
V := RowSS - (RowSums[i] * RowSums[i] / RowCount[i]);
|
V := RowSS - (RowSums[i] * RowSums[i] / RowCount[i]);
|
||||||
V := V / (RowCount[i] - 1.0);
|
V := V / (RowCount[i] - 1.0);
|
||||||
S := sqrt(V);
|
S := sqrt(V);
|
||||||
AReport.Add('Row %3d %3.0f %8.3f %8.3f %8.3f', [minf1+i, RowCount[i], XBar, V, S]);
|
AReport.Add('Row %3d %3d %8.3f %8.3f %8.3f', [minf1+i, RowCount[i], XBar, V, S]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//Display means, variances and standard deviations for columns
|
//Display means, variances and standard deviations for columns
|
||||||
@ -1068,9 +1068,9 @@ begin
|
|||||||
AReport.Add(DIVIDER);
|
AReport.Add(DIVIDER);
|
||||||
AReport.Add('TESTS FOR HOMOGENEITY OF VARIANCE');
|
AReport.Add('TESTS FOR HOMOGENEITY OF VARIANCE');
|
||||||
AReport.Add(DIVIDER_SMALL);
|
AReport.Add(DIVIDER_SMALL);
|
||||||
AReport.Add('Hartley Fmax test statistic = %10.2f with deg.s freedom: %d and %d.', [hartley, NoGrpsA*NoGrpsB, groupsize-1]);
|
AReport.Add('Hartley Fmax test statistic: %.2f with deg.s freedom: %d and %d.', [hartley, NoGrpsA*NoGrpsB, groupsize-1]);
|
||||||
AReport.Add('Cochran C statistic = %10.2f with deg.s freedom: %d and %d.', [cochran, NoGrpsA*NoGrpsB, groupsize - 1]);
|
AReport.Add('Cochran C statistic: %.2f with deg.s freedom: %d and %d.', [cochran, NoGrpsA*NoGrpsB, groupsize - 1]);
|
||||||
AReport.Add('Bartlett Chi-square statistic = %10.2f with %4d D.F. Prob. larger value = %6.3f', [bartlett, NoGrpsA*NoGrpsB - 1, chiprob]);
|
AReport.Add('Bartlett Chi-square statistic: %.2f with %d D.F.; prob. larger value %.3f', [bartlett, NoGrpsA*NoGrpsB - 1, chiprob]);
|
||||||
AReport.Add(DIVIDER);
|
AReport.Add(DIVIDER);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
object TransFrm: TTransFrm
|
object TransFrm: TTransFrm
|
||||||
Left = 464
|
Left = 452
|
||||||
Height = 386
|
Height = 386
|
||||||
Top = 126
|
Top = 146
|
||||||
Width = 672
|
Width = 672
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
Caption = 'Transformations'
|
Caption = 'Transformations'
|
||||||
|
Reference in New Issue
Block a user