SAS直接给出预测值名称MODEL1。有没有办法在proc评分程序中自我定义名称?
proc score data=DATA score=regout out=score_temp type=parms;
var &_varinclude.;
run;
答案 0 :(得分:1)
在模型语句中添加语句标签。
proc reg outest=stat data=sashelp.class plots=(none);
agePredicted:model age = height weight;
run;
proc print;
run;
proc score score=stat predict data=sashelp.class type=parms;
var height weight;
run;
proc print;
run;