|
| 1 | +*** ----------------------------------------------------------------------------------------------------------------* |
| 2 | + |
| 3 | +*** WFP Standard Scripts |
| 4 | +*** Consolidated Approach for Reporting Indicators of Food Security (CARI) |
| 5 | +*** CALCULATE CARI using FCS, rCSI, LCS and ECMEN |
| 6 | + |
| 7 | +*** ----------------------------------------------------------------------------------------------------------------* |
| 8 | +/* |
| 9 | +Note that there are two ways to calculate CARI - using ECMEN or FES. This syntax file is for calculating CARI using ECMEN (version excluding assistance). However, please navigate to the script for CARI using FES as relevant. |
| 10 | +Guidance on CARI can be found here: https://www.wfp.org/publications/consolidated-approach-reporting-indicators-food-security-cari-guidelines. |
| 11 | +
|
| 12 | +Note: this syntax file is based on the assumption that the scripts of the various indicators that compose this version of the CARI (FCS, rCSI, LCS-FS, ECMEN) have already been run. |
| 13 | +You can find these scripts here: https://github.com/WFP-VAM/RAMResourcesScripts/tree/main/Indicators. |
| 14 | +The following variables should have been defined before running this file: |
| 15 | + FCSCat21 and/or FCSCat28 |
| 16 | + rCSI |
| 17 | + Max_coping_behaviourFS |
| 18 | + ECMEN_exclAsst |
| 19 | + ECMEN_exclAsst_SMEB. |
| 20 | +*/ |
| 21 | + |
| 22 | + |
| 23 | +*-------------------------------------------------------------------------------* |
| 24 | +* Process FCS for CARI computation |
| 25 | +*-------------------------------------------------------------------------------* |
| 26 | + |
| 27 | +* Create FCS_4pt for CARI calculation. |
| 28 | +recode FCSCat21 (1=4) (2=3) (3=1), generate(FCS_4pt) |
| 29 | +label variable FCS_4pt "4pt FCG" |
| 30 | +label define FCS_4pt 1 "Acceptable" 3 "Borderline" 4 "Poor" |
| 31 | +label values FCS_4pt FCS_4pt |
| 32 | + |
| 33 | +*-------------------------------------------------------------------------------* |
| 34 | +* Combine rCSI with FCS_4pt for CARI calculation (current consumption) |
| 35 | +*-------------------------------------------------------------------------------* |
| 36 | + |
| 37 | +recode FCS_4pt (1=2) if rCSI >= 4 |
| 38 | +label define FCS_4pt_lbl 1 "Acceptable" 2 "Acceptable and rCSI>4" 3 "Borderline" 4 "Poor" |
| 39 | +label values FCS_4pt FCS_4pt_lbl |
| 40 | + |
| 41 | +*-------------------------------------------------------------------------------* |
| 42 | +* Process ECMEN for CARI computation |
| 43 | +*-------------------------------------------------------------------------------* |
| 44 | + |
| 45 | +* Recode ECMEN. |
| 46 | +gen ECMEN_MEB = . |
| 47 | +replace ECMEN_MEB = 1 if ECMEN_exclAsst == 1 |
| 48 | +replace ECMEN_MEB = 2 if ECMEN_exclAsst == 0 & ECMEN_exclAsst_SMEB == 1 |
| 49 | +replace ECMEN_MEB = 3 if ECMEN_exclAsst == 0 & ECMEN_exclAsst_SMEB == 0 |
| 50 | + |
| 51 | +* Recode the `ECMEN_MEB' variable into a 4pt scale for CARI console. |
| 52 | +recode ECMEN_MEB (1=1) (2=3) (3=4), generate(ECMEN_class_4pt) |
| 53 | +label variable ECMEN_class_4pt "ECMEN 4pt" |
| 54 | +label define ECMEN_class_4pt_lbl 1 "Least vulnerable" 3 "Vulnerable" 4 "Highly vulnerable" |
| 55 | +label values ECMEN_class_4pt ECMEN_class_4pt_lbl |
| 56 | + |
| 57 | +*-------------------------------------------------------------------------------* |
| 58 | +* Computation of CARI |
| 59 | +*-------------------------------------------------------------------------------* |
| 60 | + |
| 61 | +egen Mean_coping_capacity_ECMEN = rowmean(Max_coping_behaviourFS ECMEN_class_4pt) |
| 62 | +egen CARI_unrounded_ECMEN = rowmean(FCS_4pt Mean_coping_capacity_ECMEN) |
| 63 | +gen CARI_ECMEN = round(CARI_unrounded_ECMEN) |
| 64 | +label variable CARI_ECMEN "CARI classification (using ECMEN)" |
| 65 | +label define CARI_ECMEN_lbl 1 "Food secure" 2 "Marginally food secure" 3 "Moderately food insecure" 4 "Severely food insecure" |
| 66 | +label values CARI_ECMEN CARI_ECMEN_lbl |
| 67 | + |
| 68 | +tabulate CARI_ECMEN |
| 69 | + |
| 70 | +* Create population distribution table, to explore how the domains interact within the different food security categories |
| 71 | +table ( ECMEN_class_4pt) (FCS_4pt Max_coping_behaviourFS ), statistic(percent, across(Max_coping_behaviourFS)) nototal |
| 72 | + |
| 73 | +*-------------------------------------------------------------------------------* |
| 74 | +* Drop variables that are not needed |
| 75 | +*-------------------------------------------------------------------------------* |
| 76 | + |
| 77 | +drop ECMEN_MEB Mean_coping_capacity_ECMEN CARI_unrounded_ECMEN |
0 commit comments