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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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