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