data cashd;
set sasuser.cashd;
pre=LAG(p6);
run;
proc autoreg data=sasuser.cashd;
model p6=pre/lagdep=pre;
run;
这是我的语句~~~可是老提示~~ERROR: Variable PRE not found.附件有图~~~
同样的情况啊
data a1;
set a;
if carage='10+' then carage='z10+';
run;
proc genmod data = a1;
class ownerage model carage;
weight nclaims;
model avcost = ownerage model carage/dist =gamma link =log type1 type3;
run;
提示:
ERROR: Variable NCLAIMS not found.
115 model avcost = ownerage model carage/dist =gamma link =log type1 type3;
ERROR: Variable AVCOST not found.