Announcement

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

  • merging datasets

    My master dataset has repeated measures therefore an id does not uniquely identify an observation but the id uniquely identifies an observation in the using dataset. the using dataset is sociodemographic data which is missing in the master dataset. I would like to merge these two datasets so that each observation in the master dataset has sociodemographic data. How do I do this?
    Apologies if this has already been answered before, I looked at threads with related questions but they were confusing.

  • #2
    duplicate; if interested, follow at https://www.statalist.org/forums/for...ging-data-sets

    Comment


    • #3
      Mary,
      It seems you need to merge your files using Many- to- one merge. Try help merge and follow up merge m:1.

      Comment


      • #4
        Originally posted by Rich Goldstein View Post
        duplicate; if interested, follow at https://www.statalist.org/forums/for...ging-data-sets
        thank you Rich!

        Comment

        Working...
        X