全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1200 3
2013-12-02
Very Basic
What SAS statements would you code to read an external raw data file to a DATA step?
How do you read in the variables that you need?
Are you familiar with special input delimiters? How are they used?
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn't have a value?
What is the difference between an informat and a format? Name three informats or formats.
Name and describe three SAS functions that you have used, if any?
How would you code the criteria to restrict the output to be produced?
What is the purpose of the trailing @? The @@? How would you use them?
Under what circumstances would you code a SELECT construct instead of IF statements?
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
If reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record?
If you're not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
What is the one statement to set the criteria of data that can be coded in any step?
Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.
How would you include common or reuse code to be processed along with your statements?
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?
If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables.
How would you delete duplicate observations?
How would you delete observations with duplicate keys?
How would you code a merge that will keep only the observations that have matches from both sets.
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.
二维码

扫码加我 拉你入群

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

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

全部回复
2013-12-2 10:15:00
very simple
pls c the help doc~s
二维码

扫码加我 拉你入群

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

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

2013-12-2 11:17:43
瀚海星云 发表于 2013-12-2 10:15
very simple
pls c the help doc~s
高人,麻烦用中文说下解决方法
二维码

扫码加我 拉你入群

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

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

2013-12-3 13:04:26
一些入门级问题
little sas book | dummy sas 之类教科书上有答案
要比较好的掌握,那还得看“帮助”文档
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群