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

Hello. Does somebody happen to know what should be done if we're using regression analysis but the intercept is not significant?

If It should be terminated from the model, what syntax should we use?

Thank you for your kind help and attention.

1 ACCEPTED SOLUTION

Accepted Solutions
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

would this help by using plots=fitplot

ods graphics on;
proc reg data=sashelp.class plots=fitplot;
model height=weight/noint;
run;
quit;

 

https://communities.sas.com/t5/SAS-Programming/regression-analysis-without-intercept/m-p/529460#M144...

View solution in original post

6 REPLIES 6
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

would this help by using plots=fitplot

ods graphics on;
proc reg data=sashelp.class plots=fitplot;
model height=weight/noint;
run;
quit;

 

https://communities.sas.com/t5/SAS-Programming/regression-analysis-without-intercept/m-p/529460#M144...

sasgiaz
Quartz | Level 8

It's done! Thankyou so much!

sasgiaz
Quartz | Level 8
Sorry if I bother you again.. But I found new problem.
I used to use the syntax like this:
model height=weight/influence;
and it has output statistics which has the value of model's residual, but I can't find it in the syntax you gave.
Could you tell me how to make the residual come out? Thanks before.
PaigeMiller
Diamond | Level 26

I would leave it in the model. The model will predict better and fit better.

--
Paige Miller
sasgiaz
Quartz | Level 8

Could you tell me why is that?

PaigeMiller
Diamond | Level 26

Draw a plot of the regression line with the intercept.

 

Draw another plot of the regression line with no intercept.


See which one fits better visually.

--
Paige Miller

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
  • 6 replies
  • 1047 views
  • 0 likes
  • 3 in conversation