Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    Dear Professor,
    I have been using asdoc with state 15.1 SE successfully, however, last month I updated the state and having a problem with the decimal values. Now, I am unable to get 0 before the decimal. Such as 0.125. The updated version just shows .125.
    Please guide.
    Click image for larger version

Name:	Asdoc.PNG
Views:	1
Size:	20.8 KB
ID:	1601856

    Comment


    • #47
      Can you please post the code that you used to generate the above table.?
      Regards
      --------------------------------------------------
      Attaullah Shah, PhD.
      Associate Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
      www.FinTechProfessor.com
      If you use MS Word, do check my asdoc program that easily sends Stata output to MS Word

      Comment


      • #48
        here is the code

        asdoc xtabond2 ROA_w l.ROA_w SZ_w TBL_w GR1_w TAN_w LQ_w EPU2 d_high_pdi d_high_pdi_EPU2 CR i.Country_Code, gmmstyle(l.ROA_w TBL_w SZ_w GR1_w) ivstyle( TAN_w LQ_w EPU2 d_high_pdi d_high_pdi_EPU2 CR i.Country_Code, equation(level)) twostep ///
        add(Crisis Effect, Yes, Country Effect, Yes) stat(N_g, chi2, sargan, sarganp, hansen, hansenp, ar1, ar1p, ar2, ar2p) title(Regression Analysis) drop(CR i.Country_Code) save(EPU2_CUL_ROA) nest replace ///

        Comment


        • #49
          Dear Professor,
          Thanks for your time and the reply. I just came to know that using "tzok" can provide equal decimals. Thank you very much

          Comment


          • #50
            Happy to know that tzok worked for you.
            Users of asdoc may also like asdocx, that is more powerful and flexible. It has a nominal fee. This fee will support further development of asdoc and asdocx.
            Regards
            --------------------------------------------------
            Attaullah Shah, PhD.
            Associate Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
            www.FinTechProfessor.com
            If you use MS Word, do check my asdoc program that easily sends Stata output to MS Word

            Comment


            • #51
              Thanks, dear Professor.

              Comment


              • #52
                @Attaullah Shah
                Dear Professor,
                I get problem with summarize command
                Code:
                use hoaThesis.dta, clear
                asdoc sum
                Below is the link to the data. Please kindly take a look and give me your advice.
                Thanks!

                I used Stata 16 MP on Windows 10

                https://www.dropbox.com/s/3ybsful2l0...hesis.dta?dl=0
                Attached Files
                Last edited by Son Thanh Nguyen; 08 Apr 2021, 19:15. Reason: Upload Attachments

                Comment


                • #53
                  Error code
                  Code:
                  invalid syntax
                  r(198);

                  Comment


                  • #54
                    Thanks for reporting this. The error message was caused by the variable AB that has all empty values. Anyway, i have fixed the bug. The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
                    Code:
                    net install asdoc, from(http://fintechprofessor.com) replace
                    Please note that the above line has to be copied in full.

                    asdocx is now available
                    A more powerful and flexible version of asdoc is now available. I call it asdocx. You may like to check the details here

                    https://fintechprofessor.com/asdocx


                    Please do remember to cite asdoc. To cite:

                    In-text citation
                    Tables were created using asdoc, a Stata program written by Shah (2018).

                    Bibliography
                    Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
                    Regards
                    --------------------------------------------------
                    Attaullah Shah, PhD.
                    Associate Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
                    www.FinTechProfessor.com
                    If you use MS Word, do check my asdoc program that easily sends Stata output to MS Word

                    Comment


                    • #55
                      Originally posted by Attaullah Shah View Post
                      Thanks for reporting this. The error message was caused by the variable AB that has all empty values. Anyway, i have fixed the bug. The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
                      Code:
                      net install asdoc, from(http://fintechprofessor.com) replace
                      Please note that the above line has to be copied in full.

                      asdocx is now available
                      A more powerful and flexible version of asdoc is now available. I call it asdocx. You may like to check the details here

                      https://fintechprofessor.com/asdocx


                      Please do remember to cite asdoc. To cite:

                      In-text citation
                      Tables were created using asdoc, a Stata program written by Shah (2018).

                      Bibliography
                      Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.
                      Dear Professor,
                      Well noted with many thanks for your quick reply!
                      Best regards,

                      Comment


                      • #56
                        Please, how can I use asdoc for VECM reuslts such as vec or var?

                        Thanks!

                        Comment


                        • #57
                          Since the varsoc command leaves a Stata matrix behind, you can use the wmat command of asdoc to send this Stata matrix to the output file. Here is an example

                          Code:
                          webuse lutkepohl2
                          varsoc dln_inv dln_inc dln_consump
                          mat stats = r(stats)
                          asdoc wmat, mat(stats) replace
                          Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	51.8 KB
ID:	1604716
                          Regards
                          --------------------------------------------------
                          Attaullah Shah, PhD.
                          Associate Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
                          www.FinTechProfessor.com
                          If you use MS Word, do check my asdoc program that easily sends Stata output to MS Word

                          Comment

                          Working...
                          X