Programming the statistical procedures from SAS

Output from PROC LOGISTIC SCORE Statement

Accepted Solution Solved
Reply
Contributor
Posts: 22
Accepted Solution

Output from PROC LOGISTIC SCORE Statement

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


Accepted Solutions
Solution
‎05-22-2015 09:02 AM
SAS Super FREQ
Posts: 3,319

Re: Output from PROC LOGISTIC SCORE Statement

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


All Replies
Solution
‎05-22-2015 09:02 AM
SAS Super FREQ
Posts: 3,319

Re: Output from PROC LOGISTIC SCORE Statement

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.

Contributor
Posts: 22

Re: Output from PROC LOGISTIC SCORE Statement

Thanks Rick!

Grand Advisor
Posts: 9,466

Re: Output from PROC LOGISTIC SCORE Statement

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

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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