cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
LogitTurtle576
Level III

How to show 2 histograms based on date for the same data ?

Hi

 

I have a set of data for a variable starting on March 2021.

But we did a modification on the process after May 2022

I would like now to see the impact in the distribution before and after May 1st 2022

How can I simply do this ?

 

Thanks

3 REPLIES 3
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to show 2 histograms based on date for the same data ?

Hi @LogitTurtle576 ,

 

You could make a new column in your table indicating whether each row is before or after the process change, and then launch the distribution platform including that new variable in the 'by' group (hint: use a formula to check if the data column is greater than a specific date).  Or, you could use the distribution within graph builder and add the new variable as a grouping variable, similar to what the Species variable does in this chart:

 

ih_0-1654702044228.png

 

txnelson
Super User

Re: How to show 2 histograms based on date for the same data ?

@ih provides a good answer, however, I prefer using Box Plots in combination with Violin plots to give the true picture of what the pre and post distributions look like.

txnelson_0-1654720471235.png

 

 

Jim
LogitTurtle576
Level III

Re: How to show 2 histograms based on date for the same data ?

Thanks to both of you for the quick answer.