<?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: JMP Calculator in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/222#M222</link>
    <description>Xan,&lt;BR /&gt;&lt;BR /&gt;WOW, very helpful.&lt;BR /&gt;&lt;BR /&gt;I assume it is possible to put the "If" outside the formula and the "Lag" inside.&lt;BR /&gt;Also, I assume it is possible to make it more complex,for example many different lags for many different rows.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;Sharon</description>
    <pubDate>Thu, 12 Mar 2009 07:30:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-03-12T07:30:37Z</dc:date>
    <item>
      <title>JMP Calculator</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/220#M220</link>
      <description>In JMP we can do calculation using the JMP calculator.&lt;BR /&gt;The parameters in the formula are the columns table, attached is a simple formula subtracting y column from x column with LAG, &lt;BR /&gt;What I want to know is if there is a way to use different lag for different rows.&lt;BR /&gt;((Lag( x, 2 ) - :y) / Lag( x, 2 )) * 100&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Yaakov</description>
      <pubDate>Wed, 11 Mar 2009 09:23:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/220#M220</guid>
      <dc:creator />
      <dc:date>2009-03-11T09:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Calculator</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/221#M221</link>
      <description>Yes, replace the "2" in the Lag function with some expression that depends on Row(). For instance,&lt;BR /&gt;&lt;BR /&gt;Lag( x, If( Row() &amp;lt; 10, 2, 3 ))&lt;BR /&gt;&lt;BR /&gt;That uses a lag of 2 for the first 9 rows and 3 for the others.</description>
      <pubDate>Wed, 11 Mar 2009 15:56:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/221#M221</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2009-03-11T15:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Calculator</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/222#M222</link>
      <description>Xan,&lt;BR /&gt;&lt;BR /&gt;WOW, very helpful.&lt;BR /&gt;&lt;BR /&gt;I assume it is possible to put the "If" outside the formula and the "Lag" inside.&lt;BR /&gt;Also, I assume it is possible to make it more complex,for example many different lags for many different rows.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;Sharon</description>
      <pubDate>Thu, 12 Mar 2009 07:30:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Calculator/m-p/222#M222</guid>
      <dc:creator />
      <dc:date>2009-03-12T07:30:37Z</dc:date>
    </item>
  </channel>
</rss>

