This macro is a simple example of using jackknife techniques to obtain the MSEs and coefficients from regression. For each iteration, a row of data is excluded, a regression analysis is performed on this reduced set of data, the MSE and coefficients are stored. The process is repeated for each row of data. All of the MSEs and coefficients for each iteration are displayed in a table.
Be sure that Minitab knows where to find your downloaded macro. Choose . Under Macro location browse to the location where you save macro files.
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.
Your predictors must be in consecutive columns like c1 - c3 or c9 - c25 for the macro to run properly.
Suppose your response data is in C1, and your predictors are in C2 - C5.
%regjack C1 C2 - C5
Click Run.