I performed a logistic regression with stepwise selection, and a variable that was retained has on OR point estimate of 1.000, with 95% Wald CLs of 1.000-1.001. Is this likely a glitch, or are the "true" point estimate and lower CL just a titch above 1 and victims of rounding (e.g., lower CL 1.00001, point estimate 1.00008)?
The code:
PROC LOGISTIC DATA=train;
CLASS landcover (REF='11') / PARAM=REF;
MODEL case (EVENT='1')=landcover water_pct temperature precipitation / SELECTION=STEPWISE;
RUN;
Because the variable was selected, I would guess the CI is [1 + epsilon, 1.001]. You can use the ODS OUTPUT statement to see the full precision of the estimates:
ods output OddsRatios=OR;
PROC LOGISTIC ...;
RUN;
proc print data=OR;
format LowerCL UpperCL 16.14;
run;
Because the variable was selected, I would guess the CI is [1 + epsilon, 1.001]. You can use the ODS OUTPUT statement to see the full precision of the estimates:
ods output OddsRatios=OR;
PROC LOGISTIC ...;
RUN;
proc print data=OR;
format LowerCL UpperCL 16.14;
run;
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 16. Read more here about why you should contribute and what is in it for you!
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.