GRM Analysis Syntax Editor

Select General linear models in the Type of analysis list and Analysis syntax editor in the Specification method list on the GRM Startup Panel - Quick tab. Then click the OK button on the GRM Startup Panel to display the GRM Analysis Syntax Editor dialog. This dialog contains two tabs: Keywords and Specifications. Use the options on the Keywords tab and the Specifications tab to insert keywords and specifications in the Analysis syntax edit field at the current location of the cursor. The available keywords and specifications can also be typed directly into the Analysis syntax edit field. Note that this dialog will also be displayed if you click the Syntax editor button on the GRM Quick Specs dialog or the GRM Analysis Wizard Extended Options dialogs.

Element Name Description
Analysis syntax Enter command syntax into the Analysis syntax edit field to completely specify the design, as well as various parameters that are used in the computations.
OK (Run) Click the OK (Run) button to begin the computations, and display the GRM Results dialog.
Cancel Click the Cancel button to return to the General Regression Models Startup Panel, ignoring any changes that you have made on this dialog.
< Back Click the < Back button to move back to the GRM Quick Specs dialog or the GRM Analysis Wizard Extended Options dialog (depending on the manner in which the GRM Analysis Syntax Editor dialog was displayed). Note when you click the < Back button on the GRM Analysis Syntax Editor dialog after introducing additional customizations, those customizations done in the GRM Analysis Syntax Editor dialog will not be translated "back" to the Quick specs dialog or the Analysis Wizard dialogs.
Options Click the Options button to display the Options menu.
Cut, Copy, Paste Use the standard Cut, Copy, and Paste editing operations in the Analysis syntax edit field; these operations can be accessed by clicking the respective buttons or via the standard keyboard shortcuts. For details, refer to the description of the Edit menu.
Open Click the Open button to display the standard Open Syntax dialog, which is used to open previously saved text (program syntax) files.
Save As Click the Save As button to display the standard Save Syntax dialog, which is used to save the current Analysis syntax to a text file. Those text files can be edited by practically all text editing and word processing programs.

Note: GRM and GLM syntax conventions. Overviews and examples are available for GRM syntax. See GRM Syntax Overview and GRM Syntax Examples for further details. The GRM syntax conventions are essentially identical to the GLM syntax conventions (see the General Linear Model (GLM) module), with only a few additions and omissions relating to stepwise and best subset analyses. Note that the Generalized Linear/Nonlinear Model (GLZ), General Partial Least Squares Models (PLS), General Discriminant Analysis, and ANOVA modules also use similar syntax, with sets of additional keywords (options) that are specific to those particular applications.

Note: using Quick specs dialog to write the syntax. In practically all cases, the most efficient way to write GRM syntax is to use the GRM Quick Specs dialog. Specifically, from the GRM Startup Panel - Quick tab, select the desired design in the Type of analysis list, and Quick specs dialog as the Specification method; then click OK on the Startup Panel to display the respective GRM Quick Specs dialog. Select your design via the GRM Quick Specs dialog and then click the Syntax Editor button on the GRM Quick Specs dialog. All current specifications (e.g., variable selections, design specifications) selected on the GRM Quick Specs dialog will automatically be transferred (translated) to the syntax editor, and can be further modified or saved.

Note: when selecting a Type of analysis, it is not necessary that your design matches exactly the chosen type of design. For example, if you want to exclude certain effects from a factorial ANOVA design, choose Factorial ANOVA from the GRM Startup Panel - Quick tab, specify the full factorial design, and then on the GRM Quick Specs dialog click the Syntax editor button. The syntax for the full factorial design (as specified in the GRM Quick Specs dialog) will be written out to the syntax editor, and you can now modify the DESIGN statement to customize the design (e.g., to drop effects).

See also: GRM - Index, GRM Syntax Overview, and GRM Syntax Examples.