Hello everyone,
I have a dataset where I have to create couples of people in a way that every household consists of 2 partners. However some households still have only one member after using the relevant filters. Every person has one household id, refering to the household he/she belongs to, however there are still some household id's that only appear once, meaning there is only one person in this household. As a result I was wondering how I can drop all the observations where the number of people in a household(so with a certain hhid) is one.
Thanks in advance
0 Response to Delete single observations
Post a Comment