BookmarkSubscribeRSS Feed
corkee
Calcite | Level 5

Hi, 

 

I am running a logistic regression model (a relatively simple one) and want to know if it's possible to obtain a confidence interval for the effect of age among males.

 

This is my model: 

 

logit(y) = age + male + age*male

 

where male = 1 if male and male = 0 if female. I am not sure if I need a CONTRAST statement in PROC LOGISTIC. I know I need the variance-covariance matrix, but I am not sure how to obtain it using SAS. However, it would be ideal if I could somehow obtain the 95% CI without having to do the calculations by hand using the variance-covariance matrix.

1 REPLY 1

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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