<?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 Error LINEST_M with zero intercept? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-LINEST-M-with-zero-intercept/m-p/864252#M470066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Given the following set of numbers&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; load * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[a,b&lt;BR /&gt;1,2&lt;BR /&gt;2,4&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns QlikView&amp;nbsp; the following values for the slope of the linear regression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linest_m(b,a) = 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Korrekt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the slope given the intercept 0 it rerturns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linest_m(b,a,0)&amp;nbsp; = 2.8&amp;nbsp;&amp;nbsp; - which is inkorrekt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an Error? I couldn't figure out what QlikView computes in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also on non trivial examples (many data points, "well distributed") QlikView gives different results than Excel for the slope when the intercept is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 11:41:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-10T11:41:18Z</dc:date>
    <item>
      <title>Error LINEST_M with zero intercept?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-LINEST-M-with-zero-intercept/m-p/864252#M470066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Given the following set of numbers&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; load * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[a,b&lt;BR /&gt;1,2&lt;BR /&gt;2,4&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns QlikView&amp;nbsp; the following values for the slope of the linear regression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linest_m(b,a) = 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Korrekt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the slope given the intercept 0 it rerturns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;linest_m(b,a,0)&amp;nbsp; = 2.8&amp;nbsp;&amp;nbsp; - which is inkorrekt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an Error? I couldn't figure out what QlikView computes in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also on non trivial examples (many data points, "well distributed") QlikView gives different results than Excel for the slope when the intercept is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-LINEST-M-with-zero-intercept/m-p/864252#M470066</guid>
      <dc:creator />
      <dc:date>2015-06-10T11:41:18Z</dc:date>
    </item>
  </channel>
</rss>

