fam
variable:group
Variable | Graph | Type | N | Descriptives | Label |
---|---|---|---|---|---|
[+]
fam @ch45.dta |
|
category (float) |
14 (3) |
"1", "2", "3" |
file | # | command |
---|---|---|
ch4.4.do: | 29 [+] | list fam person female age , |
: | 48 [+] | list fam female age nadult sibs nboys nbros older oldestsibling , |
file | # | command |
---|---|---|
ch4.4.do: | 33 [+] | by fam: egen nadult = total(age >= 18) |
: | 34 [+] | by fam: egen nchild = total(age <= 17) if age <= 17 |
: | 36 [+] | by fam: egen nboys = total(age <= 17 & !female) if age <= 17 |
: | 38 [+] | by fam: egen nbros = total(age <= 17 & !female) if age <= 17 |
: | 43 [+] | by fam: g older = (age <= 17 & age[_n+1] <= 17) * (age < age[_n+1]) |
: | 45 [+] | by fam: egen oldestchild = max(age) if age<=17 |