AUDISPLAY procedure
Produces further output for an unbalanced design (after AUNBALANCED) (R.W. Payne).
Options
Parameter
Description
This procedure can be used, following the use of procedure AUNBALANCED, to produce further output for the analysis of variance of an unbalanced design.
The output to be printed is controlled by the PRINT option, with settings: aovtable to print the analysis-of-variance table, effects to print the effects (as estimated by GenStat regression), means to print tables of predicted means with standard errors, residuals to print residuals and fitted values, and %cv to print the coefficient of variation. The default is to print the analysis-of-variance table and tables of means.
The model is fitted sequentially, first any covariates and then the treatments. Thus, the sum of square in each line of the analysis-of-variance table is for the term concerned, eliminating the effects of terms in earlier lines and ignoring the effects of terms lower in the table. In particular, the sums of squares for covariates are ignoring treatments, and not after eliminating treatments (as with the ANOVA directive).
Tables of means are calculated using the PREDICT directive. The first step (A) of the calculation forms the full table of predictions, classified by every factor in the model. The second step (B) averages the full table of over the factors that do not occur in the table of means. The COMBINATIONS option specifies which cells of the full table are to be formed in Step A. The default setting, estimable, fills in all the cells other than those that involve parameters that cannot be estimated, for example because of aliasing. Alternatively, setting COMBINATIONS=present excludes the cells for factor combinations that do not occur in the data. The ADJUSTMENT option then defines how the averaging is done in Step B. The default setting, marginal, forms a table of marginal weights for each factor, containing the proportion of observations with each of its levels; the full table of weights is then formed from the product of the marginal tables. The setting equal weights all the combinations equally. Finally, the setting observed uses the WEIGHTS option of PREDICT to weight each factor combination according to its own individual replication in the data.
The PSE option controls the types of standard errors that are produced to accompany the tables of means, with settings:
The default is differences. The LSDLEVEL option sets the significance level (as a percentage) for the least significant differences.
The PFACTORIAL option limits the number of factors in terms for which predicted means are printed. Probabilities can be printed for variance ratios by setting option FPROBABILITY=yes, and probabilities for t-tests of effects by setting option TPROBABILITY=yes. Finally, there is a PLOT option which allows various residual plots to be requested: fittedvalues for a plot of residuals against fitted values, normal for a Normal plot, halfnormal for a half Normal plot, and histogram for a histogram of residuals. By default, simple residuals are plotted, but you can set option RMETHOD=standardized to plot standardized residuals instead.
The SAVE parameter can be set to the save structure from the analysis for which further output is required. If SAVE is not set, output will be produced for the most recent analysis from AUNBALANCED; however, none of the GenStat regression directives (MODEL, TERMS, FIT, ADD, DROP and so on) must then have been used in the interim.
Options: PRINT, PFACTORIAL, FPROBABILITY, TPROBABILITY, PLOT, COMBINATIONS, ADJUSTMENT, PSE, LSDLEVEL, RMETHOD.
Parameter: SAVE.
Method
The output is produced mainly using the directives RKEEP and PREDICT.
Action with
RESTRICT
If the y-variate originally analysed by AUNBALANCED was restricted, only the units not excluded by the restriction will have been analysed.