Example of each y versus each x with groups
main topic
    interpreting results      session command    
see also 

You collected data on resting (Pulse 1) and post-workout (Pulse 2) pulse rates from a group of college-age students and want to examine the relationship between these readings and a number of other variables. Only the pulse rates of those who completed the workout are included (Ran = 1).  Because a simple each Y versus each X plot proved inconclusive, you decide to add the grouping variable Smokes to refine your investigation.

1    Open the worksheet PULSE.MTW.

2    Choose Graph > Matrix Plot.

3    Choose Each Y versus each X - With Groups, then click OK.

4    In Y variables, enter Pulse1 Pulse2.

5    In X variables, enter Height Weight .

6    In Categorical variables for grouping, enter Smokes.

6    Click Data Options, then click the Subset tab.

7    Under Include or Exclude, choose Specify which rows to include.

8    Under Specify Which Rows To Include, choose Rows that match. Click Condition.

9    Under Condition, enter Ran = 1. Click OK in each dialog box.

Graph window output

Interpreting the results

You do not notice a dramatic difference in the results for smoking and nonsmoking subjects. You decide to investigate other factors for possible relationships.

Tip

To see the row number and x- and y-values for a symbol, hover your cursor over it.