Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Mosaic Plot

Figure 4.3: Mosaic plot of Age by Adjusted.
Image rattle-audit-explore-mosaic-age-adjusted
A mosaic plot is an effective way to visualise the distribution of the values of a variable over the different values of another variable. Often, this second variable is the target variable that we are interested in (e.g., XnullXRattle!VariablesR functions (R function)Rattle!VariablesR libraries (R library)Rattle!VariablesR option (R option)Rattle!VariablesR packages (R package)Rattle!VariablesDatasets (Dataset)Rattle!VariablesRattle!VariablesAdjusted in our audit).

The example in Figure 4.3 displays the relationship between the input variable XnullXRattle!VariablesR functions (R function)Rattle!VariablesR libraries (R library)Rattle!VariablesR option (R option)Rattle!VariablesR packages (R package)Rattle!VariablesDatasets (Dataset)Rattle!VariablesRattle!VariablesAge and target variable XnullXRattle!VariablesR functions (R function)Rattle!VariablesR libraries (R library)Rattle!VariablesR option (R option)Rattle!VariablesR packages (R package)Rattle!VariablesDatasets (Dataset)Rattle!VariablesRattle!VariablesAdjusted. XnullXRattle!VariablesR functions (R function)Rattle!VariablesR libraries (R library)Rattle!VariablesR option (R option)Rattle!VariablesR packages (R package)Rattle!VariablesDatasets (Dataset)Rattle!VariablesRattle!VariablesAge is a numeric variable, so for it to make sense in a mosaic plot we need to bin it so that it becomes categoric, which can be accomplished using the Remap option of the Transform tab. In this case we have transformed XnullXRattle!VariablesR functions (R function)Rattle!VariablesR libraries (R library)Rattle!VariablesR option (R option)Rattle!VariablesR packages (R package)Rattle!VariablesDatasets (Dataset)Rattle!VariablesRattle!VariablesAge into 6 quantiles (equal sized groups).

The plot tells us that XXXX

Copyright © 2004-2008 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
PDF version is properly formatted and forms a comprehensive book (draft with over 600 pages).
Brought to you by Togaware.