Saving the residuals with the data

!RESIDUALS

!RESIDUALS [ n ]
instructs ASReml to write the transformed data and the residuals to a binary file. The residual is the last field. The file basename.srs  is written in single precision unless the argument is 2 in which case basename.drs  is written in double precision.

The file will not be written from a spatial analysis (two-dimensional error) when the data records have been sorted into field order because the residuals are not in the same order that the data is stored. The residual from a spatial analysis will have the units part added to it when units is also fitted. The .drs file could be renamed (with extension .dbl) and used for input in a subsequent run.

Return to start