10# sas_user
恩 有道理 这样简单多了
看了很久才大致看懂...
这部分不知是不是原意有出入
%do date=%scan(&workdate,&dateno) %to %eval(%eval(%scan(&workdate,&dateno))+30);
proc reg data=funds (where=(code=&codea and clsdt=&date));
model code=naps;
run;
%let dateno=%eval(&dateno+1);
%end;
这是做了30个回归吧,从前往后数30个,调用后面的全部数据进行回归,不知是不是这个意思
funds (where=(code=&codea and clsdt=&date)) 这个出来的结果是以date开头的全部的codea的数据还是只有一个观测


雷达卡
京公网安备 11010802022788号







