For the latest version of JMP Help, visit JMP.com/help.


Publication date: 07/24/2024

Example of Grouping Using a By Variable

This example shows grouping by specifying a By variable in the Bivariate launch window. This results in separate reports and graphics for each level of the By variable (or combinations of By variables).

1. Select Help > Sample Data Folder and open Big Class.jmp.

2. Select Analyze > Fit Y by X.

3. Select weight and click Y, Response.

4. Select height and click X, Factor.

5. Select sex and click By.

6. Click OK.

7. Press Ctrl, click the Bivariate Fit red triangle and select Fit Line.

Figure 5.21 Example of By Variable PlotsĀ 

Example of By Variable Plots

There are separate analyses for each level of the By variable (sex). You see a scatterplot for the females and a scatterplot for the males.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).