cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
dingodin
Level I

Creating plots with error bars with "Fit Yby X", "Graph Builder" or other options

Hi,

How do I create plots with error bars based on "Fit y by x", Graph builder, other?

The question may  refer to two ways to achieve the plots:

1. The error bars can be derived from explicitly from the data by creating columns of means, upper/lower errors, from which the plots are created, for e.g. time dependent data.

2. From the raw data by grouping several variables (columns) from which the means and STD/SDE are calculated (per row) and subsequently are used to create the Y by X plot ()means with the error bars (STD/SDE).

 

I have seen some examples using the Graph Builder using Bar format as intermediate stage, however, it seem not to work for me.

 

Thanks,

 

 - Dean

 

4 REPLIES 4
jthi
Super User

Re: Creating plots with error bars with "Fit Yby X", "Graph Builder" or other options

What do you mean by "it seem not to work for me" so what have you already tried? Bar chart for example has many different options you can use

https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/bar.shtml#

jthi_0-1719829266876.png

There is also the Interval zone

https://www.jmp.com/support/help/en/18.0/index.shtml#page/jmp/graph-zones.shtml#

jthi_1-1719829378227.png

 

-Jarmo
dingodin
Level I

Re: Creating plots with error bars with "Fit Yby X", "Graph Builder" or other options

Hi jthi and thanks.

I was referring for instance to the following sources:

https://community.jmp.com/t5/JMPer-Cable/How-to-create-custom-error-bars-in-Graph-Builder/ba-p/35611

https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/td-p/36135

 

for implementations that haven't worked for me (or I am missing some intermediate steps in he process).

 

Thanks again,

 

 - Dean

 

jthi
Super User

Re: Creating plots with error bars with "Fit Yby X", "Graph Builder" or other options

I have added three column to JMP's sample data Big Class (0.25, 0.75 quantile and mean)

jthi_0-1719928727755.png

jthi_1-1719928737846.png

By using Interval bar chart I can get plot like this (I left the points there for visualization purposes)

jthi_2-1719928830854.png

 

-Jarmo

Re: Creating plots with error bars with "Fit Yby X", "Graph Builder" or other options

The error bar or interval estimate is usually an option in a red triangle (context) menu. Click the red triangle to the left of the fit under the scatter plot in Bivariate (Fit Y by X). You can select dotted lines or regions for the confidence or prediction interval.

See the Essential Graphing guide for similar instructions when using Graph Builder.