Programming the statistical procedures from SAS

How to predict using Logistic Regression model?

Accepted Solution Solved
Reply
Super Contributor
Posts: 426
Accepted Solution

How to predict using Logistic Regression model?

Asssume I've built a logistic regression model to predict whether the loan can be given to the customer or not. Assume I've validated and implemented the model. 

 

Now client has given me one record for the customer and asked me to predict whether the loan can given to that customer or not using the model which I built. I'm not sure how to predict the value for one customer using the model and I'm not certain what we need to look in the output.


Accepted Solutions
Solution
‎07-18-2017 03:41 PM
SAS Super FREQ
Posts: 3,476

Re: How to predict using Logistic Regression model?

When you run the procedure, you need to store some information so that SAS can later score the data. There are several ways, as explained in the article "Techniques for scoring a regression model in SAS"  I recommend the section "The STORE statement and the PLM procedure" because that enables you to score, compute tests/estimates/contrasts, and even produce graphics that visualize the model.

View solution in original post


All Replies
Super User
Posts: 17,816

Re: How to predict using Logistic Regression model?

If you validated the model you must have scored the data to test your predictions. It's the same idea, score that record and assign the category.

Super Contributor
Posts: 426

Re: How to predict using Logistic Regression model?

Could you please tell me how can we score the data in logistic regression model?

Solution
‎07-18-2017 03:41 PM
SAS Super FREQ
Posts: 3,476

Re: How to predict using Logistic Regression model?

When you run the procedure, you need to store some information so that SAS can later score the data. There are several ways, as explained in the article "Techniques for scoring a regression model in SAS"  I recommend the section "The STORE statement and the PLM procedure" because that enables you to score, compute tests/estimates/contrasts, and even produce graphics that visualize the model.

☑ This topic is SOLVED.

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

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