Announcement

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

  • Standard error of quantile command

    Hello all,when I was doing quantile regression, I outputted the table and found that several of the standard errors were 0. What is the problem?The fourth digit of the standard error obtained by this command is not 0, and the first three digits are 0. Should I keep the four digits? There is still something wrong with this data, thank you!

    My run command is asdoc qregpd lnfincome party trust relation age age2 gender marry edu health,id(familysize) fix(year) optimize(mcmc) noisy draws(1000) burn(100) arate(.1), nest replace
    Click image for larger version

Name:	111.JPG
Views:	1
Size:	46.7 KB
ID:	1639212

  • #2
    You can use the dec() option with asdoc to increase the number of decimal points. Also, add the tzok option so that you get trailing zeros. See this example
    Code:
     asdoc reg price mpg rep78, tzok nest dec(4)
    
                              Table: Regression results
      0 |1                                                    2 
    ----+-----------------------------------------------------------------------------
      1 |                                                   (1) 
      2 |                                                 price 
    ----+-----------------------------------------------------------------------------
      3 |mpg                                       -271.6425*** 
      4 |                                             (57.7712) 
      5 |rep78                                        666.9568* 
      6 |                                            (342.3559) 
      7 |_cons                                     9657.7544*** 
      8 |                                           (1346.5404) 
      9 |Observations                                        69 
     10 |R2                                              0.2510 
    ----------------------------------------------------------------------------------
    note: You should mention that asdoc and qregpd are from ssc.


    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.
    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
      Originally posted by Attaullah Shah View Post
      You can use the dec() option with asdoc to increase the number of decimal points. Also, add the tzok option so that you get trailing zeros. See this example
      Code:
       asdoc reg price mpg rep78, tzok nest dec(4)
      
      Table: Regression results
      0 |1 2
      ----+-----------------------------------------------------------------------------
      1 | (1)
      2 | price
      ----+-----------------------------------------------------------------------------
      3 |mpg -271.6425***
      4 | (57.7712)
      5 |rep78 666.9568*
      6 | (342.3559)
      7 |_cons 9657.7544***
      8 | (1346.5404)
      9 |Observations 69
      10 |R2 0.2510
      ----------------------------------------------------------------------------------
      note: You should mention that asdoc and qregpd are from ssc.


      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.
      Thanks~~~

      Comment


      • #4
        Dear Alec Johnson,

        Please make sure that the command you are using estimates the model you have in mind. In particular, note that qregpd does not estimate a model with fixed effects in the usual sense.

        Best wishes,

        Joao

        Comment


        • #5
          Just to flag that there is a quantile command and this thread has nothing to do with it!

          Comment

          Working...
          X