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
Clustered SE with SVYDear all, I am using a longitudinal survey with a complex design. Thus, I am using svy command. - …
Ordering table by percent "yes"I'm pretty new to STATA and this is probably a silly question, but I can't seem to find the answer a…
Regression of a continuous variable on three binary endogenous variables and other covariatesI wish to run a regression of wages on three distinct training choices. These training choices are b…
Interaction terms in logit regression Computing real odd after estimationHi there, I am writing this logit model in stata: logit prop_FS_cat i.Path##need..., where Path is h…
Interaction effects and few cases at the ends of a distribution.Dear all, I am estimating a linear regression with an interaction effect between a continuous and a…
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