BookmarkSubscribeRSS Feed
kayne
Calcite | Level 5

Hi guys!

I have been trying to automate my glm using %do loops. However, when i try to include all variables initially when &i=1, the loop did not complete and there are no parameter estimates and type3 wald results output (due to non-convergence). I was just thinking if there is any additional codes I should include in my macro to  allow SAS to drop off variables (which have extremely large p-values) immediately when there is non-convergence and continue to proceed on looping the GLM.

Your help will be appreciated! Smiley Happy

1 REPLY 1
Reeza
Super User

You need to show your code...

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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