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
xtset an tssetHi! For the construction of a certain variable, I have to do following calculation: Code: generate…
graph bar with controlsHello - For a paper submission, I want to display a graph bar after a multivariate linear regression…
Difference in Difference model of the effect of minimum wage on unemploymentHello, Can I please get help for building my model for the effect of minimum wage on unemployment. …
sort may not be combined with byHi, Using the below current code, I could generate my desired output. That is the 95% credible inter…
Testing instrument validity - ordered probitHi, I am looking at the relationship between financial inclusion and poverty. my dependent variable…
Subscribe to:
Post Comments (Atom)
0 Response to Delete single observations
Post a Comment