看就看损伤 发表于 2020-1-9 01:24
您好 为什么我跑出来显示 ERROR 180-322: 语句无效或未按正确顺序使用。
ERROR: 所有位置参数均应位于关键 ...
%inc 'C:\Users\Administrator\Desktop\rocplot.sas';
proc logistic data=sasuser.dlwnan;
class age1(param=reference ref="1") bmi1(param=reference ref="2");
model diabetes= age1 hk bmi1 dia1 /outroc=roc1 roceps=0;
output out=out p=phat;
run;
title "ROC plot for ";
%rocplot( inroc = roc1,inpred = out, p = phat,
id = x _sens_ _spec_,
optcrit=correct youden , x=x) 就是和您一样的程序