<?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 summarize mean data by group and only last number of data point in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/summarize-mean-data-by-group-and-only-last-number-of-data-point/m-p/49527#M28162</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to get the mean value of my "raw&amp;nbsp;data" by a group&amp;nbsp;of 3 different&amp;nbsp;columns ("test name", "measurement name"&amp;nbsp;and&amp;nbsp;"entity") - this i can do by the summary option.&lt;/P&gt;&lt;P&gt;my problem is that I want only the last 13 points minimum (or last than 13 :)&lt;/img&gt; ) by date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;those are my columns&amp;nbsp;&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="image.png" style="width: 756px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8910i15F5BD6FDDD0CCEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks for any help&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 09:34:41 GMT</pubDate>
    <dc:creator>AdamChoen</dc:creator>
    <dc:date>2018-01-11T09:34:41Z</dc:date>
    <item>
      <title>summarize mean data by group and only last number of data point</title>
      <link>https://community.jmp.com/t5/Discussions/summarize-mean-data-by-group-and-only-last-number-of-data-point/m-p/49527#M28162</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to get the mean value of my "raw&amp;nbsp;data" by a group&amp;nbsp;of 3 different&amp;nbsp;columns ("test name", "measurement name"&amp;nbsp;and&amp;nbsp;"entity") - this i can do by the summary option.&lt;/P&gt;&lt;P&gt;my problem is that I want only the last 13 points minimum (or last than 13 :)&lt;/img&gt; ) by date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;those are my columns&amp;nbsp;&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="image.png" style="width: 756px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8910i15F5BD6FDDD0CCEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks for any help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:34:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/summarize-mean-data-by-group-and-only-last-number-of-data-point/m-p/49527#M28162</guid>
      <dc:creator>AdamChoen</dc:creator>
      <dc:date>2018-01-11T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: summarize mean data by group and only last number of data point</title>
      <link>https://community.jmp.com/t5/Discussions/summarize-mean-data-by-group-and-only-last-number-of-data-point/m-p/49547#M28174</link>
      <description>You might want to check out the Statistical &amp;gt; Col Mean() formula. Create a new column with a formula ColMean(Raw_Value, test_name, measurement_name, entity). This will give the same means as the summary option but repeated across all rows.&lt;BR /&gt;&lt;BR /&gt;If you order your table by date (decending), along with the other options you can create a formula which increments a counter and stops if the previous row and current row have different entity labels, etc.&lt;BR /&gt;&lt;BR /&gt;You could then create a new column which copies the Raw_Value only if the counter is in the range 1-13. If you alter your first formula to point at this column, it will only take the means of these 13 or fewer values by entity.</description>
      <pubDate>Thu, 11 Jan 2018 16:09:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/summarize-mean-data-by-group-and-only-last-number-of-data-point/m-p/49547#M28174</guid>
      <dc:creator>stephen_pearson</dc:creator>
      <dc:date>2018-01-11T16:09:08Z</dc:date>
    </item>
  </channel>
</rss>

