<?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: log2 transformation using new formula column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238786#M47188</link>
    <description>&lt;P&gt;I don't think so. The log base 2 is not a built-in function. As far as I know, you would have to use the equivalent log( x ) / log( 2 ) expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to define custom functions that can appear in the formula editor. I do not think that they appear in the New Column Formula menu, though. There are a lot of Community members who are smarter than me, so someone else might have a better answer for you.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 15:15:44 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2019-12-17T15:15:44Z</dc:date>
    <item>
      <title>log2 transformation using new formula column</title>
      <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238780#M47187</link>
      <description>&lt;P&gt;How can I log2 transformation many columns (hundreds) all at once? Is there a way of doing log2 transformation using the new formula column?&lt;BR /&gt;Thanks, Neal&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:08:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238780#M47187</guid>
      <dc:creator>rexneal</dc:creator>
      <dc:date>2019-12-17T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: log2 transformation using new formula column</title>
      <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238786#M47188</link>
      <description>&lt;P&gt;I don't think so. The log base 2 is not a built-in function. As far as I know, you would have to use the equivalent log( x ) / log( 2 ) expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is possible to define custom functions that can appear in the formula editor. I do not think that they appear in the New Column Formula menu, though. There are a lot of Community members who are smarter than me, so someone else might have a better answer for you.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:15:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238786#M47188</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-12-17T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: log2 transformation using new formula column</title>
      <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238803#M47189</link>
      <description>&lt;P&gt;So, you do have to build the formula, but it may not be as bad as you think. Let's suppose you have 100 columns where you need this transformation. Put those columns all together. By this I mean, they are contiguous. Suppose the first one is Column 11, second one is Column 12, etc. up to Column 110. Now create 100 new columns. Select your 100 new columns and choose Cols &amp;gt; Standardize Attributes. In the Standardize Properties area click on Column Properties and select Formula.Check the box for Substitute Column Reference. Click Edit Formula. Now enter the first formula for your first new column. With my scenario it would be Log(Column 111)/Log(2). When you click OK JMP will fill in a formula for every one of your new columns, marching through each of the columns that had the data to be transformed. Your last formula column should be Log(Column 110)/Log(2).&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 17:33:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238803#M47189</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2019-12-17T17:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: log2 transformation using new formula column</title>
      <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238841#M47193</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2653"&gt;@rexneal&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I would suggest something similar to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3194"&gt;@Dan_Obermiller&lt;/a&gt;,&amp;nbsp;but by first taking advantage of the New Formula Column functionality you do have to make new columns and title them correctly.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Select your columns&lt;/LI&gt;
&lt;LI&gt;Right Click column header &amp;gt; New Formula Column &amp;gt; Transform &amp;gt; Log&lt;/LI&gt;
&lt;LI&gt;Select the new Log transformed columns&lt;/LI&gt;
&lt;LI&gt;Right Click column header &amp;gt; Standardize Attributes&lt;/LI&gt;
&lt;LI&gt;In the Standardize Properties section, select Formula&lt;/LI&gt;
&lt;LI&gt;Check the box for Substitute Column Reference&lt;/LI&gt;
&lt;LI&gt;Click Edit Formula&lt;/LI&gt;
&lt;LI&gt;Select the column inside the log function, and click the comma key to reveal the base&lt;/LI&gt;
&lt;LI&gt;Change the base to 2, click ok to close the formula, then ok to close Standardize Attributes.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;It might sound like a lot, but you can do this in 45 seconds. Here's a short video showing all the steps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-IxdzZ4aTE6_21XzQ30S2OKc5zFEb5aQrw1024h724r392" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="1667783269967404381" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-IxdzZ4aTE6_21XzQ30S2OKc5zFEb5aQrw1024h724r392');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/IxdzZ4aTE6_21XzQ30S2OKc5zFEb5aQr"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:50:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/238841#M47193</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2019-12-17T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: log2 transformation using new formula column</title>
      <link>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/241095#M47610</link>
      <description>&lt;P&gt;Thanks so much. Neal&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 13:07:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/log2-transformation-using-new-formula-column/m-p/241095#M47610</guid>
      <dc:creator>rexneal</dc:creator>
      <dc:date>2020-01-14T13:07:50Z</dc:date>
    </item>
  </channel>
</rss>

