当前位置: 代码迷 >> 其他开发语言 >> 解释几句SAS语句,该如何解决
  详细解决方案

解释几句SAS语句,该如何解决

热度:345   发布时间:2013-02-26 00:00:00.0
解释几句SAS语句
data ifBig;
set idxFund.ifBig;
run;
proc sql;
create table List_goal as
select a.*,b.secucode as flagSecu
from data as a full join ifBig as b 
on a.secucode=b.secucode
order by wgt desc;
quit;
data List_goal(drop=flagSecu);
set List_goal;
if (flagSecu ^= '' and wgt_cumm <= &cutPoint_u) or wgt_cumm <= &cutPoint_l then ifBig=1; else ifBig=0;
run;

**** 大股票篮子权重 ******;
data bigList_goal;
set list_goal;
if ifBig=1;
run;
我不明白的地方 from data as a full join ifBig as b 
on a.secucode=b.secucode
order by wgt desc;
ifBig 是一个表,但是then ifBig=1 怎么又是一个变量了。请大侠解释一下。我对SAS不懂。
------解决方案--------------------------------------------------------
楼主在网上搜一搜吧,小语种懂得人少
  相关解决方案