Declaration: 
Anova1F (Data: TDoubleArray; TmLevel: TIntArray; var SSTm, SSErr, SSTotal: double; var DFTm, DFErr, DFTotal: integer; var FStat: double): double;

The function Anova1F performs a onefactorial ANOVA (analysis of variances). The data to be analysed must be stored in the array Data, the integer array TmLevel contains the corresponding group numbers (level of treatment). On return the function delivers the pvalue of the ANOVA, or if the returned value is negative one of the following error codes:
1 ... no groups defined
2 ... too many groups defined
3 ... F value is undefined (MS_{bw} and MS_{wi} are both zero)
4 ... Data and TmLevel arrays have different lengths
If the returned function value is positive or zero, the following variable parameters contain more details on the analysis of variances:
SSTm  sum of squares of treatments 
SSErr  sum of squares of errors 
SSTotal  total sum of squares 
DFTm  degrees of freedom of treatments 
DFErr  degrees of freedom of errors 
DFTotal  total number of degrees of freedom 
FStat  F value of the ANOVA 

