asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Applying label for the dependent variable in regression Reply To: Applying label for the dependent variable in regression

Dr. Attaullah Shah
Keymaster
Post count: 106

Given your request, I have now updated asdocx. When use option label in the nested regressions, asdocx will report variable labels for the dependent and independent variables.

asdocx_update
sysuse auto, clear

asdocx reg rep78 price mpg, nest label replace
asdocx reg foreign  price mpg, nest label

  0 |1                                                      2                   3 
----+--------------------------------------------------------------------------------------
  1 |                                                     (1)                 (2) 
  2 |                                      Repair record 1978          Car origin 
----+--------------------------------------------------------------------------------------
  3 |Price                                              0.000*              0.00** 
  4 |                                                   (0.00)              (0.00) 
  5 |Mileage (mpg)                                   0.086***            0.042*** 
  6 |                                                 (0.021)             (0.009) 
  7 |constant                                          1.066*           -0.893*** 
  8 |                                                 (0.614)             (0.277) 
  9 |Observations                                          69                  74 
 10 |R-squared                                          0.207               0.224 
-----------------------------------------------------------------------------------