FCORRELATION procedure
Forms the correlation matrix for a list of variates (R.W. Payne).
Options
Parameter
Method
FCORRELATION forms the correlation matrix for a set of variates which should be listed by the DATA parameter. The WEIGHTS option can provide a variate of weights for the units of the variates; by default these are all assumed to have weight one.
Printed output is controlled by the PRINT option with settings:
By default PRINT=correlation.
The METHOD option indicates the type of test to be done, with settings:
Tests cannot be produced if there are fewer than two observations.
The correlation matrix can be saved using the CORRELATIONS option, the (symmetric) matrix of test probabilities can be saved using the PROBABILITIES option, and the number of observations upon which it is based can be saved using NOBSERVATIONS option.
Options: PRINT, METHOD, WEIGHTS, CORRELATIONS, PROBABILITIES, NOBSERVATIONS.
Parameter: DATA.
Method
A SSPM structure is set up for the DATA variates, and its values are formed using the FSSPM directive. The corrected sums of squares and products are divided by the residual degrees of freedom to give the variance covariance matrix, and the CORRMAT finction is used to convert this to a correlation matrix. The test probabilities are obtained using the PRCORRELATION procedure.
Action with
RESTRICT
FCORRELATIONS takes account of restrictions on any of the variates.