Programming the statistical procedures from SAS

Scoring Formula using Proc Logistic Output

Reply
New Contributor
Posts: 3

Scoring Formula using Proc Logistic Output

I have received the following output in Proc Logistic:

VariableDFEstimateStdErrWaldChiSqProbChiSqStandardizedEst
Intercept1-0.17440.23160.56710.4514_
Var111.75370.297734.7055<.00010.0772
Var210.02620.0039344.3659<.00010.0792
Var31-0.46270.077335.8634<.0001-0.0813
Var41-0.32090.04942.8821<.0001-0.0884
Var51-0.001910.00020686.6722<.0001-0.1216
Var61-0.73360.111743.1698<.0001-0.1282
Var71-0.94590.163233.5811<.0001-0.057

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?

Thank you!

Respected Advisor
Posts: 4,606

Scoring Formula using Proc Logistic Output

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)).

PG

PG
Ask a Question
Discussion stats
  • 1 reply
  • 745 views
  • 0 likes
  • 2 in conversation