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


Basic Analysis > Distributions > Options for Categorical Variables
Publication date: 06/21/2023

Options for Categorical Variables

The red triangle menus next to each variable in the Distributions report contain additional options that apply to the variable. This section describes the options that are available for categorical (nominal or ordinal) variables.

Display Options

Contains the following options to change the display of the report.

Frequencies

Shows or hides the Frequencies report. See The Frequencies Report.

Horizontal Layout

Changes the orientation of the histogram and the reports to vertical or horizontal.

Axes on Left

(Available only when the Horizontal Layout option is selected.) Moves the Count, Prob, and Density axes to the left side of the histogram instead of the right side.

Histogram Options

See Histogram Options for Categorical Variables.

Mosaic Plot

Displays a mosaic bar chart for each nominal or ordinal response variable. A mosaic plot is a stacked bar chart where each segment is proportional to its group’s frequency count.

Order By

Reorders the histogram, mosaic plot, and Frequencies report in ascending or descending order, by count. To save the new order as a column property, use the Save > Value Ordering option.

Test Probabilities

Shows a report that tests hypothesized probabilities. See Example of Testing Probabilities for Two Levels and Example of Testing Probabilities for More Than Two Levels.

Confidence Interval

This menu contains confidence levels. Select a value that is listed, or select Other to enter your own. JMP computes score confidence intervals.

Save

See Save Options for Categorical Variables.

Remove

Permanently removes the variable and all its reports from the Distribution report.

Histogram Options for Categorical Variables

Histogram

Shows or hides the histogram. See Histograms.

Vertical

Changes the orientation of the histogram from a vertical to a horizontal orientation.

Std Error Bars

Draws the standard error bar on each level of the histogram.

Separate Bars

Separates the histogram bars.

Histogram Color

Changes the color of the histogram bars.

Count Axis

Adds an axis that shows the frequency of column values represented by the histogram bars.

Prob Axis

Adds an axis that shows the proportion of column values represented by histogram bars.

Density Axis

Adds an axis that shows the length of the bars in the histogram.

The count and probability axes are based on the following calculations:

prob = (bar width)*density

count = (bar width)*density*(total count)

Show Percents

Labels the percent of column values represented by each histogram bar.

Note: To specify the number of decimal places, right-click the histogram and select Customize > Histogram.

Show Counts

Labels the frequency of column values represented by each histogram bar.

Save Options for Categorical Variables

Level Numbers

Creates a new column in the data table called Level <colname>. The level number of each observation corresponds to the histogram bar that contains the observation.

Value Ordering

(Use with the Order By option) Creates a new value ordering column property in the data table, reflecting the new order.

Script to Log

Displays the script commands to generate the current report in the log window. Select View > Log to see the log window.

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