BookmarkSubscribeRSS Feed
imsenny
Calcite | Level 5

I am running proc reg with a datafile with 4000+ variables and 1.3 million observations. I expected for it to run for quite a while, but not this long... Is it actually still running the command OR should I just terminate it because something must be wrong?

 

Thanks in advance all SAS experts!

3 REPLIES 3
PGStats
Opal | Level 21

If your procedure is producing plots, stop it and restart it without the plots. That is often the lengthiest, and by far, part of the processing.

PG
ballardw
Super User

Are doing this with BY group processing? How many total levels if so? Each by group can produce a fair amount of output in the results window. And if you have many by groups then you could be getting to memory limits and lots of disc access to track the output plus the model calculations.

If that is the case you may try turning off most of the output and sending results to data sets. No print may be your friend.

Ksharp
Super User
I would suggest you to use PROC GLMSELECT to select those 
the most significant varialbes, after that using PROC REG.



OR you want IML code ? That need very big memory .


sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1004 views
  • 0 likes
  • 4 in conversation