Hi everyone! I'm working on my Master's thesis and I need help.
I'm working with census data, and I need to analyze the family context of teenage women, therefore I need to consider all the members of each family, grouped into households. I made a unique code for each household, which is repeated among all family members, and I grouped them with "group" to be able to count them. Now I need to filter and keep only households where a teenage mother (<19) lives. I have the variables "do you have any alive-born child?" and "Age groups". I tried with the command "bysort group: keep if hjs_vivos==1" (1 is "I have alive children") but it drops all the members and only keeps women with children. Maybe I miss some steps before or that is not the command I need.
Thank you in advance!
Related Posts with Filter households' data from a census
Event study with quarterly reports!Hello! I'm a student currently working on my bachelor's thesis in finance. I want to test post-earn…
r(2000) while calculating ratioDear All, I am trying to calculate the ratio of caesarean section rate in public versus private fac…
Error in multiple imputation with categorical repeated measuresHello, I'm trying to use multiple imputation with chained equations (N = 330, 6 time points). At ea…
dropping multiple observations for same idsHi, I am trying to drop some of my repeated observations. I attached a screenshot, there are multipl…
How to install meta-analysis in Stata SE 15.1?Hi, friends, I want to do meta-analysis in Stata SE 15.1, anyone who knows how to install meta-ana…
Subscribe to:
Post Comments (Atom)
0 Response to Filter households' data from a census
Post a Comment