Announcement

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

  • duplicates drop if

    Hi, I'm new to STATA. Wondering if I can include a condition to 'duplicates drop'.
    There are four "00612" observations of the ZIP variable. I want only to keep one observation which is "RES_RATIO" value is high. (is 0.99299 on the image below)
    STATA allows this? Please help!
    Click image for larger version

Name:	2022-03-17 오후 6.00.55.png
Views:	1
Size:	441.7 KB
ID:	1654834
    ​​​​​​​


    Last edited by Yoonseo Yang; 17 Mar 2022, 03:15.

  • #2
    Hi Yang!
    Have do you find any solution for this problem? If yes please share it with me. I have the same problem. Thanks in advance.

    Comment


    • #3
      as you can see from the help file, if and in are each allowed; if you want exact code to help you, you need to supply a -dataex- example as discussed in the FAQ

      Comment

      Working...
      X