BookmarkSubscribeRSS Feed
Liat
Calcite | Level 5

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


2 REPLIES 2
PGStats
Opal | Level 21

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
Liat
Calcite | Level 5

problem solved within a minute. many thanks!

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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