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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 2252 views
  • 3 likes
  • 3 in conversation