Age of child 5
Calculated variable in STATA
Values | Categories | N | |||
0 | 37 |
|
|||
1 | 28 |
|
|||
2 | 35 |
|
|||
3 | 31 |
|
|||
4 | 30 |
|
|||
5 | 33 |
|
|||
6 | 29 |
|
|||
7 | 47 |
|
|||
8 | 22 |
|
|||
9 | 25 |
|
|||
10 | 17 |
|
|||
11 | 16 |
|
|||
12 | 13 |
|
|||
13 | 13 |
|
|||
14 | 12 |
|
|||
15 | 11 |
|
|||
16 | 16 |
|
|||
17 | 12 |
|
|||
18 | 8 |
|
|||
19 | 8 |
|
|||
20 | 6 |
|
|||
21 | 8 |
|
|||
22 | 10 |
|
|||
23 | 8 |
|
|||
24 | 6 |
|
|||
25 | 7 |
|
|||
26 | 16 |
|
|||
27 | 13 |
|
|||
28 | 13 |
|
|||
29 | 14 |
|
|||
30 | 17 |
|
|||
31 | 11 |
|
|||
32 | 10 |
|
|||
33 | 8 |
|
|||
34 | 9 |
|
|||
35 | 9 |
|
|||
36 | 11 |
|
|||
37 | 7 |
|
|||
38 | 13 |
|
|||
39 | 8 |
|
|||
41 | 4 |
|
|||
42 | 4 |
|
|||
43 | 2 |
|
|||
44 | 4 |
|
|||
45 | 3 |
|
|||
46 | 3 |
|
|||
47 | 1 |
|
|||
48 | 1 |
|
|||
49 | 2 |
|
|||
50 | 3 |
|
|||
51 | 1 |
|
|||
77 | 1 |
|
|||
97 | Does not know | 0 | |||
98 | Refusal | 1 | |||
99 | Not applicable/no response/reporting error | 2 | |||
Sysmiss | 14178 |
Valid cases | 676 |
Missing cases | 14181 |
Minimum | 0.0 |
Maximum | 77.0 |
Mean | 15.596 |
Standard deviation | 13.266 |
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.