cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
ShriHanuman
Level I

Alert: Failed to converge(step-halving-limit) error. What am I missing?

Hi,

When I do the below steps with a categorical Y variable:

 

Select Analyze > Fit Model.

Select the response column and click Y, Response.

Select the predictor colulmns and click Add or use one of the Macros if you want to include higher order effects.

Click the button next to Personality and select Stepwise.

Click Run.

Click Minimum BIC and select P-Value Threshold.

Click Forward and select Mixed.

Click Go.

 

I get Alert: Failed to converge(step-halving-limit) error

 

I want to have a mixed stepwise regression.

What am I missing?

1 ACCEPTED SOLUTION

Accepted Solutions
susan_walsh1
Staff (Retired)

Re: Alert: Failed to converge(step-halving-limit) error. What am I missing?

The error you are encountering in the Stepwise platform indicates that there is complete or quasi-complete separation. This is a phenomenon that can occur for binary responses, when one predictor (or a combination of predictors) can perfectly predict the outcome. In this case the maximum likelihood estimates don't exist. There is a SAS note that addresses this issue with logistic models on our website at http://support.sas.com/kb/22/599.html. Although the note addresses SAS, the concepts discussed there are applicable to any software.

View solution in original post

1 REPLY 1
susan_walsh1
Staff (Retired)

Re: Alert: Failed to converge(step-halving-limit) error. What am I missing?

The error you are encountering in the Stepwise platform indicates that there is complete or quasi-complete separation. This is a phenomenon that can occur for binary responses, when one predictor (or a combination of predictors) can perfectly predict the outcome. In this case the maximum likelihood estimates don't exist. There is a SAS note that addresses this issue with logistic models on our website at http://support.sas.com/kb/22/599.html. Although the note addresses SAS, the concepts discussed there are applicable to any software.