由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS daily tips
相关主题
A VERY Tricky SAS question: Help Needed with Baozi还完TARP的几大银行现在谁招H1b?
谁给介绍一下Peter Hall[合集] 请教大牛们关于找工作!
Introduction to Time Series and Forecasting这本书怎么样?Capital One Phone Screen
[合集] Capital One 的面试CAPITAL ONE招多个DATA ANALYST
问一道sas base题请教有没有申请capital one data analyst职位的?
[合集] Capital One salaryCapital One 做Statistician累不累?
just saw this今天我收到一个RECURITER的信
有人在Capital One工作吗?Capital one assesment
相关话题的讨论汇总
话题: names话题: bleigh话题: hurth话题: array话题: input
进入Statistics版参与讨论
1 (共1页)
w*z
发帖数: 71
1
to input character variables with same prefix, one cannot use
data text;
input n1-n10 $;
datalinse;
smithers michaels gonzalez hurth frank bleigh
rounder joseph peters sam
;
run;
but you can use array do define them first:
data text;
array names{*} $ n1-n10;
array capitals{*} $ c1-c10;
input names{*};
do i=1 to 10;
capitals{i}=upcase(names{i});
end;
datalines;
smithers michaels gonzalez hurth frank bleigh
rounder joseph peters sam
;
run;
1 (共1页)
进入Statistics版参与讨论
相关主题
Capital one assesment问一道sas base题
CAPITAL ONE 难申请么?[合集] Capital One salary
谁做过Capital One的 online testing?just saw this
[合集] Capital One 做Statistician累不累?有人在Capital One工作吗?
A VERY Tricky SAS question: Help Needed with Baozi还完TARP的几大银行现在谁招H1b?
谁给介绍一下Peter Hall[合集] 请教大牛们关于找工作!
Introduction to Time Series and Forecasting这本书怎么样?Capital One Phone Screen
[合集] Capital One 的面试CAPITAL ONE招多个DATA ANALYST
相关话题的讨论汇总
话题: names话题: bleigh话题: hurth话题: array话题: input