Hi everyone, I'm running tests to generate comparisions between ROC curves using the PROC LOGISTIC procedure as below:
ods graphics on; proc logistic data=DATA_CASE_STUDY_ING; model intodefault = mrating / outroc=troc; roc; roccontrast; run; ods graphics off;
The date 'have' has the column 'defaulted' identifying the customers that presented default (with value 1) or didn't (with value 0) and the column 'rating' that ranks the customers from worst to the better ones.
The main result for me on this procedure is:
By default the ROC1 curve, generated for comparision, has a ROC value of 0.5.
Does anyone know how to change it ? It would be the same as changing the null hypothesis for this test.
I'd like to test it for 0.6, 0.7 and 0.8.
Thanks in advance.
For the used data yes, but I'd like to test it in generical terms and also to check the p-value.
Give an example. It seems to me that the solution to use the confidence interval reported by PROC LOGISTIC is perfectly generic, it applies to all situations and all data sets and any value (0.5, 0.6, 0.7, ...) that you wish to test it against.
And to follow up on what @PaigeMiller was saying about an interval, it doesn't depend on the unrealistic assumption that the underlying population values are identical, which is what the hypothesis test p value assumes. You know a priori that they are not identical, and so whatever p value comes out, it isn't "correct", and you don't know how far away from correct the p value is (or else you could apply some non-central correction). For some things (say a binomial underlying variable), it isn't even a smooth curve as you move away from identical.
(Thanks and a tip of the hat to my Math Stat prof Dr. Norm Matloff)
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.