Hi All,
I am working with a smaller dataset of approximately 500 observations in Stata 15.1. I am interested in the relationship between parent's and child's education and am stuck on what should be a relatively simpler part of the analysis. In this dataset, children are identified by a combination of the parent's id (numerical) and the child's id (which is the #of children each parent has, from 0-7). I would like to determine how many kids have parents who graduated from college and while I already created a new categorical variable for parent's education, I can't figure out how to connect that information to each of the parent's kids. If anyone could suggest a way of identifying which parents the kids belong to, I can figure out the rest. Any suggestions are greatly appreciated!!!
tab child_id
child_id Freq. Percen tCum.
1 212 50.84 50.84
2 117 28.06 78.90
3 50 11.99 90.89
4 23 5.52 96.40
5 10 2.40 98.80
6 3 0.72 99.52
7 2 0.48 100.00
Total 417 100.00
Parent's ID is reported as 1, 2, 3, 4, 5......
Paternal Education is reported as Elementary, Jr. High, H.S. Diploma, College, and More than College
Related Posts with Help with connecting variables based on id #'s
profit efficiencyI am using a stochastic frontier approach to estimate the profit efficiency. But I am not sure how t…
pystata does not work in Mac M1Hi all, Has anyone with Mac M1 successfully used Stata in Python via the pystata library? I am havi…
Cross Section Data --> PanelI've been trying to aggregate my current data set into a panel format. Currently the data is a cross…
match tablesHello everybody I am trying to merge 2 tables using the command merge 1:1 or 1:m or m:1 or m:n, but…
Geonear but with UTM?Hello. I understand that the geonear command uses geographic coordinates. I need a command that perf…
Subscribe to:
Post Comments (Atom)
0 Response to Help with connecting variables based on id #'s
Post a Comment