BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
dhrumil_patel
Fluorite | Level 6

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"?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

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.

View solution in original post

3 REPLIES 3
Rick_SAS
SAS Super FREQ

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.

dhrumil_patel
Fluorite | Level 6

Thanks Rick!

Ksharp
Super User

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

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 2229 views
  • 3 likes
  • 3 in conversation