Dear Stata Users,

I am new to Stata.

I have a Census dataset on individuals, that are identified per household numbers. To reduce the size of my dataset, I want to drop all male-only households.

I tried something like drop per hh_id if sex == 1, but obviously this doesnt work.
Any hint on where I could find the right command?
Thank you very much in advance.