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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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