Re: Can't get exact match between one regional calculation and reported stunting value [message #18227 is a reply to message #18226] |
Thu, 17 October 2019 14:25 |
dhsLearner
Messages: 4 Registered: October 2019
|
Member |
|
|
Thank you. This was the problem. Wow there are so many fine print notes and variables that go along with them. Definitely need to keep my eyes out for filters like this.
For future reference to other people looking at this forum post, I added hv103 (did child stay in house night before) to my code as follows:
PR2012$stuntedUnderFive<-ifelse(PR2012$hc70>9900|
PR2012$hc1> 59 | PR2012$hv103 =="no", NA, PR2012$stuntedUnderFive)
|
|
|