asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Export table from SEM command | asdocx | Stata › Reply To: Export table from SEM command | asdocx | Stata
Hello Rune Lomholt
Adding additional features to asdocx requires time, and I have to prioritize features that many researchers will benefit from. I do accept contribution from user who might want to add some niche features to asdocx. Such contributions are acknowledged in the asdocx.ado’s main header.
Concerning the suggested commands, I would recommend using workarounds. (For reporting total effects, indirect effects and direct effects, please see this post https://asdocx.com/table-of-direct-indirect-and-total-effects-after-sem-word-excel-latex-stata/). For example, you can use the wmat
command of asdocx for the egcof
as it leaves behind a matrix.
use https://www.stata-press.com/data/r16/sem_2fmm sem (Affective -> a1 a2 a3 a4 a5) (Cognitive -> c1 c2 c3 c4 c5) estat eqgof mat a = r(eqfit) asdocx wmat, mat(a) replace Results Table 0 |1 2 3 4 5 6 ----+----------------------------------------------------------------------------- 1 | fitted predicted residual _cons _cons ----+----------------------------------------------------------------------------- 2 |a1 2028.598 1644.463 384.136 0.811 0.9 3 |a2 1923.217 1565.865 357.352 0.814 0.902 4 |a3 1307.726 1152.775 154.951 0.882 0.939 5 |a4 2024.798 1528.339 496.459 0.755 0.869 6 |a5 2052.328 1860.643 191.686 0.907 0.952 7 |c1 627.599 455.935 171.664 0.726 0.852 8 |c2 738.333 566.527 171.806 0.767 0.876 9 |c3 1082.374 806.36 276.014 0.745 0.863 10 |c4 851.311 627.112 224.199 0.737 0.858 11 |c5 725.3 578.435 146.866 0.798 0.893 -----------------------------------------------------------------------------------