09-12-2017 06:49 PM
I have successfully created a SAS ROC Plot and have obtained the charted output. See attached picture. However, I am trying to obtain a table identical to how STATA will output its table (See 2nd attached picture). Can anyone help guide me into how I can get SAS to output cut-points?
09-13-2017 01:51 AM - edited 09-13-2017 01:53 AM
Can you show your code so far?
A good start may be in the ROCOPTIONS part of the PROC LOGISTIC Documentation specifying ID=PROB | CUTPOINT.
09-14-2017 12:22 PM
Can you assist with adding these model options into the following code?
proc logistic data=test.n;
model yes (ref = first) = score /outroc = rocscore;
**I tried adding each after the rocscore but it wouldn't run properly.
09-20-2017 08:53 AM
Hi . You can search these options at support.sas.com and you will find the answer. proc logistic data=sashelp.class; model sex=height weight /outroc = rocscore ctable pprob=(0.8 0.7 0.6 0.5 0.4); run;