Announcement

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

  • How to consolidate string variables

    I have variables from 2 arms of the same study (ex: gestage and gestage_v2). For select all that or apply or multiple choice questions I used the following. For numerical or text variables I am not sure how to consolidate since there aren't specific values associated. Any suggestions?
    Click image for larger version

Name:	MicrosoftTeams-image.png
Views:	1
Size:	29.2 KB
ID:	1728538







  • #2
    solved!

    Comment


    • #3
      I don't know what your solution was, but on this information mine would be

      Code:
      gen insurancetype = max(pt_insurancetype, pt_insurancetype_v2)

      Comment

      Working...
      X