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
Rolling Regression for cross sectionBelow is the code that i used to calculate monthly residuals following Fama and French three Factor …
Match each treated country to a non-treat country that is adjacent and has the closest crime rate in year t-1Dear StataList-ers! Help! I need somebody! My question is very basic but I’m absolutely lost. I am …
Football and Covid, problem in including some teamsGood Evening. I am dealing with a project in Econometrics, in which I have to see what is the effec…
FRM estimation in panel dataDear researchers, I estimate balanced panel data N = 77, T = 6, in which the dependent variable is …
zero inflated Panel data (Interrupted Time series)Hello Experts, I have panel data set which is zero inflated (99%). I am planning to do an Interrupt…
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