BookmarkSubscribeRSS Feed
SidKh
Calcite | Level 5

Hi all,

 

Can someone help and explain the  following question?

 

This question will ask you to provide missing code segments. A logistic regression model was fit on a data set where 40% of the outcomes were events (TARGET=1) and 60% were non-events (TARGET=0).

The analyst knows that the population where the model will be deployed has 5% events and 95% non-events. The analyst also knows that the company's profit margin for correctly targeted events is nine times higher than the company's loss for incorrectly targeted non-event.

proc logistic data = LOANS descending;
 model Purch = Inc Edu;
 score data = LOANS_V out = LOANS_VS priorevent= (insert X here);
 run;
data LOANS_VS; set LOANS_VS;
 Solicit = P_1 > (insert Y here);
run;
What X and Y values should be added to the program to correctly score the data?
 
1 REPLY 1
PaigeMiller
Diamond | Level 26

We don't do your homework for you in this forum.

 

Give the problem a try yourself, if you get the SAS code wrong, show us your code and then we can help.

--
Paige Miller

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1 reply
  • 1698 views
  • 1 like
  • 2 in conversation