Announcement

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

  • option 3aster not allowed

    Hi I was trying to run this regression but i am getting this error "option 3aster not allowed", i install outreg2 as well and using Stata 15.1, any suggestion how to fix this or alternatively better command to display this reg

    xi: areg zhhworkedwageanyhh audit und fpm auditzknowsfamilygovt zavgadultedyearsinhh activitiesnumberpercapita zage zfemale zlhhexpcap zknowsfamilygovt zknowsfamilyH i.zrespondtype zrespondlate, cluster(kecnum) absorb(auditstrat)
    local fe = e(df_a)
    if `fe' == . {
    local fe = 0
    }
    local depvar = e(depvar)
    qui summ `depvar' if e(sample)
    outreg2 word audit zknowsfamilygovt zknowsfamilyH activitiesnumberpercapita auditzknowsfamilygovt using tableauditnep, 3aster coefastr se adds("Mean dep. var",r(mean),"FE",`fe') replace title ("Nepotism")

    xi: areg zhhworkedwageanyhh audit und fpm auditzknowsfamilyH zavgadultedyearsinhh zage zfemale activitiesnumberpercapita zlhhexpcap zknowsfamilygovt zknowsfamilyH i.zrespondtype zrespondlate, cluster(kecnum) absorb(auditstrat)
    local fe = e(df_a)
    if `fe' == . {
    local fe = 0
    }
    local depvar = e(depvar)
    qui summ `depvar' if e(sample)
    outreg audit zknowsfamilygovt zknowsfamilyH auditzknowsfamilyH activitiesnumberpercapita using tableauditnep, 3aster coefastr se adds("Mean dep. var",r(mean),"FE",`fe') append


  • #2
    outreg2 from SSC and outreg from the Stata Journal and SSC are quite separate commands. outreg2 was originally written as an extension of outreg (first written by John Gallup) by a different author (Roy Wada), but that hasn't been true since 2012 when outreg was drastically rewritten.

    I bear a little blame here, as having originally suggested (in 2005 or so) to Dr Wada, author of outreg2, that he should not release his revisions under the name outreg but should use a different name. The blame is this -- had I known how easily and often people would get confused, I would have urged a completely different name.

    There is even some misinformation here, as the help files of outreg2 (not revised since 2014) include some statements on outreg that are now quite wrong.

    I don't use either of these commands, and so can't advise on detailed syntax, but just point out out that they are quite separate.

    Comment


    • #3
      Hi Nick, thanks. any suggestion on which alternative I should use for this syntax. it is kind of sad there are not many resources regarding outreg2 tbh.

      Comment


      • #4
        Look at

        Code:
        help outreg2
        ----+ Significance +------------------------------------------------------------------------------------------------------------------------------------------------

        alpha(numlist) specifies the levels of significance, separated by comma from the most significant to the least signficiant. Example: alpha(0.001, 0.01, 0.05). Up to
        3 are automatically assigned asterisks. If more than 3 levels are defined, then the symbols must be specified with symbol(text).

        symbol(text) specifies symbols for the levels of significance from the most significant to the least significant, the default symbol(***, **, *). The significance
        levels of 0.01, 0.05, and 0.10 will be automatically assigned in that order. If more than 3 symbols are assigned, then the same number of levels of significance
        must be specified using alpha( ).

        asterisk( ) specifies asterisks to be placed next to them; default stats(coef).

        noaster no asterisks denoting statistical significance levels be reported.

        2aster specifies ** for 1% and * for 5%

        10pct equivalent to symbol(**, *, +)
        The stated option is your invention. By default, the command will report 3 stars.

        Comment


        • #5
          I should underline that the help file of outreg2 is lengthy and detailed, which is as much as anyone could and should expect from a freely offered and freely available community-contributed command.

          My only point was that some side comments on outreg within it are wrong.

          Comment

          Working...
          X