<?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: Help with Fit Model &amp;gt; Standard Least Square &amp;gt; Transform &amp;gt; Logistic in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76047#M36043</link>
    <description>&lt;P&gt;Having played around with some simulated examples, I am also a bit puzzled.&amp;nbsp; But I believe the problem you are having is due to the logistic transform in JMP.&amp;nbsp; According to the JMP documentation, the logistic transform is for the response variable to be in the range of (0,1).&amp;nbsp; Indeed, when I use that transform, I get something that does not look like a logistic function - when I hardwire the logistic function (which allows the response variable to take its correct values) it does look logistic.&amp;nbsp; So, I believe the logistic transform in JMP is not truly letting you fit a logistic function to your data.&amp;nbsp; Perhaps someone whose math is less rusty than mine, can explain how to use the logistic transform to get the correct shape when the response is not in the (0,1) range.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2018 12:59:36 GMT</pubDate>
    <dc:creator>dale_lehman</dc:creator>
    <dc:date>2018-09-27T12:59:36Z</dc:date>
    <item>
      <title>Help with Fit Model &gt; Standard Least Square &gt; Transform &gt; Logistic</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/75955#M36023</link>
      <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm struggling with the proper implementation of the Transform option in the Fit Model &amp;gt; Standard Least Square platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to better understand the issue, I created a mock data set where the Response is continuous;&amp;nbsp;and the Model effects are: 1) Biomarker levels (continuous), 2) Treatment (2 categories), and 3) their interaction. The Response in the ACTIVE treatment is dependent on the Biomarker level following a logistic distribution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a Graph Builder depiction of the response by biomarker levels:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Response x Biomarker Logistic.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12588i6D1360BC9F85EEB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Response x Biomarker Logistic.png" alt="Response x Biomarker Logistic.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the Standard Least Square model with Treatment, Biomarker, and Interaction with the Response response transformed according to a Logistic relationship (Transform &amp;gt; Logistic on Response), I get an odd result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Predicted by Actual (note the poor fit for most of the ACTIVE group [RED])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Response x Biomarker Logistic FIT MODEL LOGISTIC transformation.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12589iB157C5E58BAB55EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Response x Biomarker Logistic FIT MODEL LOGISTIC transformation.png" alt="Response x Biomarker Logistic FIT MODEL LOGISTIC transformation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The residuals from this model are skewed as shown in the next 2 pictures:&lt;/P&gt;&lt;P&gt;2) Residuals plot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Model Fit Residual with Logistic Transformation.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12590i785922D546889C7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Model Fit Residual with Logistic Transformation.png" alt="Model Fit Residual with Logistic Transformation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) Residuals distribution&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Distrib Resiudal with LOGISTIC Transformation.png" style="width: 174px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12591i85267C7D2356F96F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Distrib Resiudal with LOGISTIC Transformation.png" alt="Distrib Resiudal with LOGISTIC Transformation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Clearly, I'm doing something wrong so please, help me figure out this apparently simple option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 18:45:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/75955#M36023</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2018-09-26T18:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Fit Model &gt; Standard Least Square &gt; Transform &gt; Logistic</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/75974#M36030</link>
      <description>&lt;P&gt;Perhaps using the Analyze -&amp;gt; Specialized Modeling -&amp;gt; Fit Curve platform can help? You can fit a simple OLS model to the PBO group and a 4 - P logistic model to the treatment group.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 21:17:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/75974#M36030</guid>
      <dc:creator>Peter_Bartell</dc:creator>
      <dc:date>2018-09-26T21:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Fit Model &gt; Standard Least Square &gt; Transform &gt; Logistic</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76047#M36043</link>
      <description>&lt;P&gt;Having played around with some simulated examples, I am also a bit puzzled.&amp;nbsp; But I believe the problem you are having is due to the logistic transform in JMP.&amp;nbsp; According to the JMP documentation, the logistic transform is for the response variable to be in the range of (0,1).&amp;nbsp; Indeed, when I use that transform, I get something that does not look like a logistic function - when I hardwire the logistic function (which allows the response variable to take its correct values) it does look logistic.&amp;nbsp; So, I believe the logistic transform in JMP is not truly letting you fit a logistic function to your data.&amp;nbsp; Perhaps someone whose math is less rusty than mine, can explain how to use the logistic transform to get the correct shape when the response is not in the (0,1) range.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 12:59:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76047#M36043</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-09-27T12:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Fit Model &gt; Standard Least Square &gt; Transform &gt; Logistic</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76162#M36048</link>
      <description>&lt;P&gt;Thanks for your reply. Actually I scaled my response to be within the 0 to 1 range&lt;BR /&gt;((R-Min)/(Max - Min)) and the Logistic transform yields the following&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scaled response Logistic Transform.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12597iC2D23B09DDEDD718/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Scaled response Logistic Transform.png" alt="Scaled response Logistic Transform.png" /&gt;&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;If you look carefuly, the fit curves are not straight lines but still this is far from a tight fit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thought?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 16:12:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76162#M36048</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2018-09-27T16:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Fit Model &gt; Standard Least Square &gt; Transform &gt; Logistic</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76171#M36049</link>
      <description>Thanks for your suggestion: I can get a very nice fit to my mock data but I cannot figure out how to use this information in the Fit Model platform.&lt;BR /&gt;&lt;BR /&gt;Any thought?</description>
      <pubDate>Thu, 27 Sep 2018 16:18:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Fit-Model-gt-Standard-Least-Square-gt-Transform-gt/m-p/76171#M36049</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2018-09-27T16:18:01Z</dc:date>
    </item>
  </channel>
</rss>

