BookmarkSubscribeRSS Feed
JuanVte
Calcite | Level 5
Dear all,

I am trying to compute confidence intervals for a logistic regression parameters with interactions. SAS automatically gives the intervals for the main effects but not for the interactions.

I now that OR(A*B) = exp(effect A + effect B + effect(A*B)) but what about the confidence intervals?

Regards!
Juan Vicente
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
The only way to get a CI on the interaction is to recode the data with the IA as a "main effect"
ABia=a*b;
and include it in the model as a separate variable.

Although you can technically get a CI that way, it's nearly impossible to interpret. Good luck with that. If A & B are binary, it's OK, but beyond that is a stretch.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 916 views
  • 0 likes
  • 2 in conversation