Announcement

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

  • fsum command

    Hi all,
    I am using the fsum command to produce a table with my variables using label. it works well with numeric variables but i want to add the gender as well, i.e. to say that i have x females/y males. the code I use is:
    Code:
     fsum age bmi ssaauml tcholesterol triglycerides glucose hba1c waist hip altgpt astgot glutamyltransferase, uselabel
    i get the table below:


    How can i add the gender variable to this table so that it show gender (female/ male) and then the numbers like in second table (picture from a paper)
    thanks in advance

    stata 15.1 on mac
    Attached Files
    Last edited by abdelilah arredouani; 03 Mar 2019, 22:26.
Working...
X