Sorted one-way ANOVA

This macro performs One-Way ANOVA for a single response versus each specified factor, one factor at a time. For each factor, the R-squared and p-value are calculated. These values are then sorted from the smallest to the largest p-value and 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

  • Column containing the response data
  • One or more columns containing factors

Running the Macro

Suppose the response data are in C1, and the factors are in columns C3, C4, and C5. To run the macro, choose View > Command Line/History and type:

%SORTAOV C1 C3-C5

Click Run.