Age of child 8
Calculated variable in STATA
Values | Categories | N | |||
1 | 3 |
|
|||
3 | 1 |
|
|||
4 | 1 |
|
|||
6 | 1 |
|
|||
9 | 2 |
|
|||
11 | 1 |
|
|||
16 | 1 |
|
|||
20 | 1 |
|
|||
24 | 3 |
|
|||
25 | 1 |
|
|||
27 | 2 |
|
|||
28 | 3 |
|
|||
31 | 1 |
|
|||
32 | 1 |
|
|||
33 | 1 |
|
|||
37 | 1 |
|
|||
38 | 2 |
|
|||
40 | 1 |
|
|||
42 | 2 |
|
|||
46 | 1 |
|
|||
47 | 1 |
|
|||
56 | 1 |
|
|||
97 | Does not know | 0 | |||
98 | Refusal | 1 | |||
99 | Not applicable/no response/reporting error | 1 | |||
Sysmiss | 14823 |
Valid cases | 32 |
Missing cases | 14825 |
Minimum | 1.0 |
Maximum | 56.0 |
Mean | 24.938 |
Standard deviation | 15.225 |
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.