0
我想运行一个进程逻辑回归。我有很多以'ST'和'RF'开头的预测变量。所以我写了模型声明这样PROC logisitic给出错误时列没有出现在模型
proc logistic data=x outest=y;
model binary_variable (event='1')= age sex RF: ST: lackfit;
output out=x p=fitted_prob predprob=individual ;
run;
我都养过宏中的这一说法,并运行此宏为多个场景。我遇到的几个数据集,其中没有列开始与ST,和proc物流抛出一个错误,这是这样的
WARNING: No variables found beginning with 'ST' in data set
NOTE: The SAS System stopped processing this step because of errors.
如果有一种方法来处理这些异常? proc逻辑中的某种参数?谢谢!