Announcement

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

  • asdoc in probit model

    Hello Everyone

    I have run the following command for my probit model:

    probit vocationaltraining hhsize gender literacy uneduc_adults mfs_use loan totalsavings remitt totalassets mobile1 ib3.division members_in_agri agrishock distfacility3, robust
    asdoc margins, dydx (*)

    now while I open the word document, the table I get looks like this
    Delta-method
    dy/dx Std.Err. z P>z [95%Conf. Interval]
    hhsize -0.002 0.001 -1.950 0.051 -0.005 0.000
    gender -0.017 0.006 -2.830 0.005 -0.029 -0.005
    literacy 0.001 0.002 0.390 0.698 -0.004 0.005
    uneduc_adults -0.015 0.003 -5.040 0.000 -0.021 -0.009
    mfs_use 0.011 0.004 2.700 0.007 0.003 0.019
    loan 0.007 0.005 1.540 0.123 -0.002 0.016
    totalsavings -0.000 0.000 -0.150 0.879 -0.000 0.000
    remitt -0.009 0.005 -1.980 0.048 -0.018 -0.000
    totalassets -0.000 0.000 -0.050 0.961 -0.000 0.000
    mobile1 0.017 0.002 8.890 0.000 0.013 0.021
    division
    Barisal -0.012 0.008 -1.530 0.125 -0.026 0.003
    Chittagong -0.026 0.005 -4.690 0.000 -0.036 -0.015
    Khulna -0.004 0.007 -0.610 0.541 -0.019 0.010
    Rajshahi 0.011 0.008 1.420 0.155 -0.004 0.026
    Rangpur -0.001 0.008 -0.120 0.907 -0.016 0.014
    Sylhet 0.024 0.007 3.410 0.001 0.010 0.037
    members_in_agri -0.030 0.004 -7.380 0.000 -0.038 -0.022
    agrishock 0.014 0.006 2.260 0.024 0.002 0.026
    distfacility3 0.000 0.001 0.270 0.785 -0.001 0.001
    What I want is star on my dy/dx to show the significance. But I can't produce any star. Also, I want to show the t test statistics in the parenthesis. What can I do now? What is the command to show star on my marginal effects?
    Last edited by Kazi Aiman Udoy; 09 Feb 2023, 06:12.

  • #2
    There is no dedicated package for margins in asdoc. I have added support for margins in asdocx, see these links:
    Detailed table of margins [see this post ]
    Nested table of margins [see this post ]
    Regards
    --------------------------------------------------
    Attaullah Shah, PhD.
    Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
    FinTechProfessor.com
    https://asdocx.com
    Check out my asdoc program, which sends outputs to MS Word.
    For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

    Comment


    • #3
      .@Attaullah Shah

      I tried this one:

      asdoc margins , dydx(*) atmeans replace nest tzok


      But it isn't working. It shows the follwoing message in red mark:

      tzok
      func_nested_reg(): 3301 subscript invalid
      <istmt>: - function returned error


      What to do now?

      Comment

      Working...
      X