The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Computing ARI
Re: Computing ARI [message #23725 is a reply to message #23717] Wed, 17 November 2021 13:20 Go to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

Thank you for your question.

I have used the code provided on GitHub in the CH_ARI_FV syntax file and was able to match the final report table 10.5 for the Nigeria and Angola surveys you mention. The code you have used is not exactly correct since you added (h31=2). As indicated in the GitHub code, the code to construct the ARI variable differs if the variable h31c is included or not in the survey. So you need to check for this. If h31c is present, you do not use h31. See: https://github.com/DHSProgram/DHS-Indicators-SPSS/blob/maste r/Chap10_CH/CH_ARI_FV.sps

* if h31c is present and not empty.
do if h31c_included = 1 and b5 <> 0.
compute ch_ari=0.
if h31b=1 & (h31c=1 | h31c=3) ch_ari=1 .
else if h31c_included <> 1 and b5 <> 0.
compute ch_ari=0.
if h31b=1 & (h31=2) ch_ari=1.
end if.

For both these surveys h31c is present so you should have used the first part of the code to construct the ARI variable, i.e.:
do if b5<>0.
compute ch_ari=0.
if h31b=1 & (h31c=1 | h31c=3) ch_ari=1

You also should check the main file for this chapter because you need to see if you should calculate the child's age based on b19 if it is present in the dataset.

Thank you.
Best,

Shireen Assaf
The DHS Program

 
Read Message
Read Message
Previous Topic: How do i find ethnicity data using Uganda DHS 2011
Next Topic: How is sampling done for child development and child diet?
Goto Forum:
  


Current Time: Sun Dec 8 00:34:32 Coordinated Universal Time 2024