The section Compare Averages for One Variable, compared averages across the levels of a categorical variable. To compare averages across the levels of two or more variables at once, use the Analysis of Variance technique (or ANOVA).
Type (pharmaceutical or computer)
Size (small, medium, big)
1.
Select Help > Sample Data Library and open Companies.jmp.
2.
Select Graph > Graph Builder. The Graph Builder window appears.
3.
Click Profits ($M) and drag and drop it into the Y zone.
4.
Click Size Co and drag and drop it into the X zone.
5.
Click Type and drag and drop it into the Group X zone.
Graph of Company Profits
6.
Select the outlier, then right-click and select Rows > Row Exclude. The point is removed, and the scale of the graph automatically updates.
Graph with Outlier Removed
1.
Return to the Companies.jmp sample data table that has the data point excluded. See Discover the Relationship.
2.
Select Analyze > Fit Model.
3.
Select Profits ($M) and click Y.
4.
Select both Type and Size Co.
5.
Click the Macros button and select Full Factorial.
6.
7.
Select the Keep dialog open option.
Completed Fit Model Window
8.
Click Run. The report window shows the model results.
Note: For complete details about all of the Fit Model results, see Model Specification in the ­Fitting Linear Models book.
The Effect Tests report (see Effect Tests Report) shows the results of the statistical tests. There is a test for each of the effects included in the model on the Fit Model window: Type, Size Co, and Type*Size Co.
Effect Tests Report
First, look at the test for the interaction in the model: the Type*Size Co effect. Graph with Outlier Removed showed that the pharmaceutical companies appeared to have different profits between company sizes. However, the effect test indicates that there is no interaction between type and size as it relates to profit. The p-value of 0.218 is large (greater than the significance level of 0.05). Therefore, remove that effect from the model, and re-run the model.
2.
In the Construct Model Effects box, select the Type*Size Co effect and click Remove.
3.
Click Run.
Updated Effect Tests Report

Help created on 9/19/2017