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.
Given the following SAS program:

What X and Y values should be added to the program to correctly score the data?
Suggested Answer: D
Get Premium A00-240 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
34 comments · newest first
EI
Eileen
11 months ago
Isn't it strange that the event rate is so low in the population?
CA
Catherin
11 months ago
Definitely going with option B!
ER
Erasmo
11 months ago
Wait, why is Y=10? That seems off.
DA
Dannie
12 months ago
I disagree, it should be X=0.05, Y=0.40.
JU
Junita
12 months ago
X=0.05, Y=10 seems right.
CA
Caren
1 year ago
I think option B makes sense since it aligns with the 5% events in the population, but I'm a bit confused about the Y value.
SH
Sharika
1 year ago
I feel like I might be mixing up the Y values. Wasn't there a case where we used the profit margin to determine the loss ratio?
MI
Mitsue
1 year ago
This reminds me of a practice question where we had to adjust for class imbalance. I think the correct X value should reflect the 5% event rate.
SH
Sharmaine
1 year ago
I remember we discussed how the profit margin affects the scoring, but I'm not sure if that means we should use the population event rate.
CA
Cassi
1 year ago
Okay, I think I've got a strategy for this. I need to use the information about the event and non-event percentages, as well as the profit margin, to determine the optimal X and Y values.
CA
Carline
1 year ago
Hmm, I'm a bit confused by the information provided. I'll need to carefully read through the question again and make sure I understand the context before trying to solve it.
RU
Rueben
1 year ago
This looks like a tricky question, but I think I can figure it out. I'll need to focus on the key details about the data and the profit margins.
KA
Karon
1 year ago
This seems straightforward enough. I'm pretty confident I can solve this by applying the right formulas and calculations.
LA
Latia
1 year ago
I think Logic-to-Contract and Contract-to-Logic are definitely negative forms, but I'm not sure about the others.
NA
Nadine
1 year ago
Is there a 'None of the Above' option? Because that's usually my go-to when I'm stumped on these types of questions.
DO
Doug
1 year ago
User 3: I'm not sure, but I usually go with 'None of the Above' when in doubt.
MA
Marla
1 year ago
User 2: No, I believe the correct answer is C) X=.05, Y=.40
MI
Micheline
1 year ago
User 1: I think the answer is B) X=.05, Y=10
DE
Derick
1 year ago
Wait, are we supposed to be solving this on a SAS program? I thought this was a written exam. *sigh* Time to dust off my coding skills.
BR
Brice
1 year ago
Thanks for the clarification. Let's make sure we get the correct values for X and Y to score the data accurately.
KA
Kami
1 year ago
I think the answer is B) X=.05, Y=10. The percentages need to match the population where the model will be deployed.
LE
Lezlie
1 year ago
Don't worry, I can help you with the coding part. Just focus on understanding the problem.
XU
Xuan
2 years ago
Ooh, a coding question! I love these. Let me grab my pen and paper and get to work.
MA
Maynard
1 year ago
I agree with you, A) X=40, Y=10 seems to be the correct choice
LA
Layla
1 year ago
Hmm, I'm leaning towards A) X=40, Y=10
JA
Jaime
1 year ago
No, I believe the correct answer is C) X=.05, Y=.40
JO
Josephine
1 year ago
I think the answer is B) X=.05, Y=10
SH
Sherill
2 years ago
But the profit margin for correctly targeted events is nine times higher than the loss for incorrectly targeted non-events, so X should be higher than Y. That's why I think B is the correct answer.
AL
Alyce
2 years ago
Ah, a logistic regression problem. Sounds like a job for my trusty calculator and a bit of mental gymnastics!
QU
Quentin
1 year ago
B) X=.05, Y=10
LU
Lucina
1 year ago
A) X=40, Y=10
IV
Ivory
2 years ago
I disagree, I believe the correct answer is C) X=.05, Y=.40.
EM
Emerson
2 years ago
Hmm, this question is tricky. The key seems to be understanding the population prevalence and the relative profit margins. I'll have to think this through carefully.
SH
Sherill
2 years ago
I think the answer is B) X=.05, Y=10.