<?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: envelope calculate  function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/envelope-calculate-function/m-p/357349#M60746</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the solution that Vince Faller (@vince_faller) posted in June (&lt;A href="https://community.jmp.com/t5/Discussions/Moving-minimum-moving-window/m-p/275257#M53402" target="_self"&gt;LINK&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;This the formula for moving minimum:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Min( :DATA[Index( Min( Row() - 5 ), Row() )] )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Where :DATA is the data column in your table.&lt;/P&gt;
&lt;P&gt;For moving maximum, just create another column with the same formula where "Min" is replaced by "Max"&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 05:40:31 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2021-02-09T05:40:31Z</dc:date>
    <item>
      <title>envelope calculate  function</title>
      <link>https://community.jmp.com/t5/Discussions/envelope-calculate-function/m-p/357338#M60745</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have data were I calculate a column with the moving average using&lt;/P&gt;&lt;P&gt;Col Moving Average()&lt;/P&gt;&lt;P&gt;for a parameter.&lt;/P&gt;&lt;P&gt;I am wondering if there is a function to calculate the min and max envelope line of the data i am not aware of&lt;/P&gt;&lt;P&gt;or is it necessary to program it in jsl?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-button "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="simple-translate-panel "&gt;&lt;DIV class="simple-translate-result-wrapper"&gt;&lt;P class="simple-translate-result"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:43:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/envelope-calculate-function/m-p/357338#M60745</guid>
      <dc:creator>nusopiti</dc:creator>
      <dc:date>2023-06-10T20:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: envelope calculate  function</title>
      <link>https://community.jmp.com/t5/Discussions/envelope-calculate-function/m-p/357349#M60746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the solution that Vince Faller (@vince_faller) posted in June (&lt;A href="https://community.jmp.com/t5/Discussions/Moving-minimum-moving-window/m-p/275257#M53402" target="_self"&gt;LINK&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;This the formula for moving minimum:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Min( :DATA[Index( Min( Row() - 5 ), Row() )] )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Where :DATA is the data column in your table.&lt;/P&gt;
&lt;P&gt;For moving maximum, just create another column with the same formula where "Min" is replaced by "Max"&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 05:40:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/envelope-calculate-function/m-p/357349#M60746</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-02-09T05:40:31Z</dc:date>
    </item>
  </channel>
</rss>

