BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sasgiaz
Quartz | Level 8

Hi.

I used this syntax:

proc reg data = arimaxvlp;
model Bill = Waktu DL1 DL2 DL3/influence;
run;

 

Then I want to terminate the intercept of the model so I use this instead:

proc reg data = arimaxvlp;
model Bill = Waktu DL1 DL2 DL3 D1 D2 D3 D4 D5 D6 Mt/noint;
run;

 

But this new syntax I've been using doesn't produce the value of the residual from the model.

Could somebody tell me how to make the residual come out at the output?

Thankyou.

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

Add the statement

OUTPUT OUT=MyRes R=BillRes P=BillPred;

 

to get the residuals and predicted values into dataset MyRes.

PG

View solution in original post

2 REPLIES 2
PGStats
Opal | Level 21

Add the statement

OUTPUT OUT=MyRes R=BillRes P=BillPred;

 

to get the residuals and predicted values into dataset MyRes.

PG
sasgiaz
Quartz | Level 8
Done. Thank you!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 882 views
  • 0 likes
  • 2 in conversation