Publication date: 08/13/2020

Example of Grouping Using a By Variable

Another method of grouping is to specify a By variable in the 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 Library 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 red triangle menu next to Bivariate Fit of weight By height sex =F, and select Fit Line from the red triangle menu.

Figure 5.25 Example of By Variable PlotsĀ 

There are separate analyses for each level of the By variable (sex). So 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).
.