New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
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!