This macro generates a mosaic plot for 3 categorical variables. The size of each rectangle is proportional to the percentage of observations from that combination of variable levels.
Be sure that Minitab knows where to find your downloaded macro. Choose Macro location 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.
You need three columns of categorical values.
The total number of category level combinations cannot be greater than 50.
Suppose three categorical variables are in columns C1, C2, and C3. To run the macro, chooseand type:
%MOSAIC C1 C2 C3
Click Submit Commands.