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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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