全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1485 1
2015-02-17
我在SAS9.3上运行但是和官方的tutorials 的结果不一样,请问大家print 是什么结果? 谢谢啦。

DATA RELATIVE;
INPUT @1  (X1-X3) (1. + 1)
             @2  (Y1-Y3) (1. + 1);
DATALINES;
1 2 3 4 5 6
;
PROC PRINT DATA=RELATIVE;
TITLE  'RELATIVE COLUMN POINTERS';
RUN;
原文是这样说的:
                                                                                                                                                                                                                        [size=9.000000pt]The INPUT statement above says to start reading in column 1 (@1) and then read a single digit value (1.) and then skip acolumn (+1). Do this for all the X-values. When you are finished, go back to column 2 (@2) and read the Y-values in thesame way. If you had more than three X's and Y's, this technique could save you lots of typing.
                                       
                               
                       
               
       

二维码

扫码加我 拉你入群

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

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

全部回复
2015-2-24 07:51:20
資料的123456中間應該是沒有空格
Obs    X1    X2    X3    Y1    Y2    Y3
    1      1     3     5     2     4     6
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群