1.用means的时候,关于missing values是怎么处理的?
选项大概是Use only all non-missing values; Use all non-missing values and numbers stored as char variables; ...
Proc means ...
For each variable, the number of non-missing values are used.
2. proc print data = work.student ???;
label ID = 'StudentID'
INFO = 'Major*GPA*Units';run;
a) labelsplit = '*';
b) split = '*';
PROC PRINT sometimes conserves spaceby splitting labels across multiple lines. Use SPLIT= in the PROC PRINT statementto control where these splits occur. You do not need to use LABEL if you useSPLIT=.
没有labelsplit
3. data errors when you read raw data from ...
a) writes a note in SAS log and continue to execution
b) writes a error in SAS log and suspend to execution
c) writes notes in SAS log until the errors limit ...
d) writes a warning in SAS log and suspend to execution
Data errorsoccur when some data values are not appropriate for the SAS statements thatyou have specified in the program. For example, if you define a variable asnumeric, but the data value is actually character, SAS generates a data error.SAS detects data errors during program execution and continues to executethe program, and does the following:
- writes an invalid data note to the SAS log.
- prints the input line and columnnumbers thatcontain the invalid value in the SAS log. Unprintable characters appear inhexadecimal. To help determine column numbers, SAS prints a rule line abovethe input line.
- prints the observation under the rule line.
- sets the automatic variable _ERROR_ to 1 for thecurrent observation.
大概就这几道我没在最近的机经中看过,如有重复多多包涵!
但还是希望小伙伴们考试的同时还是认认真真的学习并实际操作SAS!
继续奋战Adv了!