List of directives
ADD adds extra terms to a linear, generalized linear, generalized additive, or nonlinear model.
ADDPOINTS adds points for new objects to a principal coordinates analysis.
ADISPLAY displays further output from analyses produced by ANOVA.
AFRESPONSESURFACE uses the BLKL algorithm to construct designs for estimating response surfaces.
AKEEP copies information from an ANOVA analysis into GenStat data structures.
ANOVA analyses y-variates by analysis of variance according to the model defined by earlier BLOCKSTRUCTURE, COVARIATE, and TREATMENTSTRUCTURE statements.
ASSIGN sets elements of pointers and dummies.
AXES defines the axes in each window for high-resolution graphics.
BARCHART plots barcharts in high-resolution graphics.
BASSESS assesses potential splits for regression and classification trees.
BCUT cuts a tree at a defined node, discarding nodes and information below it.
BJOIN extends a tree by joining another tree to a terminal node.
BGROW adds new branches to a node of a tree.
BLOCKSTRUCTURE defines the blocking structure of the design and hence the strata and the error terms.
BREAK suspends execution of the statements in the current channel or control structure and takes subsequent statements from the channel specified.
CALLS lists library procedures called by a procedure.
CALCULATE calculates numerical values for data structures.
CAPTION prints captions in standardized formats.
CASE introduces a "multiple-selection" control structure.
CATALOGUE displays the contents of a backing-store file.
CLOSE closes files.
CLUSTER forms a non-hierarchical classification.
COKRIGE calculates kriged estimates using a model fitted to the sample variograms and cross variograms of a set of variates.
COLOUR defines the red, green and blue intensities to be used for the GenStat colours with certain graphics devices.
COMBINE combines or omits "slices" of a multi-way data structure (table, matrix, or variate).
CONCATENATE concatenates and truncates lines (units) of text structures; allows the case of letters to be changed.
COPY forms a transcript of a job.
CORRELATE forms correlations between variates, autocorrelations of variates, and lagged cross-correlations between variates.
COVARIATE specifies covariates for use in subsequent ANOVA statements.
CVA performs canonical variates analysis.
DCLEAR clears a graphics screen.
DCONTOUR draws contour plots on a plotter or graphics monitor.
DDISPLAY redraws the current graphical display.
DEBUG puts an implicit BREAK statement after the current statement and after every NSTATEMENTS subsequent statements, until an ENDDEBUG is reached.
DECLARE declares one or more customized data structures.
DELETE deletes the attributes and values of structures.
DEVICE switches between (high-resolution) graphics devices.
DFINISH ends a sequence of related high-resolution plots.
DGRAPH draws graphs on a plotter or graphics monitor.
DHISTOGRAM draws histograms on a plotter or graphics monitor.
DIAGONALMATRIX declares one or more diagonal matrix data structures.
DISPLAY prints, or reprints, diagnostic messages.
DISTRIBUTION estimates the parameters of continuous and discrete distributions.
DKEEP saves information from the last plot on a particular device.
DLOAD loads the graphics environment settings from an external file.
DPIE draws a pie chart on a plotter or graphics monitor.
DREAD reads the locations of points from an interactive graphical device.
DROP drops terms from a linear, generalized linear, generalized additive, or nonlinear model.
DSAVE saves the current graphics environment settings to an external file.
DSHADE plots a shade diagram of 3-dimensional data.
DSTART starts a sequence of related high-resolution plots.
DSURFACE produces perspective views of a two-way arrays of numbers.
DUMMY declares one or more dummy data structures.
DUMP prints information about data structures, and internal system information.
DUPLICATE forms new data structures with attributes taken from an existing structure.
D3GRAPH plots a 3-dimensional graph.
D3HISTOGRAM plots three-dimensional histograms.
EDIT edits text vectors.
ELSE introduces the default set of statements in block-if or in multiple-selection control structures.
ELSIF introduces a set of alternative statements in a block-if control structure.
ENDBREAK returns to the original channel or control structure and continues execution.
ENDCASE indicates the end of a "multiple-selection" control structure.
ENDDEBUG cancels a DEBUG statement.
ENDFOR indicates the end of the contents of a loop.
ENDIF indicates the end of a block-if control structure.
ENDJOB ends a GenStat job.
ENDPROCEDURE indicates the end of the contents of a GenStat procedure.
ENQUIRE provides details about files opened by GenStat.
EQUATE transfers data between structures of different sizes or types (but the same modes i.e. numerical or text) or where transfer is not from single structure to single structure.
ESTIMATE estimates parameters in Box-Jenkins models for time series.
EXECUTE executes the statements contained within a text.
EXIT exits from a control structure.
EXPRESSION declares one or more expression data structures.
FACROTATE rotates factor loadings from a principal components or canonical variates analysis according to either the varimax or quartimax criterion.
FACTOR declares one or more factor data structures.
FAULT checks whether to issue a diagnostic, i.e. a fault, warning or message.
FCLASSIFICATION forms a classification set for each term in a formula, breaks a formula up into separate formulae (one for each term), and applies a limit to the number of factors and variates in the terms of a formula.
FCOVARIOGRAM forms a covariogram structure containing auto-variograms of individual variates and cross-variograms for pairs from a list of variates.
FILTER filters time series by time-series models.
FIT fits a linear, generalized linear, generalized additive, or generalized nonlinear model.
FITCURVE fits a standard nonlinear regression model.
FITNONLINEAR fits a nonlinear regression model or optimizes a scalar function.
FKEY forms design keys for multi-stratum experimental designs, allowing for confounded and aliased treatments.
FLRV forms the values of LRV structures.
FOR introduces a loop; subsequent statements define the contents of the loop, which is terminated by the directive ENDFOR.
FORECAST forecasts future values of a time series.
FORMULA declares one or more formula data structures.
FOURIER calculates cosine or Fourier transforms of real or complex series.
FPSEUDOFACTORS determines patterns of confounding and aliasing from design keys, and extends the treatment model to incorporate the necessary pseudo-factors.
FRAME defines the positions of windows within the frame of a high-resolution graph. The positions are defined in normalized device coordinates ([0,1]×[0,1]).
FSIMILARITY forms a similarity matrix or a between-group-elements similarity matrix or prints a similarity matrix.
FSSPM forms the values of SSPM structures.
FTSM forms preliminary estimates of parameters in time-series models.
FVARIOGRAM forms auto variograms for individual variates or cross variograms for pairs of variates.
GENERATE generates factor values for designed experiments: with no options set, factor values are generated in standard order; the options allow treatment factors to be generated using the design-key method, or pseudo-factors to be generated to describe the confounding in a partially balanced experimental design.
GET accesses details of the "environment" of a GenStat job.
GETATTRIBUTE accesses attributes of structures.
GROUPS forms a factor (or grouping variable) from a variate or text, together with the set of distinct values that occur.
HCLUSTER performs hierarchical cluster analysis.
HDISPLAY displays results ancillary to hierarchical cluster analyses: matrix of mean similarities between and within groups, a set of nearest neighbours for each unit, a minimum spanning tree, and the most typical elements from each group.
HELP provides help information about GenStat.
HISTOGRAM synonym of LPHISTOGRAM.
HLIST lists the data matrix in abbreviated form.
HSUMMARIZE forms and prints a group by levels table for each test together with appropriate summary statistics for each group.
IF introduces a block-if control structure.
INPUT specifies the input file from which to take further statements.
INTERPOLATE interpolates values at intermediate points.
IRREDUNDANT forms irredundant test sets for the efficient identification of a set of objects.
JOB starts a GenStat job.
KRIGE calculates kriged estimates using a model fitted to the sample variogram.
LIST lists details of the data structures currently available within GenStat.
LPCONTOUR produces contour maps of two-way arrays of numbers using character (i.e. line-printer) graphics.
LPGRAPH produces point and line plots using character (i.e. line-printer) graphics.
LPHISTOGRAM produces histograms using character (i.e. line-printer) graphics.
LRV declares one or more LRV data structures.
MARGIN forms and calculates marginal values for tables.
MATRIX declares one or more matrix data structures.
MCOVARIOGRAM fits models to sets of variograms and cross variograms.
MDS performs non-metric multidimensional scaling.
MERGE copies subfiles from backing-store files into a single file.
MODEL defines the response variate(s) and the type of model to be fitted for linear, generalized linear, generalized additive, and nonlinear models.
MONOTONIC fits an increasing monotonic regression of y on x.
OPEN opens files.
OPTION defines the options of a GenStat procedure with information to allow them to be checked when the procedure is executed.
OR introduces a set of alternative statements in a "multiple-selection" control structure.
OUTPUT defines where output is to be stored or displayed.
OWN does work specified in Fortran subprograms linked into GenStat by the user.
PAGE moves to the top of the next page of an output file.
PARAMETER defines the parameters of a GenStat procedure with information to allow them to be checked when the procedure is executed.
PASS does work specified in subprograms supplied by the user, but not linked into GenStat. This directive may not be available on some computers.
PCO performs principal coordinates analysis, also principal components and canonical variates analysis (but with different weighting from that used in CVA) as special cases.
PCP performs principal components analysis.
PEN defines the properties of "pens" for high-resolution graphics.
POINTER declares one or more pointer data structures.
PREDICT forms predictions from a linear or generalized linear model.
PRINT prints data in tabular format in an output file, unformatted file, or text.
PROCEDURE introduces a GenStat procedure.
QUESTION obtains a response using a GenStat menu.
RANDOMIZE randomizes the units of a designed experiment or the elements of a factor or variate.
RCYCLE controls iterative fitting of generalized linear, generalized additive, and nonlinear models, and specifies parameters, bounds etc for nonlinear models.
RDISPLAY displays the fit of a linear, generalized linear, generalized additive, or nonlinear model.
READ reads data from an input file, an unformatted file, or a text.
RECORD dumps a job so that it can later be restarted by a RESUME statement.
REDUCE forms a reduced similarity matrix (referring to the GROUPS instead of the original units).
REFORMULATE modifies a formula or an expression to operate on a different set of data structures.
RELATE relates the observed values on a set of variates to the results of a principal coordinates analysis.
REML fits a variance-components model by residual (or restricted) maximum likelihood.
RESTRICT defines a restricted set of units of vectors for subsequent statements.
RESUME restarts a recorded job.
RETRIEVE retrieves structures from a subfile.
RETURN returns to a previous input stream (text vector or input channel).
RFUNCTION estimates functions of parameters of a nonlinear model.
RKEEP stores results from a linear, generalized linear, generalized additive, or nonlinear model.
ROTATE does a Procrustes rotation of one configuration of points to fit another.
SCALAR declares one or more scalar data structures.
SET sets details of the "environment" of a GenStat job.
SETALLOCATIONS runs through all ways of allocating a set of objects to subsets.
SETCALCULATE performs Boolean set calculations on the contents of vectors or pointers.
SETOPTION sets or modifies defaults of options of GenStat directives or procedures.
SETPARAMETER sets or modifies defaults of parameters of GenStat directives or procedures.
SETRELATE compares two sets of values in two data structures.
SET2FORMULA forms a model formula using structures supplied in a pointer.
SKIP skips lines in input or output files.
SORT sorts units of vectors according to an index vector.
SPLOAD loads Genstat spreadsheet files.
SSPM declares one or more SSPM data structures.
STEP selects terms to include in or exclude from a linear, generalized linear, or generalized additive model according to the ratio of residual mean squares.
STOP ends a GenStat program.
STORE to store structures in a subfile of a backing-store file.
STRUCTURE defines a compound data structure.
SUSPEND suspends execution of GenStat to carry out commands in the operating system. This directive may not be available on some computers.
SVD calculates singular value decompositions of matrices.
SWITCH adds terms to, or drops them from a linear, generalized linear, generalized additive, or nonlinear model.
SYMMETRICMATRIX declares one or more symmetric matrix data structures.
TABLE declares one or more table data structures.
TABULATE forms summary tables of variate values.
TDISPLAY displays further output after an analysis by ESTIMATE.
TERMS specifies a maximal model, containing all terms to be used in subsequent linear, generalized linear, generalized additive, and nonlinear models.
TEXT declares one or more text data structures.
TKEEP saves results after an analysis by ESTIMATE.
TRANSFERFUNCTION specifies input series and transfer function models for subsequent estimation of a model for an output series.
TREATMENTSTRUCTURE specifies the treatment terms to be fitted by subsequent ANOVA statements.
TREE declares a tree, & initializes it to have a single node known as the root.
TRY displays results of single-term changes to a linear, generalized linear, or generalized additive model.
TSM declares one or more TSM data structures.
TSUMMARIZE displays characteristics of time series models.
TXBREAK breaks up a text structure into individual words.
TXCONSTRUCT forms a text structure by appending or concatenating values of scalars, variates, texts, factors or pointers; allows the case of letters to be changed or values to truncated and reversed.
TXFIND finds a subtext within a text structure.
TXPOSITION locates strings within the lines of a text structure.
UNITS defines an auxiliary vector of labels and/or the length of any vector whose length is not defined when a statement needing it is executed.
VARIATE declares one or more variate data structures.
VCOMPONENTS defines the variance-components model for REML.
VCYCLE controls details of the REML algorithm.
VDISPLAY displays further output from a REML analysis.
VKEEP copies information from a REML analysis into GenStat data structures.
VPEDIGREE generates an inverse relationship matrix for use when fitting animal or plant breeding models by REML.
VPREDICT forms predictions from a REML model.
VRESIDUAL defines the residual term for a REML model.
VSTATUS prints the current model settings for REML.
VSTRUCTURE defines a variance structure for random effects in a REML model
WORKSPACE accesses private data structures for use in procedures.
XAXIS defines the x-axis in each window for high-resolution graphics.
YAXIS defines the y-axis in each window for high-resolution graphics.
ZAXIS defines the z-axis in each window for high-resolution graphics.