由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - help how to convert char to numeric variable?
相关主题
SAS data merge求助关于missing value的问题
一道SAS BASE题,HELP!Help needed! What sas function can read char. date HH:DD:SS:SSS to numeric?
慕名而来,请教一个 SAS date question请问sas有把全部数据从char变为numeric的办法么?
急问,在线等:SAS adv certification Question about SELECT v.s IF/THEN ELSESAS问题求助
sas question[合集] 问个SAS的问题
一道SAS面试题,关于dummy variableSAS将某个variable的value由数字替换为字符?
how to convert a categorical variable into a continuous variablehelp in sas
问一个SAS的问题,急急!!R能处理多大的数据集?
相关话题的讨论汇总
话题: numeric话题: convert话题: variable话题: char话题: input
进入Statistics版参与讨论
1 (共1页)
w***y
发帖数: 114
1
my data:
weight height
126.1 165.5
135.3 170
162.8 145
145.3 178.5
they are char type variables with length $200. How to convert them into
numeric variable?
I use
wt=input(weight,5.1);
ht=input(height,5.1);
but it doesnot work. thanks
t**********r
发帖数: 182
2
wt=weight+0;
h******e
发帖数: 1791
3
wt=input(trim(left(weight)),5.1)

【在 w***y 的大作中提到】
: my data:
: weight height
: 126.1 165.5
: 135.3 170
: 162.8 145
: 145.3 178.5
: they are char type variables with length $200. How to convert them into
: numeric variable?
: I use
: wt=input(weight,5.1);

o******6
发帖数: 538
4
wt=input(weight,8.);
ht=input(height,8.);

【在 w***y 的大作中提到】
: my data:
: weight height
: 126.1 165.5
: 135.3 170
: 162.8 145
: 145.3 178.5
: they are char type variables with length $200. How to convert them into
: numeric variable?
: I use
: wt=input(weight,5.1);

1 (共1页)
进入Statistics版参与讨论
相关主题
R能处理多大的数据集?sas question
[合集] help please! A sas question一道SAS面试题,关于dummy variable
Import excel file to sas (the first 8 or more observationshow to convert a categorical variable into a continuous variable
any simple way to only list the character variable in the问一个SAS的问题,急急!!
SAS data merge求助关于missing value的问题
一道SAS BASE题,HELP!Help needed! What sas function can read char. date HH:DD:SS:SSS to numeric?
慕名而来,请教一个 SAS date question请问sas有把全部数据从char变为numeric的办法么?
急问,在线等:SAS adv certification Question about SELECT v.s IF/THEN ELSESAS问题求助
相关话题的讨论汇总
话题: numeric话题: convert话题: variable话题: char话题: input