asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › How to do bys regression using ASDOCX in Stata 16 or stata 17 › Reply To: How to do bys regression using ASDOCX in Stata 16 or stata 17
Hello Prof. Bijaya Kumar
Yes, nested regression tables can be created for all regression commands. See this example
webuse lbw
asdocx logistic low age lwt i.race smoke ptl ht ui, replace nest
asdocx logistic low age lwt i.race ptl ht ui, nest
asdocx logistic low age lwt i.race smoke , nest
Table: Regression results
0 |1 2 3 4
----+-----------------------------------------------------------------------------
1 | (1) (2) (3)
2 | low low low
----+-----------------------------------------------------------------------------
3 |age -0.027 -0.032 -0.023
4 | (0.036) (0.035) (0.034)
5 |lwt -0.015** -0.017** -0.013*
6 | (0.007) (0.007) (0.006)
7 |1bn.race
8 |
9 |2.race 1.263** 1.042** 1.231**
10 | (0.526) (0.508) (0.517)
11 |3.race 0.862** 0.41 0.944**
12 | (0.439) (0.38) (0.416)
13 |smoke 0.923** 1.054***
14 | (0.401) (0.38)
15 |ptl 0.542 0.679**
16 | (0.346) (0.341)
17 |ht 1.833*** 1.896***
18 | (0.692) (0.709)
19 |ui 0.759* 0.767*
20 | (0.459) (0.446)
21 |_cons 0.461 1.308 0.33
22 | (1.205) (1.15) (1.108)
23 |Observations 189 189 189
24 |Pseudo R2 0.142 0.118 0.086
----------------------------------------------------------------------------------