解释几句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不懂。
[解决办法]
楼主在网上搜一搜吧,小语种懂得人少