各位高手:
我现在有两列数据,加入如下:
x y
1.1 1.2
1.3 1.4
1.4 1.5
1.5 1.6
1.6 1.7
现在要用分别对前三行和后两行分别对X和Y进行回归,该怎么办?
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
两行的数据做回归结果能可靠吗?
具体是什么要求啊?
data yx;input x y;id=_n_;cards;1.1 1.21.3 1.41.4 1.51.5 1.61.6 1.7;run;
proc reg data=yx;model y=x;where _n_<4;run;
proc reg data=yx;
model y=x;where _n_>3;run;
[此贴子已经被作者于2007-12-25 16:48:33编辑过]