ROTATE directive
Does a Procrustes rotation of one configuration of points to fit another.
Options
Parameters
Description
The ROTATE directive provides orthogonal Procrustes rotation. You must set the parameters XINPUT and YINPUT, which specify respectively the fixed configuration and the configuration that you want to be translated and rotated; these are called X and Y above. The other parameters are used for saving results from the analysis. For X and Y to refer to the same set of objects they must have the same number of rows, and each object must be represented by the same row in both X and Y. If the XINPUT matrix is n×p and the YINPUT matrix is n×q, GenStat does the analysis using matrices that are n×r, where r is max(p, q). The smaller matrix is expanded with columns of zeros, as explained above.
The PRINT option specifies which results you want to print; the settings are as follows.
The three other options of the ROTATE directive control the form of analysis. The SCALING option specifies whether you want least-squares scaling to be applied to the standardized YINPUT matrix when finding the best fit to the fixed configuration. You should set SCALING=yes if you want scaling; GenStat will then print the least-squares scaling factor with the analysis of variance. By default there is no scaling.
The STANDARDIZE option specifies what preliminary standardization is to be applied to the XINPUT and YINPUT matrices. It has settings:
The default is STANDARDIZE=centre,normalize. The initial centring ensures that the configurations are translated to have a common centroid, and thus automatically provides the best translation of Y to match X. The normalization arranges that the residual sum of squares from rotating X to Y is the same as that for rotating Y to X. Switching off both centring and standardization is rarely advisable, but can be requested by putting STANDARDIZE=*.
With some methods of multivariate analysis, for example the analysis of skew-symmetry, the direction of travel about the origin is important. It is then undesirable to perform a reflection as part of the rotation: the SUPPRESS option can be used to prevent this. The default setting is no, which allows reflection to take place.
Options: PRINT, SCALING, STANDARDIZE, SUPPRESS.
Parameters: XINPUT, YINPUT, XOUTPUT, YOUTPUT, ROTATION, RESIDUALS, RSS.