Good morning - I'm working on some regressions and am having some trouble getting the graphics to come out nicely.
When using the PLOT statement, the model shows on the graphic by default, but the default graphic leaves a lot to be desired.
The ODS graphics are quite nice, but I have so far been unable to discover a way to show the regression model on the fitplot, or find another plot with the values, regression line, and confidence and prediction intervals.
Could someone please help me or point me to an example? I have so far been unable to find one.
Unfortunately, neither PROG REG nor SGPLOT have the facility to automatically display the regression equation using ODS Graphics. One possibility may be to determine the equation from the PROC REG output and add the equation to the ODS Graphics plot from PROC REG using the ODS Graphics Editor as a post-process.