title: How do I do a F-test in python
body: <p>How do I do an F-test to check if the variance is equivalent in two vectors in Python?</p>
  
  <p>For example if I have </p>
  
  <pre><code>a = [1,2,1,2,1,2,1,2,1,2]
  b = [1,3,-1,2,1,5,-1,6,-1,2]
  </code></pre>
  
  <p>is there something similar to </p>
  
  <pre><code>scipy.stats.ttest_ind(a, b)
  </code></pre>
  
  <p>I found </p>
  
  <pre><code>sp.stats.f(a, b)
  </code></pre>
  
  <p>But it appears to be something different to an F-test</p>