In the output to the SCORE statement in PROC LOGISTIC, two created variables are I_ResponseVar and F_ResponseVar. From the documentation, I found the prefixes stand for "Into" and "From," respectively. Which corresponds to the actual labels of the response variable? And which corresponds to the "predicted label"?
The "From" variable is essentially the observed response. The "Into" variable is based on predicted values.
Suppose you are trying to predict a binary variable Y, and you are modeling Y=1.
The "Into" variable is assigned to 1 if the predicted probability for that obs is greater than or equal to 0.5. Otherwise, the "Into" variable is assigned 0.
The "From" variable is essentially the observed response. The "Into" variable is based on predicted values.
Suppose you are trying to predict a binary variable Y, and you are modeling Y=1.
The "Into" variable is assigned to 1 if the predicted probability for that obs is greater than or equal to 0.5. Otherwise, the "Into" variable is assigned 0.
Thanks Rick!
If I was right.
"From," is from original data (0,1)
"Into" is the predict value (0,1) .
the predictive Probability is the last column.
They are correspond to the last three columns .
Xia Keshan
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.