03-28-2012 06:21 PM
I have received the following output in Proc Logistic:
How do I convert it into scoring formula?
I tried a formula based on the Estimate column:
-0.1744+1.7537*Var1+0.0262*Var2-0.4627*Var3 etc.. However, the result I am getting does not match the Score if I were to score using Proc Logistic (Proc Logistic Inmodel=a.Model)
I need to be able to create the score produced using Inmodel statement, but using linear function Intercept+XVar1+YVar2... Which info from the output I should be using and what is the transformation (if any) required?
03-28-2012 06:31 PM
What you get with your expression F = intercept + Var1*b1 + ... is Logit(p) = Ln(p/(1-p)). You want to estimate p = exp(F)/(1+exp(F)) = 1 / (1+exp(-F)).