<?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: Adjust formula to maximum or minimum in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654989#M84411</link>
    <description>&lt;P&gt;Works fine, thanks a lot Marc!&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 06:17:34 GMT</pubDate>
    <dc:creator>frankderuyck</dc:creator>
    <dc:date>2023-07-04T06:17:34Z</dc:date>
    <item>
      <title>Adjust formula to maximum or minimum</title>
      <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654433#M84362</link>
      <description>&lt;P&gt;After DOE result analysis the regression model frequently predicts values that are higher or lower than an expected range of the output Y e.g. for yield max = 1 and min = 0. Is it possible to adjust the formula so that Y can be kept between specified limits?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 15:03:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654433#M84362</guid>
      <dc:creator>frankderuyck</dc:creator>
      <dc:date>2023-06-30T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust formula to maximum or minimum</title>
      <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654499#M84371</link>
      <description>&lt;P&gt;The linear regression model assumes that the errors are independently and identically normally distributed. It also assumes that the range of the function is negative infinity to positive infinity. You could clamp the model prediction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;temp = model( X );
temp = Maximum( 0, temp );
Y = Minimum( temp, 1 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Model(X) is the saved regression model.&lt;/P&gt;
&lt;P&gt;Alternatively, you could model Logit( Y ); This treats Y as a response with a range of [0,1]. Your model will be saved with a series of column formulas. The one for probability is your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 18:48:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654499#M84371</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-06-30T18:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust formula to maximum or minimum</title>
      <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654888#M84397</link>
      <description>&lt;P&gt;Hi Marc, can you apply your first option = temp to attached data table; the model prediction formula is Selectivity (%). Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 17:12:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654888#M84397</guid>
      <dc:creator>frankderuyck</dc:creator>
      <dc:date>2023-07-03T17:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust formula to maximum or minimum</title>
      <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654909#M84406</link>
      <description>&lt;P&gt;It was intended as a suggestion, not an exact formula, so I edited it. I added it as a new data column. All of the predicted values were within the [0,100] interval, so nothing changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you asked about [0,1], but the data are actually [0,100]. Modify the formula as necessary.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 19:45:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654909#M84406</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-07-03T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust formula to maximum or minimum</title>
      <link>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654989#M84411</link>
      <description>&lt;P&gt;Works fine, thanks a lot Marc!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 06:17:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjust-formula-to-maximum-or-minimum/m-p/654989#M84411</guid>
      <dc:creator>frankderuyck</dc:creator>
      <dc:date>2023-07-04T06:17:34Z</dc:date>
    </item>
  </channel>
</rss>

