title: Saving coefficients and standard errors as variables
body: <p>I have run a regression and I would like to save the coefficients and the standard errors as variables. </p>
  
  <p>I can see the coefficients with <code>ereturn list</code> and <code>e(b)</code> but I have trouble at getting the standard errors. Also, I don't really now how to turn those into variables. In the Stata manual they refer to <code>[eqno] b[varname]</code> and <code>[eqno] se[varname]</code> but there's no example and I can't figure out/find online how to use them.</p>
  
  <p>Example where <code>b1</code> is the regression coefficient for dependent variable 1, <code>se1</code> is regression standard error for dependent <code>var1</code>:</p>
  
  <pre><code>name    year    output  var1    var2    b1  b2  se1 se2  
  a   1   0.72    0.74    0.87    0.64    0.15    0.48    0.62  
  a   2   0.61    0.75    0.33    0.64    0.15    0.48    0.62  
  a   3   0.08    0.61    0.85    0.64    0.15    0.48    0.62  
  b   1   0.02    0.22    0.26    0.64    0.15    0.48    0.62  
  b   2   0.8 0.32    0.51    0.64    0.15    0.48    0.62  
  b   3   0.47    0.68    0.79    0.64    0.15    0.48    0.62  
  c   1   0.56    0.12    0.63    0.64    0.15    0.48    0.62  
  c   2   0.35    0.49    0.53    0.64    0.15    0.48    0.62  
  c   3   0.93    0.65    0.97    0.64    0.15    0.48    0.62 
  </code></pre>
  
  <p>Any help would be hugely appreciated!</p>