title: How can I add a fixed effect model label to an estout table?
body: <p>Below you can find my code:</p>
  
  <pre><code>#delimit;
  
  local fixed_effect "Yes";
  
  estout pre_post using output.xls, cells(b(star fmt(4) keep(post 
  `ctrlVars')) t(par fmt(2) keep(post `ctrlVars'))) 
  legend starlevels( * 0.10 ** 0.05 *** 0.010) stats(`fixed_effect' r2 N 
  labels("Industry fixed effects" "Adjusted R-squared")) varlabels(_cons 
  Constant) append;
  </code></pre>
  
  <p>This produces the following error message: </p>
  
  <pre><code> ( invalid name
  "Industry fixed effects invalid name
  "Adjusted R-squared invalid name
   ) invalid name
  r(7);
  </code></pre>
  
  <p>What is wrong?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Sorry for not being clear enough. This is what I would like to have:</p>
  
  <pre><code>----------------------------
                        (1)   
               Industry FEs   
                        b/t   
  ----------------------------
  mpg             -174.3133*  
                    (-1.99)   
  headroom        -520.2934   
                    (-1.23)   
  length            31.3659   
                     (1.30)   
  Constant        5540.3487   
                     (0.94)   
  ----------------------------
  Industry FE        Yes
  Adjusted R~d       0.2454   
  N                 74   
  ----------------------------
  * p&lt;0.10, ** p&lt;0.05, *** p&lt;0.010
  </code></pre>