Calculations
See Also
Used to create an arithmetic or logical expression for evaluation by GenStat. The expression is displayed at the top of the menu and can be constructed step by step by combining data structures and operators. Brackets can be used to control the order of evaluation when required. You can also type directly into the expression box.

Available Data

Lists data structures of the types requested. Double-click on a name to copy it into the expression being formed.

Save Result In

Specifies a data structure to contain the result of the expression. If this structure already exists you should ensure it is the appropriate type to store the result. For example, if you specify a matrix expression M1*+M2 to be stored in M3, M3 must either not exist or be a matrix of the appropriate dimensions.

Functions

Enables you to insert a function into the expression.

Keypad

The keypad is used to enter operators into the expression being formed. Click on the keypad for an explanation of each of the functions. You can also type the corresponding text directly into the expression, but note that the logical operators (and, eqs, or, nes, not, is, in, ni, eor, isnt) must be delimited by dots (for example .and.).

Print In Output

Allows you to display the resultant values in the Output Window.

Display In Spreadsheet

Allows you to display the results in a spreadsheet. You can select the sheet from the list of current open spreadsheets or request a new spreadsheet be created. Note: the number of rows of the spreadsheet must match the length of the results formed by the calculation, otherwise a new sheet will be used.

See Also