<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add mean to distribution histogram ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286858#M55363</link>
    <description>&lt;P&gt;It sounds like the Y-axis (grand total hours worked) should be continuous, not nominal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, this is what I think you have, correct me if wrong. Your data has two (relevant) columns: machine ID (nominal) and total hours worked (continuous).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is the case, I think Graph Builder would be a better choice. I have attached some mock data (with an attached script) to show how to get your desired graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps to make the graph.&lt;/P&gt;
&lt;P&gt;Go to Graph &amp;gt; Graph Builder&lt;/P&gt;
&lt;P&gt;Drag Total Hours to the Y zone.&lt;/P&gt;
&lt;P&gt;Click the Line element to get a horizontal line drawn at the mean of the hours worked.&lt;/P&gt;
&lt;P&gt;Right-click in the graph and choose Add &amp;gt; Bar.&lt;/P&gt;
&lt;P&gt;You should now have a line drawn at the mean and a bar that goes up to that horizontal line.&lt;/P&gt;
&lt;P&gt;Drag Machine ID to the X-axis.&lt;/P&gt;
&lt;P&gt;This will give you the bar chart, but the line is now connecting the tops of all of the bars.&lt;/P&gt;
&lt;P&gt;In the Line element area, click on the variables gray triangle and clear the checkbox for the X-axis (Machine ID), as shown in this picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 462px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26300i9AE517C7F43E1146/image-dimensions/462x264?v=v2" width="462" height="264" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click Done.&lt;/P&gt;
&lt;P&gt;It looks like a lot of steps, but really is not that bad. It just takes awhile to type it all. I made this picture in about 20 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 20:45:52 GMT</pubDate>
    <dc:creator>Dan_Obermiller</dc:creator>
    <dc:date>2020-08-19T20:45:52Z</dc:date>
    <item>
      <title>Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286696#M55341</link>
      <description>&lt;P&gt;Hi Community,&lt;BR /&gt;As I'm a new user i struggle to get familiar with all the functions.&lt;BR /&gt;Is it possible to add a mean line calculated from JMP in a distribution histogram ?? (attached an illustration of what i would like)&lt;BR /&gt;Anyone that can help ??&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mean on distribution histogram.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26293i323E74FD6021F115/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mean on distribution histogram.PNG" alt="mean on distribution histogram.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:05:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286696#M55341</guid>
      <dc:creator>Martinej</dc:creator>
      <dc:date>2023-06-11T11:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286756#M55347</link>
      <description>&lt;P&gt;Your example looks like the x-axis is nominal, which means you actually have a bar chart, not a histogram.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;In that case, the mean is the total number of observations divided by the number of categories. You can add a reference line and for the value, enter that number.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;If this truly is a histogram, then you want the reference line that is the average number of counts in each bar? That would change depending on how many bars you would like to have, which is changed easily using the grabber tool. It becomes a bit more difficult to add your line then.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Maybe a more specific example or clarification of what is being graphed would be in order. You should also probably consider graph builder rather than Distributions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 14:28:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286756#M55347</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2020-08-19T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286768#M55349</link>
      <description>&lt;P&gt;Thanks Dan for your support.&lt;BR /&gt;I was checking and the x-axis data is nominal. It a machine number.&lt;BR /&gt;The Y-axis shown is also nominal. it is the grand total sum of working hour we use for assembly of machines.&lt;/P&gt;&lt;P&gt;the distribution shows me the spread in hours, but i would like for simple visualization, to add the average hours used&amp;nbsp; for the sum of machines.&lt;BR /&gt;The benchmark line I could add manually as this will not move, but the average could move if I add data.&lt;/P&gt;&lt;P&gt;Maybe graph builder is a better choice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 15:00:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286768#M55349</guid>
      <dc:creator>Martinej</dc:creator>
      <dc:date>2020-08-19T15:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286858#M55363</link>
      <description>&lt;P&gt;It sounds like the Y-axis (grand total hours worked) should be continuous, not nominal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, this is what I think you have, correct me if wrong. Your data has two (relevant) columns: machine ID (nominal) and total hours worked (continuous).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is the case, I think Graph Builder would be a better choice. I have attached some mock data (with an attached script) to show how to get your desired graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps to make the graph.&lt;/P&gt;
&lt;P&gt;Go to Graph &amp;gt; Graph Builder&lt;/P&gt;
&lt;P&gt;Drag Total Hours to the Y zone.&lt;/P&gt;
&lt;P&gt;Click the Line element to get a horizontal line drawn at the mean of the hours worked.&lt;/P&gt;
&lt;P&gt;Right-click in the graph and choose Add &amp;gt; Bar.&lt;/P&gt;
&lt;P&gt;You should now have a line drawn at the mean and a bar that goes up to that horizontal line.&lt;/P&gt;
&lt;P&gt;Drag Machine ID to the X-axis.&lt;/P&gt;
&lt;P&gt;This will give you the bar chart, but the line is now connecting the tops of all of the bars.&lt;/P&gt;
&lt;P&gt;In the Line element area, click on the variables gray triangle and clear the checkbox for the X-axis (Machine ID), as shown in this picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 462px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26300i9AE517C7F43E1146/image-dimensions/462x264?v=v2" width="462" height="264" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click Done.&lt;/P&gt;
&lt;P&gt;It looks like a lot of steps, but really is not that bad. It just takes awhile to type it all. I made this picture in about 20 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 20:45:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/286858#M55363</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2020-08-19T20:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/287087#M55412</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;Thanks alot.&lt;/P&gt;&lt;P&gt;This did the trick, and it was really not bad.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 12:02:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/287087#M55412</guid>
      <dc:creator>Martinej</dc:creator>
      <dc:date>2020-08-21T12:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/346991#M59785</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the steps to get a line added to my bar graph for my x variables. When I add it, the line is a count. Any advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rebecca&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RebMc_0-1610305623711.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29337i6583D18314A56EB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RebMc_0-1610305623711.png" alt="RebMc_0-1610305623711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3194"&gt;@Dan_Obermiller&lt;/a&gt;&amp;nbsp; Thanks in advance!! :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 19:07:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/346991#M59785</guid>
      <dc:creator>RebMc</dc:creator>
      <dc:date>2021-01-10T19:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add mean to distribution histogram ?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/346996#M59788</link>
      <description>You have chosen to base the line on the Airline variable.  No Y variable is in your selection, therefore, the only thing it has to calculate is the count.  If you select both Airline and Mishandled Bags, you will get the mean bags mishandled for each airline</description>
      <pubDate>Sun, 10 Jan 2021 21:48:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-mean-to-distribution-histogram/m-p/346996#M59788</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-01-10T21:48:46Z</dc:date>
    </item>
  </channel>
</rss>

