asdocx : Easy, yet extremely flexible program for publication quality tables in Stata Forums asdocx Forum Export Indirect and total effects after SEM from Stata to Word

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Sumeet Malik
    Participant
    Post count: 2

    Hello Professor,
    I am running SEM for mediation analysis.

    sem (Y <- M X Controls) (M <- X Controls) , method(ml) vce(r) nocapslatent

    Then I run the “estat teffects” command that gives me the indirect and total effect. But Asdocx is giving me an error

    asdocx estat teffects, save(mediation.xlsx) replace
    
      subinstr():  3200  conformability error
     replace_special_chars():     -  function returned error
         write_full_matrix():     -  function returned error
                     <istmt>:     -  function returned error

    Can you help with a solution?
    Thanks in advance!

    Attaullah Shah
    Moderator
    Post count: 33

    On your request, I have now added support for estat teffects sub-command. The full syntax and examples are discussed on this page https://fintechprofessor.com/asdocx/table-of-direct-indirect-and-total-effects-after-sem-word-excel-latex-stata/
    It is being released in the beta version of asdocx, therfore, first you need to run this code to get the beta version

    asdocx_update, beta mlib
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.