Basic and nonparametric statistics
Many simple statistical operations, including calculation of summary statistics, t-tests, one- and
two-way analysis of variance and non-parametric tests are provided by procedures in the basic
and nonparametric modules of the Library:
calculates summary statistics for variates
calculates summary statistics and tests of circular data
forms a simple tally table of the distinct values in a vector
performs analysis of variance of a balanced or unbalanced design
with up to two treatment factors
provides further output following an analysis of variance by
A2WAY
copies information from an
A2WAY analysis into
GenStat data structures
provides one-way analysis of variance
calculates chi-square statistics for one- and two-way tables
performs a one- or two-sample t-test
calculates one- or two-sample binomial tests
calculates one- or two-sample Poisson tests
performs Friedman's nonparametric analysis of variance
calculates the gamma statistic of agreement for ordinal
data
calculates a kappa coefficient of agreement for nominally scaled
data
calculates Kendall's Coefficient of Concordance (synonym
CONCORD)
performs a Kolmogorov-Smirnoff two-sample test
carries out a Kruskal-Wallis one-way analysis of variance
calculates Kendall's rank correlation coefficient τ
calculates Lin's concordance correlation coefficient
performs a Mann-Whitney U test
performs McNemar's test for the significance of changes
calculates probabilities for product moment
correlations
performs Cochran's Q test for differences between related-samples
performs a test of randomness of a sequence of observations
performs a one or two sample sign test
calculates Spearman's Rank Correlation Coefficient
performs a Wilcoxon Matched-Pairs (Signed-Rank) test
calculates the sample size for t-tests (including equivalence
tests)
calculates the sample size for binomial tests
calculates the sample size to detect specified
correlations
calculates the sample size for Lin's concordance
coefficient
calculates sample sizes for the Mann-Whitney test
calculates sample sizes for McNemar's test
calculates the sample size to obtain a specified precision
calculates the sample size for a sign test
GenStat has commands for calculating summary statistics from survey data
forms tables of summaries of the values of variates classified
by one or more factors
forms tables of summaries of variates classified by multiple-response factors
performs generalized calibration of survey data
modifies survey weights adjusting to ensure that their overall
sum weights remains unchanged
analyses stratified random surveys by expansion or ratio
raising
tabulates data from random surveys, including multistage
surveys and surveys with unequal probabilities of selection
forms survey weights
There are also facilities for fitting or assessing statistical distributions:
estimates the parameters of continuous and discrete
distributions
estimates false discovery rates using mixture distributions
uses kernel density estimation to estimate a sample
density
performs tests of univariate and/or multivariate normality