oldestchild
variable:group
Variable | Graph | Type | N | Descriptives | Label |
---|---|---|---|---|---|
[+]
oldestchild @ch45.dta |
|
category (float) |
9 (3) |
"11", "14", "16" |
file | # | command |
---|---|---|
ch4.4.do: | 31 [+] | drop nadult nchild sibs nboys nbros older oldestchild oldestsibling |
: | 45 [+] | by fam: egen oldestchild = max(age) if age<=17 |
: | 46 [+] | g oldestsibling = cond(age < oldestchild & age <= 17, oldestchild, .) |