Announcement

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

  • #16
    hello everyone,

    I have another question:
    I have two data sets which I want to merge.
    The master data set contains panel data (id and date), the second data set just has information about the individual which is stable over time.
    How can I merge both documents in order to get the results in the master data set for time and individual (again this new Information doens't change over time so that the variable time doens't exist in the second document)
    Thank you in advance!!
    Lisa

    Comment


    • #17
      you should really start a new thread for a new question - for now, however, assuming you have the panel data in memory, what about:
      Code:
      merge m:1 id using filename
      where you replace "filename" with the correct file name of your second data set; for more type "help merge"

      Comment


      • #18
        i tried it and it is exactly the other way round,
        Code:
        merge 1:m id using filename
        but thank you very much for the advice

        Comment

        Working...
        X