Many simple statistical operations, including calculation of summary statistics, ttests, one and twoway analysis of variance and nonparametric tests are provided by procedures in the Library:
DESCRIBE 
calculates summary statistics for variates 

TALLY 
forms a simple tally table of the distinct values in a vector 
TTEST 
performs a one or twosample ttest 
A2WAY 
performs analysis of variance of a balanced or unbalanced design with up to two treatment factors 
A2DISPLAY 
provides further output following an analysis of variance by A2WAY 
A2KEEP 
copies information from an A2WAY analysis into Genstat data structures 
AONEWAY 
provides oneway analysis of variance 
BLANDALTMAN 
produces BlandAltman plots to assess the agreement between two variates 
CHISQUARE 
calculates chisquare statistics for one and twoway tables 
CHIPERMTEST 
performs a random permutation test for a twodimensional contingency table 
BNTEST 
calculates one or twosample binomial tests 
PNTEST 
calculates one or twosample Poisson tests 
FCORRELATION 
forms the product moment correlation matrix for a list of variates, and tests whether the correlations are zero 
PRCORRELATION 
calculates probabilities for product moment correlations 
CDESCRIBE 
calculates summary statistics and tests of circular data 
CASSOCIATION 
calculates measures of association for circular data 
CCOMPARE 
tests whether samples from circular distributions have a common mean direction or have identical distributions 
FRIEDMAN 
performs Friedman’s nonparametric analysis of variance 
GSTATISTIC 
calculates the gamma statistic of agreement for ordinal data 
HCOMPAREGROUPINGS 
calculates the Rand index, adjusted Rand index or Jaccard index to compare groupings defined by two factors 
KAPPA 
calculates a kappa coefficient of agreement for nominally scaled data 
KCONCORDANCE 
calculates Kendall’s Coefficient of Concordance (synonym CONCORD ) 
KOLMOG2 
performs a KolmogorovSmirnoff twosample test 
KRUSKAL 
carries out a KruskalWallis oneway analysis of variance 
KTAU 
calculates Kendall’s rank correlation coefficient τ 
LCONCORDANCE 
calculates Lin’s concordance correlation coefficient 
MANNWHITNEY 
performs a MannWhitney U test 
MCNEMAR 
performs McNemar’s test for the significance of changes 
MCOMPARISON 
performs pairwise multiple comparison tests within a table of means 
QCOCHRAN 
performs Cochran’s Q test for differences between relatedsamples 
CATRENDTEST 
calculates the CochranArmitage chisquare test for trend 
CMHTEST 
performs the CochranMantelHaenszel test 
RUNTEST 
performs a test of randomness of a sequence of observations 
SIGNTEST 
performs a one or two sample sign test 
SPEARMAN 
calculates Spearman’s rank correlation coefficient 
STEEL 
performs Steel’s manyone rank test 
WILCOXON 
performs a Wilcoxon MatchedPairs (SignedRank) test 
STTEST 
calculates the sample size for ttests (including equivalence tests) 
SBNTEST 
calculates the sample size for binomial tests 
SCORRELATION 
calculates the sample size to detect specified correlations 
SLCONCORDANCE 
calculates the sample size for Lin’s concordance coefficient 
SMANNWHITNEY 
calculates sample sizes for the MannWhitney test 
SMCNEMAR 
calculates sample sizes for McNemar’s test 
SPRECISION 
calculates the sample size to obtain a specified precision 
SSIGNTEST 
calculates the sample size for a sign test 
There are also facilities for fitting or assessing statistical distributions:
DISTRIBUTION 
estimates the parameters of continuous and discrete distributions 

BBINOMIAL 

EDFTEST 
performs empiricaldistributionfunction goodnessoffit tests 
FDRMIXTURE 
estimates false discovery rates using mixture distributions 
KERNELDENSITY 
uses kernel density estimation to estimate a sample density 
NORMTEST 
performs tests of univariate and/or multivariate Normality 
PRCORRELATION 
calculates probabilities for product moment correlations 
PRDOUBLEPOISSON 
calculates the probability density for the double Poisson distribution 
PRMANNWHITNEYU 
calculates probabilities for the MannWhitney U statistic 
PRSPEARMAN 
calculates probabilities for Spearman’s rank correlation statistic 
PRWILCOXON 
calculates probabilities for the Wilcoxon signedrank statistic 
WSTATISTIC 
calculates the ShapiroWilk test for Normality 