proc logistic data=bogus;
model y=x1 x2 /link=probit;
output out=ouput prob=p1;
run;
Y就是简单的binary, 这里output出来的p1是0到1之间的概率。有没有一个option能
output出来either 0 or 1?
我印象中好像见过,但是查sas help又好像没有。
多谢指教。
D******n 发帖数: 2836
2
i think there is no such thing. Usually u use a cutoff value to
dichotomize the probability into 0s and 1s. You can use 0.5 which is not
necessarily the best choice.