<?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: Reshaping data: what is the best way to aggregate rows of the same object into one row? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/438849#M68754</link>
    <description>&lt;P&gt;Thank you!&amp;nbsp; The first solution works. And I found a few more ways of getting to my desired table, thanks to your example and another suggestion. Additional lesson for me: Be patient with click and drag :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 15:41:27 GMT</pubDate>
    <dc:creator>TCM</dc:creator>
    <dc:date>2021-11-22T15:41:27Z</dc:date>
    <item>
      <title>Reshaping data: what is the best way to aggregate rows of the same object into one row?</title>
      <link>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/437819#M68658</link>
      <description>&lt;P&gt;I have a table with more than a thousand rows. A row is an object that has 5 measurements associated with it at each event.&amp;nbsp; An object may appear in multiple rows because of multiple measurements performed at different events,&amp;nbsp; Here is what the table looks like.&amp;nbsp; Alias column is the object name (the 19 objects seen here are unique, i.e, measured only once).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TCM_0-1637194984372.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37654i501A875FBDF0807C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TCM_0-1637194984372.png" alt="TCM_0-1637194984372.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I need is a table where each row is a unique object.&amp;nbsp; This would entail obtaining the mean of each of the 5 measurements when there are multiple measurements of the same object.&amp;nbsp; I've tried the tabulate function but I could only get the counts, and not any other statistical measurement.&amp;nbsp; If I had been successful, my thought was to make a new table out of the tabulate output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the easiest way to reshape the data?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:40:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/437819#M68658</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2023-06-10T23:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reshaping data: what is the best way to aggregate rows of the same object into one row?</title>
      <link>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/437863#M68660</link>
      <description>&lt;P&gt;I may not understand your question, because you it sounds like you just need to use the Tabulate dialog to ask for the statistical information.&amp;nbsp; I attach your data file with two embedded scripts.&amp;nbsp; One provides a table with a row for each object and the mean and standard deviation of the 5 measurements.&amp;nbsp; The second shows the mean of the 5 measurements, but broken down by one of your other variables.&amp;nbsp; Tabulate is very flexible and should give you anything you want.&amp;nbsp; Of course, once you tabulate, you probably want to click the red arrow and Make into a Data Table so you can analyze the reshaped data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry if I misunderstood you.&amp;nbsp; Perhaps you can explain what you want by saying what this doesn't do.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 02:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/437863#M68660</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2021-11-18T02:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reshaping data: what is the best way to aggregate rows of the same object into one row?</title>
      <link>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/438849#M68754</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; The first solution works. And I found a few more ways of getting to my desired table, thanks to your example and another suggestion. Additional lesson for me: Be patient with click and drag :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 15:41:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Reshaping-data-what-is-the-best-way-to-aggregate-rows-of-the/m-p/438849#M68754</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2021-11-22T15:41:27Z</dc:date>
    </item>
  </channel>
</rss>

