<?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: Column Formula to display difference between two rows of another column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3316#M3316</link>
    <description>Or this using the DIF function:&lt;BR /&gt;&lt;BR /&gt;	New Column( "lgs",&lt;BR /&gt;		Numeric,&lt;BR /&gt;		Continuous,&lt;BR /&gt;		Formula( Dif( :lg, 1 ) )&lt;BR /&gt;	)&lt;BR /&gt;&lt;BR /&gt;If you are working interactively you can just create a new column and use the formula builder to enter the formula Dif(:lg, 1)  &lt;BR /&gt;&lt;BR /&gt;Michael</description>
    <pubDate>Sat, 07 May 2011 02:52:03 GMT</pubDate>
    <dc:creator>mpb</dc:creator>
    <dc:date>2011-05-07T02:52:03Z</dc:date>
    <item>
      <title>Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3313#M3313</link>
      <description>My data set is-&lt;BR /&gt;&lt;BR /&gt;Vg Ig Igs&lt;BR /&gt;0    1   1&lt;BR /&gt;1    5    4&lt;BR /&gt;2    7   2&lt;BR /&gt;3    3   -4&lt;BR /&gt;&lt;BR /&gt;I would like to create column Igs which is difference between current row and previous row in the column Ig. Is it possible script something like this in jmp. &lt;BR /&gt;&lt;BR /&gt;Thank you &lt;BR /&gt;&lt;BR /&gt;Chivukula</description>
      <pubDate>Wed, 04 May 2011 17:05:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3313#M3313</guid>
      <dc:creator>chivukula</dc:creator>
      <dc:date>2011-05-04T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3314#M3314</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Perhas this is one way:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 May 2011 12:49:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3314#M3314</guid>
      <dc:creator>mattf</dc:creator>
      <dc:date>2011-05-06T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3315#M3315</link>
      <description>You can use the LAG function:&lt;BR /&gt;&lt;BR /&gt;New Column( "lgs",&lt;BR /&gt;		Numeric,&lt;BR /&gt;		Continuous,&lt;BR /&gt;		Formula( AsColumn("lg") - Lag( AsColumn("lg"), 1 ) ),&lt;BR /&gt;)</description>
      <pubDate>Fri, 06 May 2011 20:27:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3315#M3315</guid>
      <dc:creator />
      <dc:date>2011-05-06T20:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3316#M3316</link>
      <description>Or this using the DIF function:&lt;BR /&gt;&lt;BR /&gt;	New Column( "lgs",&lt;BR /&gt;		Numeric,&lt;BR /&gt;		Continuous,&lt;BR /&gt;		Formula( Dif( :lg, 1 ) )&lt;BR /&gt;	)&lt;BR /&gt;&lt;BR /&gt;If you are working interactively you can just create a new column and use the formula builder to enter the formula Dif(:lg, 1)  &lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Sat, 07 May 2011 02:52:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3316#M3316</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2011-05-07T02:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3317#M3317</link>
      <description>Thank you so much for helping. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chivukula</description>
      <pubDate>Thu, 12 May 2011 14:45:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3317#M3317</guid>
      <dc:creator>chivukula</dc:creator>
      <dc:date>2011-05-12T14:45:14Z</dc:date>
    </item>
    <item>
      <title>Saving results from log window using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3318#M3318</link>
      <description>Hello:&lt;BR /&gt;&lt;BR /&gt;I am using bivarate plot and adding a fit line. I would like to save slope and intercept values in a text file. I am using following code:&lt;BR /&gt;&lt;BR /&gt;biv=rbiv&amp;lt;&lt;REPORT&gt;&lt;/REPORT&gt;Ex1=biv[NumberColBox(13)][2];&lt;BR /&gt;show(Ex1);&lt;BR /&gt;&lt;BR /&gt;Show(Ex1) show the value of slope in the log file along with the log of entire session. Is it possible to send JSL command to save the values of just slopes and intercepts in to a new data table or seperate text file from the log.  &lt;BR /&gt;&lt;BR /&gt;Thank you &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chivukula</description>
      <pubDate>Mon, 06 Jun 2011 19:06:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/3318#M3318</guid>
      <dc:creator>chivukula</dc:creator>
      <dc:date>2011-06-06T19:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/108680#M39526</link>
      <description>&lt;P&gt;Both the solutions given here work well. I have data that is similar, but in a date format. I want to calculate the difference between rows where the differences are in units such as 'day' or 'year' or 'week' or 'months'. Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 01:05:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/108680#M39526</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2019-02-02T01:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Column Formula to display difference between two rows of another column</title>
      <link>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/108682#M39528</link>
      <description>&lt;P&gt;Look into the Scripting Index for the function&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Date Difference()&lt;/P&gt;
&lt;P&gt;Help==&amp;gt;Scripting Index&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 02:14:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-Formula-to-display-difference-between-two-rows-of-another/m-p/108682#M39528</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-02-02T02:14:28Z</dc:date>
    </item>
  </channel>
</rss>

