title: Linregress giving incorrect result
body: <p>I am a big fan of Stack Overflow and am sure my question will be answered here. I am using Scipy to do linear regression. But at a particular set of inputs I am not getting the correct output. (Python 2.5, SciPy 0.10.1 Windows 7 32 bit)</p>
  
  <pre><code>from scipy.stats import linregress
  from numpy import arange
  x = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,1,2,0,0,2]
  y = arange(1,36)
  s,i,r,p,st = linregress(x,y)
  </code></pre>
  
  <p>Here value of s comes as 9.241573, but Excel reports slope to be 0.026.</p>
  
  <p>Am I missing something? Help.</p>