Re: Malawi SPA variables about number of providers [message #23179 is a reply to message #23157] |
Tue, 27 July 2021 08:55 |
Bridgette-DHS
Messages: 3219 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS SPA Specialist, Rajendra Dangol:
Following is the CsPro logic on how we created these variables. Actually, these variables are coming from the provider level to facility-level file after counting the providers and transferred x2002a as z2002a, x2002b as z2002b and so on. Hope this helps.
superv=(P801 in 1,2);
if modtmpfp or sterfp then
if P400=1 then
x2002a=x2002a+1;
x2002b=x2002b+(count(P403000 where P403=1)>0);
x2002c=x2002c+superv;
x2002d=x2002d+((count(P403000 where P403=1)>0) & superv);
endif;
endif;
|
|
|