Announcement

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

  • drop data for duplicate ID

    Hi statalist community

    How do I drop data for duplicate ID?

    Note: the data row may or may not be identical for repeated IDs

    (the data set has many variables with an ID variable)


    thanks
    ajay
    Last edited by ajay pasi; 26 Nov 2022, 05:03.

  • #2
    You need something like
    Code:
    duplicates drop ID, force
    See
    Code:
    help duplicates

    Comment


    • #3
      Thanks Hemanshu

      Comment

      Working...
      X