title: How to extract a particular value from the OLS-summary in Pandas?
body: <p>is it possible to get other values (currently I know only a way to get beta and intercept) from the summary of linear regression in pandas? I need to get R-squared.
  Here is an extraction from manual:</p>
  
  <pre><code>In [244]: model = ols(y=rets['AAPL'], x=rets.ix[:, ['GOOG']])
  
  In [245]: model
  Out[245]: 
  -------------------------Summary of Regression Analysis---------------------   ----
  Formula: Y ~ &lt;GOOG&gt; + &lt;intercept&gt;
  Number of Observations:         756
  Number of Degrees of Freedom:   2
  R-squared:         0.2814
  Adj R-squared:     0.2805
  Rmse:              0.0147
  F-stat (1, 754):   295.2873, p-value:     0.0000
  Degrees of Freedom: model 1, resid 754
  -----------------------Summary of Estimated Coefficients------------------------
        Variable       Coef    Std Err     t-stat    p-value    CI 2.5%   CI 97.5%
  --------------------------------------------------------------------------------
        GOOG     0.5442     0.0317      17.18     0.0000     0.4822     0.6063
   intercept     0.0011     0.0005       2.14     0.0327     0.0001     0.0022
  ---------------------------------End of Summary---------------------------------
  </code></pre>
  
  <p>Thanks</p>