SAS中文论坛

标题: 讨论一道SAS Statistic真题 [打印本页]

作者: shiyiming    时间: 2013-6-19 03:35
标题: 讨论一道SAS Statistic真题
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:

proc logistic data = LOANS des;
    model Purchase = Inc Edu;
    score data = LOANS_V out = LOANS_VS priorevent = ([color=#FF4000:3mw95lvz]insert x here[/color:3mw95lvz]);
run;

data LOANS_VS;
    set LOANS_VS;
    Solicit = P_1 > ([color=#FF0000:3mw95lvz]insert Y here[/color:3mw95lvz]);
run;

What X and Y values should be added to the program to correctly score the data?
A. X=40, Y=10
B. X=.05, Y=10
C. X=.05, Y=.40
D. X=.10.Y=05

我不太明白analyst knows 的最后一句话有什么意义。是要把(-1,9 )作为加权考虑进(Solicit,Purchase)的Matrix里面么?




欢迎光临 SAS中文论坛 (http://www.mysas.net/forum/) Powered by Discuz! X3.2