由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - how to convert a character into numberic
相关主题
What is wrong with following code? SAS help
有什么办法能够数出sas dataset里的变量数。请教一个关于EXCEL问题
SAS问题求助company's E-Verifying number
[问题]怎么用proc sql获取row number的值[sas] how to recode these variables
How to combine overlapped dataSAS中FORMAT问题求教
R 小问题我的SAS CODE 错那儿了?
请教:三道SAS BASE题Question on converting long Decimal number into Hex
求问一道SAS adv 题问个SAS的问题,可能比较复杂
相关话题的讨论汇总
话题: numberic话题: character话题: ay话题: convert话题: num
进入Statistics版参与讨论
1 (共1页)
m*******g
发帖数: 3044
1
my code:
data sasuser.aggep_f1;
set sasuser.aggep_f;
Num_AY=input(AY,4.);
run;
AY=accident year(2007,2008, 2009,2010 ...), but is is character in my sas, I
want to change to numberic.
is my code correct?
R*********i
发帖数: 7643
2
Looks right. Why not run it in SAS to see the results?
w*******n
发帖数: 469
3
numerical not numberic
P****D
发帖数: 11146
4
Cannot see anything wrong.
m*******g
发帖数: 3044
5
可我RUN完后,重新打开这个表,AY那一列显示的还是CHARACTER
l*********s
发帖数: 5409
6
delete it and rename ay_num to ay

【在 m*******g 的大作中提到】
: 可我RUN完后,重新打开这个表,AY那一列显示的还是CHARACTER
1 (共1页)
进入Statistics版参与讨论
相关主题
问个SAS的问题,可能比较复杂How to combine overlapped data
SAS怎么within group 进行data stepR 小问题
Ask help for R data restructure, Thanks!!! (转载)请教:三道SAS BASE题
请问大家有关mixed model求问一道SAS adv 题
What is wrong with following code? SAS help
有什么办法能够数出sas dataset里的变量数。请教一个关于EXCEL问题
SAS问题求助company's E-Verifying number
[问题]怎么用proc sql获取row number的值[sas] how to recode these variables
相关话题的讨论汇总
话题: numberic话题: character话题: ay话题: convert话题: num