Boxplot that uses 3*IQR to determine outliers

This macro creates a boxplot in which the outliers are based on 3 times the interquartile range (instead of 1.5) and may be stored in the worksheet.

This macro creates a boxplot in which the outliers are based on 3 times the interquartile range (instead of 1.5) and may be stored in the worksheet.

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 numeric values

Optional Inputs

STORE C
Use to specify a column to store the outliers.

Running the Macro

Suppose your data are in C1, and you want to store the outliers in C6. To run the macro, choose View > Command Line/History and type:

%BOXPLOT3 C1;
STORE C6.

Click Run.