楼主: 清~~@@
902 2

[问答] what is the meaning of the following number? [推广有奖]

  • 0关注
  • 0粉丝

高中生

55%

还不是VIP/贵宾

-

威望
0
论坛币
22 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
384 点
帖子
50
精华
0
在线时间
8 小时
注册时间
2015-4-4
最后登录
2015-7-9

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
   /*************************************/   /* create the initial data set       */   /*************************************/data admit;   input ID $ 1-4 Name $ 6-19 Sex $ 21 Age 23-24         Date 26-27 Height 29-30 Weight 32-34         ActLevel $ 36-39 Fee 41-46;   format fee 6.2;
As I am a new learner, I want know the meaning of $ 1-4, $ 6-19, $ 21 ,etc. Thanks a lot.

二维码

扫码加我 拉你入群

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

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

关键词:following meaning follow Number What following meaning number

沙发
zcycy 发表于 2015-4-26 17:34:58 |只看作者 |坛友微信交流群
The INPUT statement reads raw data using column input.
From 'The little SAS BOOK':
'After the INPUT keyword, list the first variable's name. If the variable is character, leave a space; then place a $. After the $, or variable name if it is numeric, leave a space; then list the column or range of columns for that variable.'
That is, 1-4 means extract the first column to the fourth column and assign it to ID as a numeric value. $ 21 means extract the 21st column and assign it to Sex as a character value.

I am also a new learn and my English is poor. Hope it helps you.

使用道具

藤椅
清~~@@ 发表于 2015-6-12 06:59:26 |只看作者 |坛友微信交流群
zcycy 发表于 2015-4-26 17:34
The INPUT statement reads raw data using column input.
From 'The little SAS BOOK':
'After the INPU ...
Thanks a ton!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-19 23:36