楼主: cokeffy
2348 4

[学习分享] 2015.05.13 SAS Base 机经分享 [推广有奖]

  • 0关注
  • 0粉丝

大专生

68%

还不是VIP/贵宾

-

威望
0
论坛币
1619 个
通用积分
0.7500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
188 点
帖子
19
精华
0
在线时间
98 小时
注册时间
2011-10-29
最后登录
2023-1-30

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
就说几道目前我没在论坛里的机经帖看到的题,但是都很基础,希望对考试的同学有帮助。
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了!










二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:SAS base Base observation appropriate Characters sometimes numbers values

沙发
没名堂 发表于 2015-5-15 00:09:46 |只看作者 |坛友微信交流群
谢谢分享!

使用道具

藤椅
wh7064rg 发表于 2015-5-15 09:04:51 |只看作者 |坛友微信交流群
谢谢分享

使用道具

板凳
emmawill 发表于 2015-5-25 16:08:20 来自手机 |只看作者 |坛友微信交流群
谢谢分享~~!

使用道具

报纸
kulawang 发表于 2016-1-13 10:33:28 |只看作者 |坛友微信交流群
谢谢分享

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-26 19:17