Announcement

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

  • Unwanted stars in outreg2 generated crosstab

    I'm trying to make a crosstabulation with outreg2.

    When I use an example I found online, everything works fine
    Code:
    sysuse auto, clear
    egen mileage=cut(mpg), group(10)
    outreg2 mileage foreign using x.doc, replace cross
    When I try it on my own data, I get a bunch of stars in the output
    Code:
    outreg2 B1 B11 using "crosstab.doc", replace cross
    Any thoughts on what is happening here?
    Attached Files

  • #2
    They appear because the differences in means across the levels of your cross tabulation are significant. Try the noaster option

    Code:
      
     outreg2 B1 B11 using "crosstab.doc", replace cross noaster
    Jorge Eduardo Pérez Pérez
    www.jorgeperezperez.com

    Comment


    • #3
      Thanks, that does the trick.

      Comment

      Working...
      X