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.
would this help by using plots=fitplot
ods graphics on;
proc reg data=sashelp.class plots=fitplot;
model height=weight/noint;
run;
quit;
would this help by using plots=fitplot
ods graphics on;
proc reg data=sashelp.class plots=fitplot;
model height=weight/noint;
run;
quit;
It's done! Thankyou so much!
I would leave it in the model. The model will predict better and fit better.
Could you tell me why is that?
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.