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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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