Help using Base SAS procedures

proc reg - running time

Reply
Occasional Contributor
Posts: 8

proc reg - running time

Hi,

I want to run a proc reg (3 dependent variables) 1,100,000 obervations.

the syntax I use is:

proc reg data=data_name;

model independent_v = dep_var1 dep_var2 dep_var3 / p r ;

run;

and an error window jump saying sas is going to end because of an unexpected error.

all the 4 variables are continuous.

Can you help?

Thanks,

Liat


Respected Advisor
Posts: 4,659

Re: proc reg - running time

Option p and r request a listing of predicted values and residuals. Is that really what you want? You are likely exceeding the capacity of the Output window. Try taking these options off the MODEL statement and use an OUTPUT statement instead to write the values to a dataset.

output out=output_name p=pred r=resid;

PG

PG
Occasional Contributor
Posts: 8

Re: proc reg - running time

problem solved within a minute. many thanks!

Ask a Question
Discussion stats
  • 2 replies
  • 176 views
  • 0 likes
  • 2 in conversation