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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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