DATA Step, Macro, Functions and more

insufficient memory

Reply
Contributor
Posts: 31

insufficient memory

My code is just:

proc logistic data=freq, Plots(Label Maxpoints=None)=all descending;

model tag= video1-video30 three1-three30 old1-old30 yong1-yong30 get1-get30/INFLUENCE;

run;

My laptop has 8 GB memory 256SSD.

But still insufficient memory. How to solve this problem???

My file contains 120000 observations , 150 predictor  variables.

Super User
Posts: 6,977

Re: insufficient memory

What is your SAS environment?

- SAS UE?

- local SAS installed?

- remote SAS with Enterprise Guide or SAS Studio?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 31

Re: insufficient memory

My environment is windows8.

Yes . Local SAS installed.

I am using sas9.4

Super User
Posts: 10,550

Re: insufficient memory

I would try this without the plots to see if that helps as something very easy to try.

Contributor
Posts: 31

Re: insufficient memory

I would like to see the Plots to find the influential points. Without the plots.....I think this code is useless

Trusted Advisor
Posts: 1,631

Re: insufficient memory

Logistic on that many predictor variables not only causes memory problems, but it also would cause interpretation problems if you were able to actually run the model — in the sense that any resulting model would be extremely difficult to use or interpret because of the correlation between the predictors.

An alternative is to use PROC PLS, which has the advantage of using an algorithm that is not as susceptible to memory issues as is PROC LOGISTIC, but it also provides more interpretable models in the case of correlation between the predictors. Win-win!

Contributor
Posts: 31

Re: insufficient memory

my main purpose is to do the classification. Could the Proc PLS be used to do the classification?

Trusted Advisor
Posts: 1,631

Re: insufficient memory

"Classification" is a broad term, but yes, you could use the PROC PLS results to do some types of classification.

Ask a Question
Discussion stats
  • 7 replies
  • 426 views
  • 0 likes
  • 4 in conversation