Example of Using Jacknife Techniques in Regression mainline

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.

Download the Macro

Be sure that Minitab knows where to find your downloaded macro. Choose File > Options > General. Under Macro location browse to the location where you save macro files.

Important

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.

Required Inputs

  • A column of response data
  • One or more columns of predictors
Note

Your predictors must be in consecutive columns like c1 - c3 or c9 - c25 for the macro to run properly.

Running the Macro

Suppose your response data is in C1, and your predictors are in C2 - C5.

To run the macro choose View > Command Line/History and type:
%regjack C1 C2 - C5

Click Run.