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.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →

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
  • 1473 views
  • 0 likes
  • 2 in conversation