As far as I know, a confusion matrix exists when you try to predict a categorical response. Please explain what it means to compute a confusion matrix for a continuous target variable.
The target variable must be: 0, 1, and that's it. Nothing in between.
Per definition, a confusion matrix works with yes/no values.
You usually specify a cutoff to make it binary.
If you're using PROC LOGISTIC there's the CTABLE option on the MODEL statement and you specify the different cutoffs you want to test with the PPROB option.
@Paul_CA wrote:
How do i construct confusion matrix when the target variable is continuous in SAS EG? Thanks
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: