Dear community,
I have a somewhat tricky problem: I grouped several observations together according to their postal code. Some of the data tuples have an additional dummy variable equal to 1, while others do not. Essentially, I want to drop all the groups (yes, the entire group) where there is no a single individual with this additional dummy variable being equal to 1. Do you think that this is possible to implement with STATA?
Thank you a lot!!
Marie
Related Posts with Dropping groups of individuals where not at least one object possess a certain characteristic
operating sums of columnsI guess this is about using stata as a very basic calculator--but I really need it to go that way. I…
ttest result and asdoc table not agree.Hi all, I am getting problem with results in asdoc table, p-values in the Word file not agree with …
installing an ado fileCan anyone guide me on how to install an ado file? I'm using stata 14.2 in Mac. Here is the file htt…
Transition analysisHi I want to do a transitional analysis. I have the following transition periods that is 1. No morbi…
wrapping up using lines of codes in a loopHi, How can I wrap up the below code in a loop? Best, Nader gen n=_n gen sample=_n replace sam…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping groups of individuals where not at least one object possess a certain characteristic
Post a Comment