<p dir="auto">Hi,</p>
<p dir="auto">since I found NO way to contact anyone in a reasonable amount of time, I see no other way than a bug report:</p>
<p dir="auto">The description in scipy.stats.linregress</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stderr : float
Standard error of the estimate"><pre class="notranslate"><code class="notranslate">stderr : float
Standard error of the estimate
</code></pre></div>
<p dir="auto">is absolutely inexpressive -- what estimate? I propose changing this to</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Standard error of the estimate of the slope"><pre class="notranslate"><code class="notranslate">Standard error of the estimate of the slope
</code></pre></div>
<p dir="auto">or something...</p>
<p dir="auto">Cheers<br>
Stephan</p>
<p dir="auto">To conduct linear regression of x=(0,1,2,3) and y=(0,2,4.5,6), I use the follow code:</p>
<p dir="auto">from scipy.stats import  linregress<br>
slope, intercept, r_value, p_value, std_err = linregress((0,1,2,3),(0,2,4.5,6))</p>
<p dir="auto">and the "std_err" is 0.13228756555322888 (see the image below)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/93cdcf5458c50f21562d35c3c80de2dcae6e5f4f8cee805dc2af85e8db092446/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353631353131352f313237333735302f38666533313266342d326435352d313165332d386339652d6266333565623036396632612e706e67"><img src="https://camo.githubusercontent.com/93cdcf5458c50f21562d35c3c80de2dcae6e5f4f8cee805dc2af85e8db092446/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353631353131352f313237333735302f38666533313266342d326435352d313165332d386339652d6266333565623036396632612e706e67" alt="untitled1" data-canonical-src="https://f.cloud.github.com/assets/5615115/1273750/8fe312f4-2d55-11e3-8c9e-bf35eb069f2a.png" style="max-width: 100%;"></a></p>
<p dir="auto">But if I calculate it in Matlab using the following code</p>
<p dir="auto">p=polyfit([0:3],[0,2,4.5,6],1);<br>
f=polyval(p,[0:3]);<br>
std(f-[0,2,4.5,6])</p>
<p dir="auto">, the answer is 0.2415 (see the image below)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f4c699497aa9a43726b6354178e75233d7d977c92db203096a73e26fc3e94dce/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353631353131352f313237333735352f63383833333437632d326435352d313165332d383931322d6230646661313663346135312e706e67"><img src="https://camo.githubusercontent.com/f4c699497aa9a43726b6354178e75233d7d977c92db203096a73e26fc3e94dce/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353631353131352f313237333735352f63383833333437632d326435352d313165332d383931322d6230646661313663346135312e706e67" alt="untitled2" data-canonical-src="https://f.cloud.github.com/assets/5615115/1273755/c883347c-2d55-11e3-8912-b0dfa16c4a51.png" style="max-width: 100%;"></a></p>
<p dir="auto">. Since I believe in Matlab, I think the calculation of scipy is wrone. So I think it is a bug and report it.</p>