Giter Site home page Giter Site logo

dhs-indicators-stata's People

Contributors

aliroroicf avatar courtneykirsten avatar rachaelchurch avatar shireen122 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dhs-indicators-stata's Issues

DHS Code for merging GPS and survey data

Hello everyone,

does someone know where I could find a R or Stata code (or maybe any other guideline with e.g. QGIS) that gives me direction on how to merge the GPS data with the individual survey data?

thank you.

Error: Step 6--Output results in various ways for contraceptive discontinuation rates

Dear Programmers
This forum is really helpful and provided great help. Many Many thanks for this open-source platform.

I have two questions regarding Contraceptive Discontinuation Rates.

  1. When I have run the step 6 of the discontinuation rate,

line 394 putexcel B3:Jrow', nformat(number_d2) line 395 putexcel K3:Lrow', nformat(number)

     putexcel B3:J`row', nformat(number_d2)

option nformat() not allowed
r(198);

Please help me on how to handle this.

2). I also want to calculate the discontinuation rates by background characteristics, such as subnational level, education or wealth status.
I have tried a very simple way as to:
keep if v101==1, for subnational level
keep if v106==1, for no education, etc.

Is there any systematic way to calculate rates by showing al labels at once.

Thank you, Asi

underweight status as per the child's living arrangements

Hello, I want to calculate the underweight status as per the child's living arrangements. can anyone please help me to match this with the DHS-India report
gen Child_liv_arr=.
replace Child_liv_arr=1 if hv111==1 & hv113==1 & (hv102 == 1 & hv105 < 18)
replace Child_liv_arr=2 if hv111==1 & hv113==0 & (hv102 == 1 & hv105 < 18)
replace Child_liv_arr=3 if hv111==0 & hv113==1 & (hv102 == 1 & hv105 < 18)
replace Child_liv_arr=4 if hv111==0 & hv113==0 & (hv102 == 0 & hv105 < 18)

label define Child_liv_arr 1"Living both Parents" 2"Living with Mother (not father)" 3"Living with Father (not mother)" 4"Living with neither parent", replace
label values Child_liv_arr Child_liv_arr
tab Child_liv_arr underweight [iw=wt], r nof

Problem creating even file for Contraception discontinuation rates

Dear Author
It is a great help for the programmers who are currently working on DHS data. I am working with Pakistan latest PDHS 2017-18 data, to calculate the contraception discontinuation rates. When I have used the "IR" to create an event file in STATA, the following error is prompted. Please guide me how to solve this.

local vcal_len = strlen(vcal_`col1'[1])
vcal_ ambiguous abbreviation

Possible wrong risk interval selection?

replace risk`i'=.5 if (age_int_at_death>`i' | age_at_death==.) & dob+end_`i'>=start_month & dob+start_`i'< start_month

replace risk`i'=.5 if (age_int_at_death>`i' | age_at_death==.) & dob+end_`i'> end_month & dob+start_`i'<=end_month

I cannot figure out why these two lines have "age_int_at_death>`i'" rather than "age_int_at_death>=`i'"

Is this correct?

Data Input Anaemia - Men

Hello,

Thank you for these useful codes. I noticed in chapter 11 the code says the data input for anaemia among men is from the MR file. However, I have checked the MR files of several countries and the variables for measuring anaemia is not present, e.g hb56, hv042 and hb55, are absent. The final report for the countries (e.g. Uganda 2016) shows anaemia among men was measured.

Can you verify if indeed the input data is MR or should be the PR file?

Thank you.

DHS Discontinuation rate

Hello, I am working on Discontinuation rate for India and running the whole code provided by DHS. While running the code I am getting the error variable V4 not found. Please help regrading this.

errors in specifying the dataset for coding anemia and bmi among men

Hello,

I believe there is an error in the coding under ch13 men nutrition. When you specify

//Any anemia
gen nt_mn_any_anem=0
replace nt_mn_any_anem=1 if hb56<130
replace nt_mn_any_anem=. if hv103==0 | hv042!=1 | hb55!=0
label values nt_mn_any_anem yesno
label var nt_mn_any_anem "Any anemia - men"

using the MR data, state indicates the hb56 does not exist. To verify I check the MR data and it does not exist.

One plausible reason is that anaemia information wasn't collected for the countries I am working with or discontinued in the most current DHS for countries in SSA.

Please verify and put a note to warn or explain this issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.