


ADDSTAT add statistic
R = ADDSTAT(X,Y)
if X is a numeric array, the basic statistics are calculated
it includes the sample SUM, the number of samples,
and the sum of sample squares
if X is a struct generated by ATEST (e.g. X=ATEST(x) ),
derived statistics are calculated
including the MEAN and STANDARD ERROR OF THE MEAN
see also: SUMSKIPNAN, COVM, SUMSQ, SEM, STAT2, STAT2RES