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...

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 976 views
  • 0 likes
  • 2 in conversation