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
_const in logistic 0?Hello everyone, I´m fitting a logistic regression model and get a constant value close to 0, is thi…
Comparing autocorrelationsDear Stata users, I'm struggling to find a robust way to compare the autocorrelations of two earnin…
Chow testArray regress c.Y c.time c.A c.B c.A#c.time c.B#c.time Then i manually group some obs (Named it grp…
How to calculate Difference before and after treatment for panel data? [Difference in Differences]Hi everyone, I have a panel data on which I am trying to perform DID. The difficulty I am facing is…
Is it available to use fixed effect term in xtgee ?I read one article to identify effects of policies. The article was published from a high IF journal…
Subscribe to:
Post Comments (Atom)
0 Response to Delete single observations
Post a Comment