The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Unmet Need » Results not Matching
Results not Matching [message #15473] Sat, 28 July 2018 06:11 Go to next message
raman.mishra10@gmail.com is currently offline  raman.mishra10@gmail.com
Messages: 2
Registered: April 2018
Location: India
Member
I have used the Stata program to create Revised unmet need variable as described in, Analytical Study 25: Revising Unmet Need for Family Planing by Bradley, Croft, Fishel, and Westoff, 2012, published by ICF International using NFHS-4 (2015-16) India. The percentage of unmet need given in dataset (variable 626a) and my results are not the same.
Thanking You.
Re: Results not Matching [message #15484 is a reply to message #15473] Mon, 30 July 2018 12:47 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 656
Registered: January 2013
Senior Member
There are a few problems in your code:
1) you replaced v222 with v221. v222 is time from last birth to interview, v221 is time from marriage to first birth. v222 is marked as na but this is incorrect and it actually has data. Change this back to v222.
2) you changed m6_1==99 to m6_1==98. This is incorrect and you should leave it as m6_1==99. There are no cases of m6_1==99 in the India data, but that is not a problem.
3) you changed wantedlast==9 to wantedlast==3. This is incorrect too - leave as wantedlast==9. There are no cases of wantedlast==9 in the India data, but that is not a problem.
4) you added in recode sexact .=1 if v528==98. This is not part of the standard and should be removed.
5) you removed replace infec=1 if v215==993, but this is needed for NFHS-4
6) I added the labeling of variable unmet back into the code.
I am attaching a corrected version of your code.
At the end you will see a tab command crosstabbing unmet and v626a for currently married women and you will see that they match exactly.



Re: Results not Matching [message #15488 is a reply to message #15484] Tue, 31 July 2018 04:55 Go to previous message
raman.mishra10@gmail.com is currently offline  raman.mishra10@gmail.com
Messages: 2
Registered: April 2018
Location: India
Member
Thank you very much, Sir, I had tried several times to correct the codes even discussed with some of my friends but couldn't find the mistake. Thanks once again for the correction.
Previous Topic: Unmet need for family planning among unmarried adolescents
Next Topic: demand for FP satisfied - modern methods - calculate indicator
Goto Forum:
  


Current Time: Sun Aug 18 09:54:23 Eastern Daylight Time 2019