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
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.