<?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: Looking for script for new column formula for either geometric mean or 5% trimmed mean in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224404#M44604</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13460"&gt;@TCM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Admittedly, it's a bit buried, but if you select all of the columns for which you want the geometric mean, right-click on one of them, then select New Formula Column-&amp;gt;Combine-&amp;gt;Geometric Mean, you may get what you're after. Some of the other options in the Combine menu may be helpful to construct other formulas when you have a lot of columns.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 13:43:25 GMT</pubDate>
    <dc:creator>jerry_cooper</dc:creator>
    <dc:date>2019-09-03T13:43:25Z</dc:date>
    <item>
      <title>Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224174#M44549</link>
      <description>&lt;P&gt;My rows are products;&amp;nbsp; my columns are ratings given by individual users. (The users saw most or all of the products).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a column of either geometric or 5% trimmed mean of rating for each of my product (I don't want the arithmetic mean which is the only option under Formula--&amp;gt; Statistical).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 22:57:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224174#M44549</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2019-08-29T22:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224184#M44550</link>
      <description>Have you considered transforming your data in log space, then calculate the mean, and use the anti-log of the means?</description>
      <pubDate>Fri, 30 Aug 2019 00:07:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224184#M44550</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2019-08-30T00:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224230#M44562</link>
      <description>&lt;P&gt;You can easily make a formula for the geometric mean. It is simply the Nth root of the product of N values. Here is a picture of the formula for the case of four variables (X1-X4):&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="Screen Shot 2019-08-30 at 9.49.09 AM.png" style="width: 344px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19094i92C5E80A64C0A878/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-30 at 9.49.09 AM.png" alt="Screen Shot 2019-08-30 at 9.49.09 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:51:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224230#M44562</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-08-30T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224402#M44602</link>
      <description>&lt;P&gt;Thanks, Mark. I hesitated to use this straight code since I have many columns and not all columns are filled.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be helpful for JMP to include these mean options in addition to arithmetic mean in New columns--&amp;gt; formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:12:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224402#M44602</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2019-09-03T13:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224404#M44604</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13460"&gt;@TCM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Admittedly, it's a bit buried, but if you select all of the columns for which you want the geometric mean, right-click on one of them, then select New Formula Column-&amp;gt;Combine-&amp;gt;Geometric Mean, you may get what you're after. Some of the other options in the Combine menu may be helpful to construct other formulas when you have a lot of columns.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:43:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224404#M44604</guid>
      <dc:creator>jerry_cooper</dc:creator>
      <dc:date>2019-09-03T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224468#M44616</link>
      <description>&lt;P&gt;Hi Thierry,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion.&amp;nbsp; Yes, that would work if all cells are filled.&amp;nbsp; Your suggestion indeed is the formula in the Columns--&amp;gt; Combine--&amp;gt; New column--&amp;gt; formula geometric mean that Jeff suggests below to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think what would work is a for loop script which does not count columns with no values.&amp;nbsp; Sadly, I do not do jsl scripting :(&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:40:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224468#M44616</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2019-09-03T17:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224472#M44618</link>
      <description>Hi Jerry,&lt;BR /&gt;Thanks for the tip! Didn't know it was lurking there in the background. This is useful.&lt;BR /&gt;&lt;BR /&gt;However, it only works when all my columns are filled. To get the mean on those rows with missing values, I would have to evaluate each row and make on the spot formula revisions, deleting cols with no values- which I may have to do if there is no other way around it. (Thinking there may be a special treatment of cols with missing values such that those cells are excluded from the calculation).</description>
      <pubDate>Tue, 03 Sep 2019 17:49:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224472#M44618</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2019-09-03T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for script for new column formula for either geometric mean or 5% trimmed mean</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224504#M44621</link>
      <description>&lt;P&gt;Thierry, with a few clicks and additional columns, I did get to a column of geometric means.&amp;nbsp; It turns out that I didn't have to worry about missing values with this approach.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 19:54:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-for-script-for-new-column-formula-for-either-geometric/m-p/224504#M44621</guid>
      <dc:creator>TCM</dc:creator>
      <dc:date>2019-09-03T19:54:10Z</dc:date>
    </item>
  </channel>
</rss>

