由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS base 87% pass today
相关主题
[提问]怎样sort这个dataset?急!一个简单的SAS问题,请大家帮帮解释一下!多谢!
[SAS] call execute gives me error请问一个SAS proc sql的写法
请问大虾们一个SAS DATA STEP的小问题一个sas问题的解决方法讨论
question about SAS BASE 123 No.64?nodupkey 删除的observations怎么查看?
help! SAS base 70 problem 17/35sas proc report的问题。
一个简单的SAS 问题sas里怎么取相邻2个observation的差?
又来请教了:sas里面咋实现lag?hi, an interview question
SAS 问题求助能不能帮忙看一下code 哪里有问题,run不出结果来
相关话题的讨论汇总
话题: catx话题: obs话题: name2话题: function话题: 657
进入Statistics版参与讨论
1 (共1页)
b********g
发帖数: 1
1
At least 50% in base 50 and 123. Many thanks to this board.
Something new or unsure:
1
x='372';
y='234 ';
z='657';
how to get 372-234-657
a. cat('-',x,y,z)
b. catx('-',x,y,z)
c. x!!'-'!!y!!'-'!!z
d.x!!'-'!!left(y)!!'-'!!z
2 _'char'% function
data test;
input name $;
datalines;
Liu
Ellisa
Risa
Loui
;
run;
data test2;
set test;
name2=(_'i'%);
run;
what is the value(s) of name2?
3 where is format saved if not saved permanently?
4. FOUND function;
5 function (trch? not remembered) to cha
s*******2
发帖数: 791
2
Who can give answers to above questions?
Thanks.

【在 b********g 的大作中提到】
: At least 50% in base 50 and 123. Many thanks to this board.
: Something new or unsure:
: 1
: x='372';
: y='234 ';
: z='657';
: how to get 372-234-657
: a. cat('-',x,y,z)
: b. catx('-',x,y,z)
: c. x!!'-'!!y!!'-'!!z

s*******2
发帖数: 791
3
1. b. catx('-',x,y,z)
7. Obs x y z
1 1 a 2
2 1 b 4
3 2 a 3
4 2 b 5
5 3 a 4
6 4 a 6
7 4 b 7


【在 s*******2 的大作中提到】
: Who can give answers to above questions?
: Thanks.

C******t
发帖数: 72
4
5. The question looks like below:
data one;
x='abcdefghij';
y=transwrd(x,'cd','ccdd');
run;
What is the length of y?
a. 10;
b. 12;
c. 200;
d. unable to decide.
another question absentin base 50 and 123 is about the option of crosslist
in proc freq.
1 (共1页)
进入Statistics版参与讨论
相关主题
能不能帮忙看一下code 哪里有问题,run不出结果来help! SAS base 70 problem 17/35
base 70 - Q27一个简单的SAS 问题
请教一道sas base题又来请教了:sas里面咋实现lag?
请教关于char转变成numeric的问题SAS 问题求助
[提问]怎样sort这个dataset?急!一个简单的SAS问题,请大家帮帮解释一下!多谢!
[SAS] call execute gives me error请问一个SAS proc sql的写法
请问大虾们一个SAS DATA STEP的小问题一个sas问题的解决方法讨论
question about SAS BASE 123 No.64?nodupkey 删除的observations怎么查看?
相关话题的讨论汇总
话题: catx话题: obs话题: name2话题: function话题: 657