title: Extracting coefficients from GLM in Python using statsmodel
body: <p>I have a model which is defined as follows:</p>
  
  <pre><code>import statsmodels.formula.api as smf
  model = smf.glm(formula="A ~ B + C + D", data=data, family=sm.families.Poisson()).fit()
  </code></pre>
  
  <p>The model has coefficients which look like so:</p>
  
  <pre><code>Intercept   0.319813
  C[T.foo]   -1.058058
  C[T.bar]   -0.749859
  D[T.foo]    0.217136
  D[T.bar]    0.404791
  B           0.262614
  </code></pre>
  
  <p>I can grab the values of the <code>Intercept</code> and <code>B</code> by doing <code>model.params.Intercept</code> and <code>model.params.B</code> but I can't get the values of each <code>C</code> and <code>D</code>.</p>
  
  <p>I have tried <code>model.params.C[T.foo]</code> for example, and I get and error.</p>
  
  <p>How would I get particular values from the model?</p>