asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Export Indirect and total effects after SEM from Stata to Word

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Sumeet Malik
    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
    Post count: 70

    On your request, I have now added support for estat teffects sub-command. The full syntax and examples are discussed on this page
    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.