Age of child 4
Calculated variable in STATA
Values | Categories | N | |||
0 | 89 |
|
|||
1 | 78 |
|
|||
2 | 76 |
|
|||
3 | 76 |
|
|||
4 | 73 |
|
|||
5 | 60 |
|
|||
6 | 67 |
|
|||
7 | 63 |
|
|||
8 | 68 |
|
|||
9 | 56 |
|
|||
10 | 42 |
|
|||
11 | 45 |
|
|||
12 | 45 |
|
|||
13 | 49 |
|
|||
14 | 40 |
|
|||
15 | 25 |
|
|||
16 | 29 |
|
|||
17 | 33 |
|
|||
18 | 21 |
|
|||
19 | 19 |
|
|||
20 | 20 |
|
|||
21 | 27 |
|
|||
22 | 21 |
|
|||
23 | 15 |
|
|||
24 | 28 |
|
|||
25 | 21 |
|
|||
26 | 24 |
|
|||
27 | 24 |
|
|||
28 | 28 |
|
|||
29 | 20 |
|
|||
30 | 29 |
|
|||
31 | 31 |
|
|||
32 | 28 |
|
|||
33 | 22 |
|
|||
34 | 13 |
|
|||
35 | 20 |
|
|||
36 | 16 |
|
|||
37 | 9 |
|
|||
38 | 18 |
|
|||
39 | 10 |
|
|||
40 | 12 |
|
|||
41 | 4 |
|
|||
42 | 9 |
|
|||
43 | 9 |
|
|||
44 | 4 |
|
|||
45 | 6 |
|
|||
46 | 7 |
|
|||
47 | 2 |
|
|||
48 | 2 |
|
|||
49 | 4 |
|
|||
50 | 1 |
|
|||
51 | 2 |
|
|||
52 | 2 |
|
|||
53 | 1 |
|
|||
97 | Does not know | 0 | |||
98 | Refusal | 1 | |||
99 | Not applicable/no response/reporting error | 6 | |||
Sysmiss | 13307 |
Valid cases | 1543 |
Missing cases | 13314 |
Minimum | 0.0 |
Maximum | 53.0 |
Mean | 14.769 |
Standard deviation | 12.47 |
This variable is numeric |
IF a201 = "1-yes" & IF totalchildren > 0
STATA script to calculate this variable:
forval x=1(1)20 {
replace childage_`x'=a227y_`x' if missing(a227y_`x')
replace childage_`x'=((((intdatey-1900)*12+intdatem) - ((a227y_`x'-1900)*12+a227m_`x')))/12 if !missing(a227y_`x')
replace childage_`x'=((((intdatey-1900)*12+intdatem) - ((a227y_`x'-1900)*12+6)))/12 if !missing(a227y_`x') & missing(a227m_`x') replace childage_`x'=int(childage_`x')
}
This is the Metadata Index for a Nesstar Server.
Nesstar is a tool used for analysing, visualising and downloading datasets.
Click the "Explore Dataset" button to open the dataset.