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
Related Posts with Delete single observations
Industry Dummy Variables and independent variablesI am conducting a cross-sectional study on UK firms and aim to find (if any) a relationship between …
Confusion about how to keep students in the right courses in the right levelStata 15.1 I have a list of students who are taking certain courses. Some of the courses have level …
Tobit regression will not workI'm running a tobit regression to work out price elasticises and cross price elasticities for demand…
how to use stored estimates for contrasts in fixed effects regressions?Hello All, This must be a simple problem - but I have searched for a day and somehow cannot find the…
Modification of stored estimatesDear StataListers, Is it possible to recode the _at variable in a stored estimate (see below)? I wo…
Subscribe to:
Post Comments (Atom)
0 Response to Delete single observations
Post a Comment