wengxyu1030 / MICS6

This is the repository for MICS 6
0 stars 2 forks source link

01 Add control vars and new vars per instructions #63

Closed robin-wang closed 3 years ago

robin-wang commented 3 years ago

TO DO FOR DHS

Child under five both stunted and underweight, i.e.: gen c_stuund = (c_stunted == 1 & c_underweight ==1) ; replace c_stunted == . if c_stunted == . | c_underweight == . ; label var c_sttund “1 if child both stunted and underweight” Child did not receive any vaccinations: gen c_vaczero = (c_measles == 0 & c_polio1 == 0 & c_polio2 == 0 & c_polio3 == 0 & c_bcg == 0 & c_dtp1 == 0 & c_dtp2 == 0 & c_dtp3 == 0) ; forvar c_measles c_polio1 c_polio2 c_polio3 c_bcg c_dtp1 c_dtp2 c_dtp3: replace c_vaczero = . if X == . ; label var c_vaczero “1 if child did not receive any vaccinations”

TO DO FOR MICS6

Ke: religion might be hard since there is different charateristics in the religion and different countries are using different code - religion system

Child under five both stunted and underweight, i.e.: gen c_stuund = (c_stunted == 1 & c_underweight ==1) ; replace c_stunted == . if c_stunted == . | c_underweight == . ; label var c_sttund “1 if child both stunted and underweight” Child did not receive any vaccinations: gen c_vaczero = (c_measles == 0 & c_polio1 == 0 & c_polio2 == 0 & c_polio3 == 0 & c_bcg == 0 & c_dtp1 == 0 & c_dtp2 == 0 & c_dtp3 == 0) ; forvar c_measles c_polio1 c_polio2 c_polio3 c_bcg c_dtp1 c_dtp2 c_dtp3: replace c_vaczero = . if X == . ; label var c_vaczero “1 if child did not receive any vaccinations”

【RW: Corrected Sven's code in programs. DPT. spelling of stuund.】

Ortsang commented 3 years ago

@robin-wang might need to take a look on the religion part. different country is using very differrent country code, some of the country only contains christianity religions .ie. Tonga and some includes also islamic religions.

robin-wang commented 3 years ago

Status: RW looking into religion.

robin-wang commented 3 years ago

We temporarily use hc1a from hh dataset. This is an indicator for head of household, might be less accurate than the [religion] variable. [Religion] is not always available unfortuantely. There is a leap of faith.

robin-wang commented 3 years ago

Variables added for MICS6. Pending test run and code upload.

robin-wang commented 3 years ago

DHS implemented in DHS VII template on 1104. Sven posted response on the existing MICS6 implementation of edits, to-dos are therefore listed in a new issue. Closed.