Displaying 2 results from an estimated 2 matches for "agew".
Did you mean:
age
2003 Dec 17
5
beginner programming question
...2 2 NA NA
where rel1...3 states the kinship with the respondent (person 0)
code 1 meaning husband/wife, code 4 meaning parent and code 3 for
children.
I would like to get the age for husbands (code 1) in a first column and
wife's age in the second:
ageh agew
25 23
34 35
39 40
My solution uses *for* loops and *if*s checking for code 1 in each
element in the first 3 columns, then checking in the last three columns
for husband's code, then taking the corresponding age in a new matrix.
I've learned that *for* loops ar...
2004 Sep 21
2
Ever see a stata import problem like this?
...DK : 0 DK : 0
Median : 1996808 Median :1987 Median : 905 NA : 0 NA : 0
Mean : 9963040 Mean :1986 Mean : 990 NA's:40933 NA's:40933
3rd Qu.:19872187 3rd Qu.:1994 3rd Qu.:1358
Max. :20002817 Max. :2000 Max. :3247
prestige agewed age educ paeduc
DK,NA,NAP: 0 NAP : 0 DK : 0 NAP : 0 NAP : 0
NA's :40933 DK : 0 NA : 0 DK : 0 DK : 0
NA : 0 NA's:40933 NA : 0 NA : 0
NA's:40933...