Use this macro to plot a simple linear or quadratic regression line and display the predicted values on the plot. If the predicted values are for future values of X, then the predicted line and confidence bands are extended into the future.
Be sure that Minitab knows where to find your downloaded macro. Choose Macro location and browse to the location where you save macro files.. Under
If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.
%EXTEND C2 C1 C4; QUADRATIC; CONFLEV 98.
Click Submit Commands.