Announcement

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

  • Grouping Variables?

    Working to group multiple variables with same description under the same name in a table. Variables I am working with are MARSTAT, MARST, and MARSTCOHAB. and want them all to be in the same table with the categories of Married, Previously Married, Never Married. I was wondering if anyone could help in grouping these variables under the same name. I have had only success with using two variables, not all three.

  • #2
    Attempting to recreate this table.
    Click image for larger version

Name:	Screen Shot 2020-03-08 at 8.29.40 PM.png
Views:	1
Size:	143.0 KB
ID:	1540312

    Comment


    • #3
      You didn't get a quick answer. You will increase your chances of useful answer by following the FAQ on asking questions – provide Stata code in code delimiters, readable Stata output, and sample data using dataex. Often, it is best to post a simpler form of your problem simply to help the readers.


      I suspect you can do this with table. You will need to label the values for your variables.

      Comment

      Working...
      X