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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.