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.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.