Announcement

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

  • How to make a table for mean statistics by cross tab

    Dear Statalist,

    Can you give me a stata command to make summery table of publication standard (I want only mean information of the variables) by categorical variable. For example, I want to get cross tab of income, age, and household size based on education status (no edu, primary edu, above primary). i want also to get the number of digits after the point only like format %9.1f


    .....................no edu,....primary edu.....above primary
    income ........46.5 ..............82.1 ...............190.0
    age ............ ..32.5 ............26.7 ............. 35.1
    household size.... 4.2 ......... 3.9 ............ 4.4

    Waiting to hear from you.
    Anagaw
    Last edited by Anagaw Derseh; 28 Jan 2017, 03:08.

  • #2
    I don't know of any built-in commands that will do this; however, there are at least 3 user-written commands: table1, basetable and partchart; use the -search- command to find and download at least one of these; you will need to read the help files carefully to get exactly what you appear to want

    forgot another user-written possibility: -sumtable-
    Last edited by Rich Goldstein; 28 Jan 2017, 06:58.

    Comment

    Working...
    X