1.
|
2.
|
Select Graph > Graph Builder.
|
3.
|
Figure 2.4 Initial Graph of Combined MPG
Because markers are assigned to rows in the data table, points are represented by those markers. The value of Comb MPG for each row is plotted at its value on the vertical axis. To avoid over-plotting points that correspond to observations with the same Comb MPG values, JMP automatically jitters the points.
You want the histogram to be vertical, so you need to move Comb MPG to the X zone.
5.
|
Hover your cursor over Comb MPG in the Y axis. The cursor turns into a hand. Select and drag Comb MPG into the X zone.
|
Figure 2.5 Histogram of Combined MPG
1.
|
Click Start Over.
|
2.
|
Figure 2.6 MPG Variables with Separate Y Zone Axes
4.
|
Drag Engine to the Group X zone.
|
Figure 2.7 Boxplots of MPG Variables by Engine Type
The boxplots show the distributions in a very compact form. You can see that all three types of MPG values are substantially lower for the gas vehicles than for the hybrids in the study. From the horizontal lines in the centers of the two City MPG boxplots, you can estimate that the median difference is about five miles per gallon. However, you can use the Caption element to be sure.
7.
|
In the Caption Box options at the left of the plot, select Median from the Summary Statistic list for Comb MPG, Hwy MPG, and City MPG.
|
Figure 2.8 Boxplots of MPG Variables with Captions
1.
|
Click Start Over.
|
2.
|
3.
|
4.
|
Figure 2.9 Hwy and City MPG by Engine Type
Tip: To add the y = x line, right-click in the graph and select Customize > + > Templates > Y Function. Replace _function_of_x_ with y = x and click OK.
6.
|
Drag a rectangle around the “o” marker with the smallest value of City MPG and check the number of rows selected in the Rows panel of the data table.
|