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
Having trouble while using inequality signs.Hi. I am having trouble with following script. It is a real basic function but I don't know why it …
Generating Binary Variable using Local MacrosI have a panel dataset involving a bunch of different countries. I am looking to construct a local m…
Financial statement comparability (rangerun after rangestat?Dear All, In an earlier post (https://www.statalist.org/forums/for...fter-rangestat), I asked how to…
Graph Descriptive statistics.Hi Stata Users , I'm looking at the relationship between health outcomes of mother(Bmi. and hemoglo…
propensity score matching using pscore command..can someone help to understand the matching ways.. my problem is when i do stratification matching (…
Subscribe to:
Post Comments (Atom)
0 Response to Delete single observations
Post a Comment