asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Request for user command gologit2 support › Reply To: Request for user command gologit2 support
I have added gologit2 to asdocx. Since the output of the gologit2 comprises of three groups of estimates, asdocx add the group name as a prefix, that is fair, average, good. See this example
*Update asdocx
asdocx_update
* Use example data
webuse fullauto
*Add three nested models
asdocx gologit2 rep77 i.foreign length mpg, replace nest
asdocx gologit2 rep77 i.foreign length mpg trunk , nest
asdocx gologit2 rep77 i.foreign mpg trunk , nest
Table: Regression results
(1) | (2) | (3) | |
---|---|---|---|
rep77 | rep77 | rep77 | |
0bn.foreign | |||
1.foreign | 3.07 | 167.059 | -1.596 |
(7.081) | (38570.529) | (1.601) | |
length | 0.447 | 17.56 | |
(0.316) | (3337.642) | ||
mpg | 0.505 | 24.289 | -0.444 |
(0.851) | (7408.473) | (0.45) | |
trunk | -23.61 | -0.097 | |
(3518.731) | (0.281) | ||
Intercept | -89.731 | -3524.318 | 13.323 |
(63.983) | (744600.61) | (12.56) | |
Fair:0bn.foreign | |||
Fair:1.foreign | 2.42* | 1.861 | 1.213 |
(1.346) | (1.341) | (0.904) | |
Fair:length | 0.054 | 0.028 | |
(0.042) | (0.051) | ||
Fair:mpg | 0.26 | 0.279 | 0.224** |
(0.159) | (0.176) | (0.113) | |
Fair:trunk | 0.108 | 0.182* | |
(0.134) | (0.107) | ||
Fair:Intercept | -14.632 | -11.379 | -5.968* |
(11.076) | (12.276) | (3.335) | |
Average:0bn.foreign | |||
Average:1.foreign | 3.569*** | 3.37*** | 1.524** |
(1.077) | (1.09) | (0.728) | |
Average:length | 0.123*** | 0.122*** | |
(0.039) | (0.043) | ||
Average:mpg | 0.358*** | 0.372*** | 0.094 |
(0.132) | (0.137) | (0.059) | |
Average:trunk | 0.005 | 0.177* | |
(0.118) | (0.092) | ||
Average:Intercept | -32.637*** | -32.861*** | -5.5** |
(10.241) | (10.664) | (2.27) | |
Good:0bn.foreign | |||
Good:1.foreign | 19.883 | 24.247 | 20.503 |
(1501.655) | (7320.255) | (2304.349) | |
Good:length | 0.058 | 0.038 | |
(0.057) | (0.069) | ||
Good:mpg | 0.001 | -0.032 | -0.053 |
(0.12) | (0.125) | (0.085) | |
Good:trunk | 0.197 | 0.241 | |
(0.217) | (0.205) | ||
Good:Intercept | -30.528 | -32.583 | -22.73 |
(1501.716) | (7320.271) | (2304.351) | |
Observations | 66 | 66 | 66 |
Pseudo R2 | 0.276 | 0.329 | 0.154 |