Provides information about the settings of ANOVA models and variates (R.W. Payne).
Option
PRINT = string tokens |
Controls printed output (y, model, weights); default mode |
|---|
Parameters
Y = pointers |
Pointer of length 1 to save the identifier of the y-variate of the most recent ANOVA or that used to form INSAVE |
|---|---|
TREATMENTSTRUCTURE = formula structures |
Saves the current setting of TREATMENTSTRUCTURE or the setting used to form INSAVE |
BLOCKSTRUCTURE = formula structures |
Saves the current setting of BLOCKSTRUCTURE or the setting used to form INSAVE |
COVARIATE = pointers |
Saves the current COVARIATE setting or the setting used to form INSAVE |
DESIGN = pointers |
Pointer of length 1 to save the design structure in the most recent ANOVA or the one used to form INSAVE |
WEIGHTS = pointers |
Pointer of length 1 to save the identifier of the variate of weights (if any) in the most recent ANOVA or that used to form INSAVE |
SAVE = asave structures |
Saves the save structure from the most recent ANOVA |
INSAVE = asave structures |
Provides a save structure from which to save Y, TREATMENTSTRUCTURE, BLOCKSTRUCTURE, COVARIATE and WEIGHTS; default * uses the current settings |
Description
ASTATUS allows information to be printed and saved about the model settings and other information involved in an ANOVA analysis.
By default ASTATUS prints the current settings defined by the directives TREATMENTSTRUCTURE, BLOCKSTRUCTURE and COVARIATE. This is governed by the default setting, model, of the PRINT option. The y setting prints the name of the y-variate from the most recent ANOVA, and the weights setting prints the identifier of the variate of weights (if any). Alternatively, if the INSAVE parameter is set to the save structure from an ANOVA analysis, the y-variate, weights and model settings will be those used to form the save structure.
If the INSAVE parameter is not set, the Y parameter can be used to save the identifier of the y-variate most recently analysed by ANOVA, in a pointer of length one. The TREATMENTSTRUCTURE parameter saves the current setting defined by the TREATMENTSTRUCTURE directive (in a formula structure), and the BLOCKSTRUCTURE parameter similarly saves the current setting defined by the BLOCKSTRUCTURE directive. The COVARIATE parameter saves the current setting defined by the COVARIATE directive (in a pointer). The DESIGN parameter can save the design structure, which contains the information for the analysis, in a pointer of length one.
Finally, the WEIGHTS parameter can save the identifier of the variate of weights in the most recent ANOVA, in a pointer of length one; the pointer is not formed if this was an unweighted analysis.
Alternatively, if INSAVE is set to an ANOVA save structure, the parameters Y, TREATMENTSTRUCTURE, BLOCKSTRUCTURE, COVARIATE, DESIGNand WEIGHTS save the settings used to form INSAVE.
The SAVE parameter saves the save structure from the most recent ANOVA (regardless of the setting of INSAVE).
Option: PRINT.
Parameters: Y, TREATMENTSTRUCTURE, BLOCKSTRUCTURE, COVARIATE, DESIGN, WEIGHTS, SAVE, INSAVE.
Method
ASTATUS uses the GET directive to obtain the current settings of BLOCKSTRUCTURE, TREATMENTSTUCTURE and COVARIATE, and the save structure from the most recent ANOVA. It uses AKEEP, and specialist knowledge of the save structure, to obtain information from an ANOVA save structure.
See also
Directives: AKEEP, ANOVA, BLOCKSTRUCTURE, COVARIATE, TREATMENTSTRUCTURE.
Commands for: Analysis of variance.
Example
CAPTION 'ASTATUS example'; STYLE=meta TREATMENTSTRUCTURE A*B BLOCKSTRUCTURE Blocks/Plots ASTATUS