Download ASReml User Guide
Transcript
5 Command file: Reading the data – – – – • 47 has a maximum of 31 characters of which only 20 are printed; the remaining characters are not displayed, must begin with a letter, must not contain the special characters ., *, :, /, !, #, — or ( , reserved words (Table 6.1 and Table 7.3) must not be used, field type defines how a variable is interpreted if specified in the linear model, – – New – New – New – New – for a variate, leave field type blank or specify 1, for a model factor, various qualifiers are required depending on the form of the factor coding where n is the number of levels of the factor and s is a list of labels to be assigned to the levels: * or n is used when the data field has values 1. . . n directly coding for the factor unless the levels are to be labelled (see !L), !A [n] is required if the data field is alphanumeric, !I [n] is required if the data is numeric but not 1. . .n; !I must be followed by n if more than 1000 codes are present, !L s is used when the data field is numeric with values 1. . . n and labels are to be assigned to the n levels, for example Sex !L Male Female If there are many labels, they may be written over several lines by using a trailing comma to indicate continuation of the list. !P indicates the special case of a pedigree factor; ASReml will determine the levels from the pedigree file, see Section 9.3, A warning is printed if the nominated value for n does not agree with the actual number of levels found in the data and if the nominated value is too small the correct value is used. !DATE specifies the field has one of the date formats dd/mm/yy, dd/mm/ccyy, dd-Mon-yy, dd-Mon-ccyy and is to be converted into a Julian day where dd is a 1 or 2 digit day of the month, mm is a 1 or 2 digit month of the year, Mon is a three letter month name (Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec), yy is the year within the century (00 to 99), cc is the century (19 or 20). The separators ’/’ and ’-’ must be present as indicated. The dates are converted to days starting 1 Jan 1900. When the century is not specified, yy of 0-32 is taken as 2000-2032, 33-99 taken as 1933-1999. !DMY specifies the field has one of the date formats dd/mm/yy or dd/mm/ccyy and is to be converted into a Julian day. !MDY specifies the field has one of the date formats mm/dd/yy or mm/dd/ccyy and is to be converted into a Julian day. !TIME specifies the field has the time format hh:mm:ss. and is to be con-