Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- JMP Academic
- :
- JMP Academic Discussions Forum
- :
- How to get box plot overlayed with dot plot for selected groups?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

May 10, 2020 6:57 PM
(685 views)

I understand that after generating the box plot in graph builder, right-click the graph, select add, then select points will display dot plots over a box plot.

However, I have a single graph displaying 3 box plots for 3 groups:A, B and C.

Group A is a large sample size so the box plot alone is sufficient, however, Group B and C has such as small sample size.

Therefore, I would like to overlay two box plots (Group B and C) with dots.

Currently, the above method applies dot plots to all groups.

So, I would like to find out ways to have dot plot on selected box plots.

Also, is there any function that changes the color for 'outlier' dots?

Thank you for your help in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Here's an approach...

First, however, is that to display both a box plot and individual points, you simply need to select both the box plot and the points symbol in the palette at the top of the graph builder. Same result as "right-clicking" and choosing "add points".

**Re: showing dots only on selected box plots.**

1. Highlight the points you don't want to display.

2. Right-click and choose **Rows > Row Markers > Other**

3. In the field that appears for you to type in the marker you wish to use, insert a space via the "space-bar" on your keyboard.

**Re: different colors for outliers**

You can create an indicator variable via a formula identifying if a data value is an outlier or not. Then you can choose unique colors/symbols for each of the groups ("Outlier" or "Not")

Example if you were doing the standard Outlier if it exceeds 1.5*IQR beyond the Q1 or Q3.

2 REPLIES 2

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Here's an approach...

First, however, is that to display both a box plot and individual points, you simply need to select both the box plot and the points symbol in the palette at the top of the graph builder. Same result as "right-clicking" and choosing "add points".

**Re: showing dots only on selected box plots.**

1. Highlight the points you don't want to display.

2. Right-click and choose **Rows > Row Markers > Other**

3. In the field that appears for you to type in the marker you wish to use, insert a space via the "space-bar" on your keyboard.

**Re: different colors for outliers**

You can create an indicator variable via a formula identifying if a data value is an outlier or not. Then you can choose unique colors/symbols for each of the groups ("Outlier" or "Not")

Example if you were doing the standard Outlier if it exceeds 1.5*IQR beyond the Q1 or Q3.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: How to get box plot overlayed with dot plot for selected groups?

Thank you so much for the easy-to-understand explanation.