Announcement

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

  • Statistics table

    Hi,
    I have a dataset for 12 countries, and looking to generate a table similar to the attached one.

    Especially panel B and C.

    What would be the best command to do this!

    Is it possible to get all in one?


    Many Thanks
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	92.7 KB
ID:	1512988

  • #2
    The user written outreg2 command may be of some use to you. I would suggest that you install this package and use the help command to get to grips with how outreg2 works. Additionally you may wish to look into the tabout command.

    Comment


    • #3
      The built-in -tabstat- comes pretty close to some of what is desired here:
      Code:
      sysuse auto
      tabstat price mpg trunk weight, statistics(N  mean p50 sd min max) by(rep78) columns(statistics)

      Comment


      • #4
        Thanks for your replies, i will try this.

        Comment


        • #5
          This topic is discussed further at

          https://www.statalist.org/forums/for...rent-countries

          Comment

          Working...
          X