BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
kcodo
Obsidian | Level 7

How do I get the point estimates for the reference value in the following?

proc logistic data =WORK.shihab ;
class PainSites (ref ='2')
model Success_trials (event='1') = PainSites /clodds=wald;
run; quit;

 

I'm getting the following:

Pain sites 1 vs. 2

Pain sites 3 vs. 2

 

But I also want he point estimates for Painsites 2 as well. Any help much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

There are several ways that you can score regression models on new data,

but for your simple example the "point estimate" is the value of the Intercept term because the reference parameter is assigned a coefficient of 0. A statistical discussion with more details is available in the article "Singular parameterizations, generalized inverses, and regression estimates."

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

There are several ways that you can score regression models on new data,

but for your simple example the "point estimate" is the value of the Intercept term because the reference parameter is assigned a coefficient of 0. A statistical discussion with more details is available in the article "Singular parameterizations, generalized inverses, and regression estimates."

kcodo
Obsidian | Level 7
Thank you!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1010 views
  • 2 likes
  • 2 in conversation