<?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 How can we determine the local maxima in a multi-peaked distribution? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-we-determine-the-local-maxima-in-a-multi-peaked/m-p/20975#M19061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We'd like to be able to determine the maximum values of multi-peaked distribution, such as the one below, with some algorithm or utility.&lt;/P&gt;&lt;P&gt;Any ideas how that can be done?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12998_pastedImage_1.png" style="width: 647px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3849iB7A06D18A1E71F5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12998_pastedImage_1.png" alt="12998_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 04:22:45 GMT</pubDate>
    <dc:creator>pcarroll1</dc:creator>
    <dc:date>2016-10-19T04:22:45Z</dc:date>
    <item>
      <title>How can we determine the local maxima in a multi-peaked distribution?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-we-determine-the-local-maxima-in-a-multi-peaked/m-p/20975#M19061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We'd like to be able to determine the maximum values of multi-peaked distribution, such as the one below, with some algorithm or utility.&lt;/P&gt;&lt;P&gt;Any ideas how that can be done?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12998_pastedImage_1.png" style="width: 647px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3849iB7A06D18A1E71F5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12998_pastedImage_1.png" alt="12998_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-we-determine-the-local-maxima-in-a-multi-peaked/m-p/20975#M19061</guid>
      <dc:creator>pcarroll1</dc:creator>
      <dc:date>2016-10-19T04:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine the local maxima in a multi-peaked distribution?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-we-determine-the-local-maxima-in-a-multi-peaked/m-p/20976#M19062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you get the number of peaks by inspection, you could try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #032ce4;"&gt;NamesDefaultToHere&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; min-height: 17px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #008f00;"&gt;// Make some random data (with known parameters)&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;d1 = &lt;SPAN style="color: #032ce4;"&gt;J&lt;/SPAN&gt;(&lt;SPAN style="color: #009193;"&gt;40&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;, &lt;SPAN style="color: #032ce4;"&gt;RandomNormal&lt;/SPAN&gt;(&lt;SPAN style="color: #009193;"&gt;0&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;));&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;d2 = &lt;SPAN style="color: #032ce4;"&gt;J&lt;/SPAN&gt;(&lt;SPAN style="color: #009193;"&gt;60&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;, &lt;SPAN style="color: #032ce4;"&gt;RandomNormal&lt;/SPAN&gt;(&lt;SPAN style="color: #009193;"&gt;4&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;2&lt;/SPAN&gt;));&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;d3 = &lt;SPAN style="color: #032ce4;"&gt;J&lt;/SPAN&gt;(&lt;SPAN style="color: #009193;"&gt;30&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;, &lt;SPAN style="color: #032ce4;"&gt;RandomNormal&lt;/SPAN&gt;(-&lt;SPAN style="color: #009193;"&gt;6&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt;));&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; min-height: 17px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #008f00;"&gt;// Make a table&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;dt = &lt;SPAN style="color: #032ce4;"&gt;AsTable&lt;/SPAN&gt;(&lt;SPAN style="color: #032ce4;"&gt;VConcat&lt;/SPAN&gt;(d1, d2, d3));&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &amp;lt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;setName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;"A Mixture of Samples from Three Gaussians"&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;Column&lt;/SPAN&gt;(dt, &lt;SPAN style="color: #942193;"&gt;"Col1"&lt;/SPAN&gt;) &amp;lt;&amp;lt; &lt;SPAN style="color: #011993;"&gt;setName&lt;/SPAN&gt;(&lt;SPAN style="color: #942193;"&gt;"Y"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; min-height: 17px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #008f00;"&gt;// Do a 'Normal Mixtures' analysis&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &amp;lt;&amp;lt; &lt;/SPAN&gt;Distribution&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #941100;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;Continuous Distribution&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;Column&lt;/SPAN&gt;( :Y ),&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;Vertical( &lt;SPAN style="color: #009193;"&gt;0&lt;/SPAN&gt; ),&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #941100;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;Fit Distribution&lt;SPAN style="color: #000000;"&gt;( &lt;/SPAN&gt;Normal Mixtures&lt;SPAN style="color: #000000;"&gt;( Clusters( &lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; ) ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;),&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;Histograms Only,&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;SendToReport(&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;Dispatch(&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #942193;"&gt;"Y"&lt;/SPAN&gt;},&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;"Distrib Histogram"&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;FrameBox,&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;{Frame Size( &lt;SPAN style="color: #009193;"&gt;600&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;267&lt;/SPAN&gt; ), DispatchSeg( &lt;SPAN style="color: #032ce4;"&gt;Hist Seg&lt;/SPAN&gt;( &lt;SPAN style="color: #009193;"&gt;1&lt;/SPAN&gt; ), Bin Span( &lt;SPAN style="color: #009193;"&gt;2&lt;/SPAN&gt;, &lt;SPAN style="color: #009193;"&gt;0&lt;/SPAN&gt; ) )}&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="margin: 0px; font-size: 14px; line-height: normal; font-family: Courier;"&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 14:56:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-we-determine-the-local-maxima-in-a-multi-peaked/m-p/20976#M19062</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2016-10-14T14:56:36Z</dc:date>
    </item>
  </channel>
</rss>

