jmp graph builder cdf plot

JMP Graph Builder: Create Stunning CDF Plots Quickly

By Joshua King
AD

The JMP Statistical Discovery Software, developed by SAS, offers a powerful tool for creating cumulative distribution function (CDF) plots. This type of plot is an invaluable visual aid for understanding and communicating the probability distribution of data. Let's delve into the process of building a CDF plot using JMP's Graph Builder.

Before we commence, ensure that you have loaded your data into JMP. For this demonstration, let's assume we're working with a dataset containing the heights of various plants, a common scenario in biological studies. Now, let's explore the step-by-step process of creating a CDF plot.

Accessing the Graph Builder

To begin, click on the 'Graph' menu in JMP and select 'Build Graph'. This action opens the Graph Builder dialog box, where we'll start shaping our CDF plot.

AD
Matplotlib - Plotting with Keywords
Matplotlib - Plotting with Keywords
A ggplot2 Extension Inspired by GraphPad Prism
A ggplot2 Extension Inspired by GraphPad Prism
the plot shows that there are two different types of graphs, one is blue and the other is black
the plot shows that there are two different types of graphs, one is blue and the other is black

The Graph Builder is an interactive tool that allows you to customize your graph. It initially contains a blank plot, which we'll populate with our data's CDF.

Selecting the Y Variable

In the 'Y' field, select 'Height' from the dropdown list. This will set the heights of the plants as the variable whose CDF we want to plot. The 'X' field remains blank for CDF plots, as it's not needed.

Master data visualization with ggplot2: theme() customization | Towards Data Science
Master data visualization with ggplot2: theme() customization | Towards Data Science
ggplot2 Based Plots with Statistical Details
ggplot2 Based Plots with Statistical Details
Matplotlib - Background Colors
Matplotlib - Background Colors

Upon selecting 'Height', you'll notice that the blank plot in the Graph Builder begins to populate with data points, representing the plants' heights.

Choosing the Plot Type

Next, we need to specify that we want a CDF plot. In the 'Plot' field, select 'CDF'. The plot in the Graph Builder window should now display a curve representing the empirical CDF of the plant heights.

AD

Let's delve deeper into the specifics of this plot. A CDF plot displays, for each value on the x-axis (the plant heights in our case), the proportion of data points that fall below or at that value. The result is a smooth, step-like curve that ascends from (0,0) to (1,1).

Why You Don't Need JS to Make 3D plots | Towards Data Science
Why You Don't Need JS to Make 3D plots | Towards Data Science
MATLAB 2D Plotting & Data Visualization Cheat Sheet
MATLAB 2D Plotting & Data Visualization Cheat Sheet
A comprehensive study of Mixed Integer Programming with JuMP on Julia (Part 1) | Towards Data Science
A comprehensive study of Mixed Integer Programming with JuMP on Julia (Part 1) | Towards Data Science
Probabilistic Project Management at NASA with Joint Confidence Level (JCL-PC)
Probabilistic Project Management at NASA with Joint Confidence Level (JCL-PC)
an image of a computer screen with the text'change directory'in orange on it
an image of a computer screen with the text'change directory'in orange on it
ggfortify: One-Line ggplot2 Plots for Models and Time Series in R – Datanovia
ggfortify: One-Line ggplot2 Plots for Models and Time Series in R – Datanovia

Customizing the CDF Plot

The CDF plot generated by default in JMP provides a solid foundation, but it's often useful to customize the plot to make it more informative or easier to interpret. Let's look at a couple of ways to do this.

The first customization we can make is to add a reference line. This could be a line representing the mean height, or a line that marks a specific threshold. To add a reference line, click on 'Add List' in the Graph Builder, then select 'Draw Line'. In the 'Line' field, input any specific value to draw a line at that point on the x-axis.

AD

Adding Notations

Another way to customize the CDF plot is to add notations. These are text labels that annotate key points or features in the plot. To add a notation, click on 'Add List' again, then select 'Add Text'. Place your cursor on the plot and type the text you wish to include. Notations are particularly useful when providing additional context or drawing attention to specific parts of the CDF.

ggplot2 - Multiple Plots
ggplot2 - Multiple Plots

Using the JMP Graph Builder to create a CDF plot is a straightforward process that yields valuable insights into the distribution of your data. With a little bit of customization, you can tailor these plots to effectively communicate your findings.

A well-crafted CDF plot can tell a story about your data - it can illustrate the central tendency, show the presence of outliers, and hint at the data's underlying distribution. So, the next time you're exploring your data in JMP, consider reaching for the CDF plot as a powerful tool for understanding and communicating your results.

AD
AD