Programming the statistical procedures from SAS

Logistic Regression using CATMOD

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

Logistic Regression using CATMOD

Dear all,

I would like to know if I could estimate Odds ratio with a Catmod procedure?

Thank you,

Darina Proshenska


Accepted Solutions
Solution
‎05-01-2018 11:17 AM
SAS Super FREQ
Posts: 4,247

Re: Logistic Regression using CATMOD

Yes. Use the LOGLIN statement  to specify the model effects and put the _RESPONSE_ keyword on the right-hand side of the MODEL statement. The parameter estimates table contains the estimates on a log scale. You will need to combine them and exponentiate them to get the odds ratios. I wasn't able to find an online example, but there is an example in the "Loglinear Models" chapter of Stokes, Davis, and Koch, "Categorical Data Analysis" book.

View solution in original post


All Replies
Super User
Posts: 10,787

Re: Logistic Regression using CATMOD

I am not sure .

CONTRAST '1 vs. 4' A 2 1 1  /  EXP ;

Occasional Contributor
Posts: 8

Re: Logistic Regression using CATMOD

I will try this. Thank you for your help!

 

Darina

Solution
‎05-01-2018 11:17 AM
SAS Super FREQ
Posts: 4,247

Re: Logistic Regression using CATMOD

Yes. Use the LOGLIN statement  to specify the model effects and put the _RESPONSE_ keyword on the right-hand side of the MODEL statement. The parameter estimates table contains the estimates on a log scale. You will need to combine them and exponentiate them to get the odds ratios. I wasn't able to find an online example, but there is an example in the "Loglinear Models" chapter of Stokes, Davis, and Koch, "Categorical Data Analysis" book.

Occasional Contributor
Posts: 8

Re: Logistic Regression using CATMOD

Okay. I'll check this.

 

Thanks, Rick,
Darina Proshenska

SAS Super FREQ
Posts: 4,247

Re: Logistic Regression using CATMOD

@StatDave_sas gave you some valuable advice about using PROC LOGISTIC instead of PROC CATMOD. Please consider following his advice.

Occasional Contributor
Posts: 8

Re: Logistic Regression using CATMOD

Yes. Thank you!
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 186 views
  • 0 likes
  • 3 in conversation