Age of child 7
Calculated variable in STATA
Values | Categories | N | |||
0 | 3 |
|
|||
1 | 6 |
|
|||
2 | 6 |
|
|||
3 | 4 |
|
|||
4 | 5 |
|
|||
5 | 3 |
|
|||
6 | 3 |
|
|||
7 | 2 |
|
|||
8 | 6 |
|
|||
9 | 3 |
|
|||
11 | 4 |
|
|||
12 | 2 |
|
|||
14 | 1 |
|
|||
15 | 1 |
|
|||
17 | 2 |
|
|||
20 | 2 |
|
|||
21 | 1 |
|
|||
22 | 1 |
|
|||
23 | 1 |
|
|||
24 | 1 |
|
|||
25 | 2 |
|
|||
26 | 2 |
|
|||
27 | 2 |
|
|||
28 | 2 |
|
|||
29 | 2 |
|
|||
30 | 5 |
|
|||
31 | 3 |
|
|||
32 | 2 |
|
|||
33 | 2 |
|
|||
34 | 1 |
|
|||
35 | 1 |
|
|||
36 | 1 |
|
|||
37 | 2 |
|
|||
39 | 2 |
|
|||
40 | 3 |
|
|||
41 | 2 |
|
|||
43 | 1 |
|
|||
44 | 1 |
|
|||
45 | 2 |
|
|||
49 | 1 |
|
|||
97 | Does not know | 0 | |||
98 | Refusal | 1 | |||
99 | Not applicable/no response/reporting error | 1 | |||
Sysmiss | 14759 |
Valid cases | 96 |
Missing cases | 14761 |
Minimum | 0.0 |
Maximum | 49.0 |
Mean | 18.344 |
Standard deviation | 14.555 |
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.