<?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 Fit Model Standard Least Squares - Differences between JMP and Excel Linest function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fit-Model-Standard-Least-Squares-Differences-between-JMP-and/m-p/800319#M97596</link>
    <description>&lt;P&gt;I'm working with some data and trying to fit a multiple linear regression model, but I've noticed parameter differences between using the "Linest" function of Excel, and the Fit Model - Standard Least Squares function of JMP17.2. The parameters of the model (intercept and each X variable coefficeint) are close to each other, but not identical. The in-going data is identical.&lt;BR /&gt;&lt;BR /&gt;How does the linest function of Excel differ to the way least squares is applied in JMP 17.2? Which is 'better'? Or how are they different? Is it possible to make JMP behave exactly the same as excel, or vice versa?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 14:01:05 GMT</pubDate>
    <dc:creator>ScrivensL</dc:creator>
    <dc:date>2024-09-19T14:01:05Z</dc:date>
    <item>
      <title>Fit Model Standard Least Squares - Differences between JMP and Excel Linest function</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Model-Standard-Least-Squares-Differences-between-JMP-and/m-p/800319#M97596</link>
      <description>&lt;P&gt;I'm working with some data and trying to fit a multiple linear regression model, but I've noticed parameter differences between using the "Linest" function of Excel, and the Fit Model - Standard Least Squares function of JMP17.2. The parameters of the model (intercept and each X variable coefficeint) are close to each other, but not identical. The in-going data is identical.&lt;BR /&gt;&lt;BR /&gt;How does the linest function of Excel differ to the way least squares is applied in JMP 17.2? Which is 'better'? Or how are they different? Is it possible to make JMP behave exactly the same as excel, or vice versa?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:01:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Model-Standard-Least-Squares-Differences-between-JMP-and/m-p/800319#M97596</guid>
      <dc:creator>ScrivensL</dc:creator>
      <dc:date>2024-09-19T14:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Model Standard Least Squares - Differences between JMP and Excel Linest function</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Model-Standard-Least-Squares-Differences-between-JMP-and/m-p/800461#M97604</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/59383"&gt;@ScrivensL&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You might need to share some data (anonymize it, of course), or explain a little bit more what the problem is, because when I compare the SLS Fit Model from JMP and the LINEST function in Excel, I get the exact same answers from both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As an example, I am using data from MS, you can find it &lt;A href="https://support.microsoft.com/en-us/office/linest-function-84d7d0d9-6e50-4101-977a-fa7abf772b6d" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;from the definition page of LINEST. When you run the SLS Fit Model in JMP, you get this as the summary report:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_1-1726767954303.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68464i5FEDD3E195B81923/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_1-1726767954303.png" alt="SDF1_1-1726767954303.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you do the same multiple regression in Excel, you get this for the output with the same input data as with JMP:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_2-1726768169413.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68465iF8C3E88B6CEEF8DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_2-1726768169413.png" alt="SDF1_2-1726768169413.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The bottom portion of the screenshot shows how the data from the LINEST function is laid out when turning on the stats option in the function. If you look closely, you'll see that the estimates for the fit as well as the statistics are all identical to JMP. The only thing that shows up as being different is the rounding, but that's because JMP's default is set to a smaller number of significant digits than Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So to me, I'm not sure where you are seeing a discrepancy. I'd have to use your same data to see if I can reproduce the differences that you're seeing. With this data, I get the same from both software.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!,&lt;/P&gt;
&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 17:56:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Model-Standard-Least-Squares-Differences-between-JMP-and/m-p/800461#M97604</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2024-09-19T17:56:16Z</dc:date>
    </item>
  </channel>
</rss>

