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.
Related Posts with How to eliminate male-only households from individual-level data
How to remove vertical line from do-file editorHello there, Is there a way to disable a vertical line from do-file editor? It is not comfortable t…
Including a quadratic term in a linear regression - what to do here?Hi, I am running a linear regression in Stata 17, using the regress command. Based on theory I susp…
creating a scale with round numbersHey everyone, I'm creating an attitude scale concerning support of Lesbians' and Gays' rights with …
How can i add a variable collected in different time (by region) in cross-sectional model?I'm using a cross sectional data in 2015, and have a poverty rate variable collected in different ye…
exclude the dataHello, How can I exclude firms for which I can't compute the lagged ratios? i mean ratios (cash flow…
Subscribe to:
Post Comments (Atom)
0 Response to How to eliminate male-only households from individual-level data
Post a Comment