Re: Stunting Discrepancies with SL Reports [message #23958 is a reply to message #23955] |
Fri, 21 January 2022 08:17 |
Shireen-DHS
Messages: 140 Registered: August 2020 Location: USA
|
Senior Member |
|
|
Hello Amanda,
I am glad you were able to locate your error.
The code I provided however does work. I just ran it for another survey to double check and match the report. I use replace_with_na function by first identifying children above or equal 9996 as 99 and then replace 99 as missing. Using ifelse is another way of course.
Thank you.
Best,
Shireen
|
|
|