title: Python 2.7- statsmodels - result.conf_int()
body: <p>This post is an addition to the post found here: <a href="https://stackoverflow.com/questions/16705598/python-2-7-statsmodels-formatting-and-writing-summary-output">Python 2.7 - statsmodels - formatting and writing summary output</a></p>
  
  <p>I got everything formatted how I need, except the confidence interval is giving me problems.</p>
  
  <p>I have tried a number of different things including:</p>
  
  <pre><code>low, high = result.conf_int()
  </code></pre>
  
  <p>Which, when printed, returns:</p>
  
  <pre><code> low
   Out[260]: 0
  
   high
   Out[261]: 1
  </code></pre>
  
  <p>Similarly, I've tried:</p>
  
  <pre><code>low, up = result.conf_int().T
  </code></pre>
  
  <p>But get the error:</p>
  
  <pre><code> ValueError: too many values to unpack
  </code></pre>
  
  <p>Same thing when I try:</p>
  
  <pre><code>for item in result.conf_int().T:
       low, high = item
       print low
       print high
  
  ValueError: too many values to unpack
  </code></pre>
  
  <p>I also tried looking it up both <a href="http://statsmodels.sourceforge.net/devel/generated/statsmodels.tsa.ar_model.ARResults.conf_int.html" rel="nofollow noreferrer">here</a> (I have 0.4.3 and couldn't find a page for this version) and <a href="http://statsmodels.sourceforge.net/stable/generated/statsmodels.regression.linear_model.RegressionResults.html" rel="nofollow noreferrer">here</a>.  Neither were helpful in solving this problem.</p>