Programming the statistical procedures from SAS

waring message from proc varclus

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

waring message from proc varclus

Hello,

I got an error message from proc varclus and it says "WARNING: Iteration limit exceeded in search phase". What should do with it? May I ignore it? Thanks.

 

proc varclus data=data maxeigen=1 short hi ;

var &var;

run;


Accepted Solutions
Solution
‎05-01-2017 03:30 PM
Grand Advisor
Posts: 10,043

Re: waring message from proc varclus

The MAXSEARCH option can be used to specify the number of iteration in the search phase. The default is 1000 divide by the number of variables. If you have a large number of variables (hidden by your macro variables) you may have a small number of iteration available. If this is the case then specify a value of maxsearh or reduce the number of variables.

View solution in original post


All Replies
Solution
‎05-01-2017 03:30 PM
Grand Advisor
Posts: 10,043

Re: waring message from proc varclus

The MAXSEARCH option can be used to specify the number of iteration in the search phase. The default is 1000 divide by the number of variables. If you have a large number of variables (hidden by your macro variables) you may have a small number of iteration available. If this is the case then specify a value of maxsearh or reduce the number of variables.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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