# Clustered multiple variables graphs

Command: | Graphs Clustered multiple variables graphs |

## Description

Creates graphs that allow to visually compare subgroups across different variables.

The graph can be composed from different elements: *Bars*, *Horizontal lines*, *Markers* and or *Connecting lines* for mean or median, with choice of different *error bars* for mean (95% CI, 1 SEM, 1 SD, 2 SD, 3 SD, range) or median (95% CI, 25-75 percentiles, 10-90 percentiles, 5-95 percentiles, 2.5-97.5 percentiles, 1-99 percentiles, range), *Box-and-whisker plot* (Tukey, 1977) or *Notched box-and-whisker plot* (McGill et al., 1978), and/or *Dot plot* (display all data) (for a see full description see Data comparison graphs).

## Required input

In this dialog box, you enter:

- Variables: the different variables of interest.
- Define clusters by: a categorical variable containing codes to break-up the data into subgroups.
- Select: a filter to include only a selected subgroup of cases in the graph.
- Graphs: see Data comparison graphs.
- Options:
- If the data require a logarithmic transformation, then select the Logarithmic transformation option.
- Complete cases only: Option to include only complete cases in the graph. If selected, only cases with valid numerical data for all variables selected in the dialog box will be included in the graph.
- Clustered by variables: Let clusters be defined by the Variables (X-axis will display groups defined by the Categorical variable, list of variables will appear in the Legend frame).

## Examples

This is the same graph, but with the option "Clustered by variables" selected:

This is an example of a graph with option "Lines" selected:

## Literature

- Altman DG (1991) Practical statistics for medical research. London: Chapman and Hall. Book info
- McGill R, Tukey JW, Larsen WA (1978) Variations of box plots. The American Statistician, 32, 12-16.
- Tukey JW (1977) Exploratory data analysis. Reading, Mass: Addison-Wesley Publishing Company. Book info