Announcement

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

  • Dropping groups of individuals where not at least one object possess a certain characteristic

    Dear community,

    I have a somewhat tricky problem: I grouped several observations together according to their postal code. Some of the data tuples have an additional dummy variable equal to 1, while others do not. Essentially, I want to drop all the groups (yes, the entire group) where there is not a single individual with this additional dummy variable being equal to 1. Do you think that this is possible to implement with STATA?

    Thank you a lot!!

    Marie
    Last edited by Marie Hutter; 03 Apr 2019, 07:28.

  • #2
    https://www.stata.com/support/faqs/d...ble-recording/

    Comment

    Working...
    X