The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Unmet Need » Results not Matching
Re: Results not Matching [message #15484 is a reply to message #15473] Mon, 30 July 2018 12:47 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 788
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.



 
Read Message
Read Message
Read Message
Previous Topic: Unmet need for family planning among unmarried adolescents
Next Topic: demand for FP satisfied - modern methods - calculate indicator
Goto Forum:
  


Current Time: Wed Apr 17 21:56:41 Coordinated Universal Time 2024