SAS_Institute
A00-240 · Question #7
A00-240 Question #7: Real Exam Question with Answer & Explanation
Sign in or unlock A00-240 to reveal the answer and full explanation for question #7. The question stem and answer options stay visible for context.
Question
A financial services manager wants to assess the probability that certain clients will default on their Home Equity Line of Credit (HELOC). A former employee left the code listed below.
proc logistic data = MYDIR.HELOC des outest=MSG;
model DEFAULT = amount job_code years_at_residence;
run;
proc score data = MYDIR.RECENT_HELOC
out = SCORED_HELOC
score = MSG
type = parms;
var Amount Job_code Years_at_residence;
run;
The training data set is named HELOC, while a similar data set of more recent clients is named RECENT_HELOC. Which SAS data steps will calculate the predicted probability of default on recent clients? (Choose two.)
Options
- Adata NEW_PROB; set SCORED_HELOC; p=1/(1+exp(-DEFAULT)); run;
- Bdata NEW_PROB; set SCORED_HELOC; ODDS = exp(DEFAULT); p = ODDS / (1+ODDS); run;
- Cdata NEW_PROB; set SCORED_HELOC; p=(1+exp(DEFAULT))/exp(DEFAULT); run;
- Ddata NEW_PROB; set SCORED_HELOC; p = DEFAULT / (1+DEFAULT); run;
Unlock A00-240 to see the answer
You've previewed enough free A00-240 questions. Unlock A00-240 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.