-
Notifications
You must be signed in to change notification settings - Fork 28
Update FES Oct 2025.sps #200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@odai-saleh for your review!
| ***Converting system missing of the food expenditure to 0 | ||
|
|
||
| recode HHExpFCer_Purch_MN_7D HHExpFCer_GiftAid_MN_7D HHExpFCer_Own_MN_7D HHExpFTub_Purch_MN_7D HHExpFTub_GiftAid_MN_7D HHExpFTub_Own_MN_7D HHExpFPuls_Purch_MN_7D | ||
| HHExpFPuls_GiftAid_MN_7D HHExpFPuls_Own_MN_7D HHExpFVeg_Purch_MN_7D HHExpFVeg_GiftAid_MN_7D HHExpFVeg_Own_MN_7D HHExpFFrt_Purch_MN_7D HHExpFFrt_GiftAid_MN_7D HHExpFFrt_Own_MN_7D | ||
| HHExpFAnimMeat_Purch_MN_7D HHExpFAnimMeat_GiftAid_MN_7D HHExpFAnimMeat_Own_MN_7D HHExpFAnimFish_Purch_MN_7D HHExpFAnimFish_GiftAid_MN_7D HHExpFAnimFish_Own_MN_7D HHExpFFats_Purch_MN_7D | ||
| HHExpFFats_GiftAid_MN_7D HHExpFFats_Own_MN_7D HHExpFDairy_Purch_MN_7D HHExpFDairy_GiftAid_MN_7D HHExpFDairy_Own_MN_7D HHExpFEgg_Purch_MN_7D HHExpFEgg_GiftAid_MN_7D HHExpFEgg_Own_MN_7D | ||
| HHExpFSgr_Purch_MN_7D HHExpFSgr_GiftAid_MN_7D HHExpFSgr_Own_MN_7D HHExpFCond_Purch_MN_7D HHExpFCond_GiftAid_MN_7D HHExpFCond_Own_MN_7D HHExpFBev_Purch_MN_7D HHExpFBev_GiftAid_MN_7D | ||
| HHExpFBev_Own_MN_7D HHExpFOut_Purch_MN_7D HHExpFOut_GiftAid_MN_7D HHExpFOut_Own_MN_7D (sysmis=0). | ||
| execute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing data replacement could be handled separately.
|
|
||
| FREQUENCIES VARIABLES= HHExpFCer_Purch_MN_7D HHExpFCer_GiftAid_MN_7D HHExpFCer_Own_MN_7D HHExpFTub_Purch_MN_7D HHExpFTub_GiftAid_MN_7D HHExpFTub_Own_MN_7D HHExpFPuls_Purch_MN_7D | ||
| HHExpFPuls_GiftAid_MN_7D HHExpFPuls_Own_MN_7D HHExpFVeg_Purch_MN_7D HHExpFVeg_GiftAid_MN_7D HHExpFVeg_Own_MN_7D HHExpFFrt_Purch_MN_7D HHExpFFrt_GiftAid_MN_7D HHExpFFrt_Own_MN_7D | ||
| HHExpFAnimMeat_Purch_MN_7D HHExpFAnimMeat_GiftAid_MN_7D HHExpFAnimMeat_Own_MN_7D HHExpFAnimFish_Purch_MN_7D HHExpFAnimFish_GiftAid_MN_7D HHExpFAnimFish_Own_MN_7D HHExpFFats_Purch_MN_7D | ||
| HHExpFFats_GiftAid_MN_7D HHExpFFats_Own_MN_7D HHExpFDairy_Purch_MN_7D HHExpFDairy_GiftAid_MN_7D HHExpFDairy_Own_MN_7D HHExpFEgg_Purch_MN_7D HHExpFEgg_GiftAid_MN_7D HHExpFEgg_Own_MN_7D | ||
| HHExpFSgr_Purch_MN_7D HHExpFSgr_GiftAid_MN_7D HHExpFSgr_Own_MN_7D HHExpFCond_Purch_MN_7D HHExpFCond_GiftAid_MN_7D HHExpFCond_Own_MN_7D HHExpFBev_Purch_MN_7D HHExpFBev_GiftAid_MN_7D | ||
| HHExpFBev_Own_MN_7D HHExpFOut_Purch_MN_7D HHExpFOut_GiftAid_MN_7D HHExpFOut_Own_MN_7D | ||
| /FORMAT=NOTABLE | ||
| /STATISTICS=MINIMUM MAXIMUM MEAN. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outlier detection could be applied in logic/statistical cleaning.
| *** Calculate total monthly value of food expenditures/consumption by source | ||
|
|
||
| *** This syntax uses the recommended standard recall period of 7 days. If your CO has selected the 1 month recall period, ensure you adjust the below accordingly | ||
|
|
||
| *** Calculate monthly food expenditures in cash/credit | ||
|
|
||
| COMPUTE HHExp_Food_Purch_MN_1M = HHExpFCer_Purch_MN_7D + HHExpFTub_Purch_MN_7D + HHExpFPuls_Purch_MN_7D + HHExpFVeg_Purch_MN_7D + HHExpFFrt_Purch_MN_7D + HHExpFAnimMeat_Purch_MN_7D + | ||
| HHExpFAnimFish_Purch_MN_7D + HHExpFFats_Purch_MN_7D + HHExpFDairy_Purch_MN_7D + HHExpFEgg_Purch_MN_7D + HHExpFSgr_Purch_MN_7D + HHExpFCond_Purch_MN_7D + HHExpFBev_Purch_MN_7D + HHExpFOut_Purch_MN_7D. | ||
| COMPUTE HHExp_Food_Purch_MN_1M=HHExp_Food_Purch_MN_1M*(30/7). | ||
| VARIABLE LABELS HHExp_Food_Purch_MN_1M “Total monthly food expenditure (cash and credit)”. | ||
| EXECUTE. | ||
|
|
||
| *** Calculate monthly value of consumed food from gift/aid | ||
|
|
||
| COMPUTE HHExp_Food_GiftAid_MN_1M = HHExpFCer_GiftAid_MN_7D + HHExpFTub_GiftAid_MN_7D + HHExpFPuls_GiftAid_MN_7D + HHExpFVeg_GiftAid_MN_7D + HHExpFFrt_GiftAid_MN_7D + HHExpFAnimMeat_GiftAid_MN_7D + | ||
| HHExpFAnimFish_GiftAid_MN_7D + HHExpFFats_GiftAid_MN_7D + HHExpFDairy_GiftAid_MN_7D + HHExpFEgg_GiftAid_MN_7D + HHExpFSgr_GiftAid_MN_7D + HHExpFCond_GiftAid_MN_7D + HHExpFBev_GiftAid_MN_7D + HHExpFOut_GiftAid_MN_7D. | ||
| COMPUTE HHExp_Food_GiftAid_MN_1M=HHExp_Food_GiftAid_MN_1M*(30/7). | ||
| VARIABLE LABELS HHExp_Food_GiftAid_MN_1M 'Total monthly food consumption from gifts/aid'. | ||
| EXECUTE. | ||
|
|
||
| *** Calculate monthly value of consumed food from own production | ||
|
|
||
| COMPUTE HHExp_Food_Own_MN_1M = HHExpFCer_Own_MN_7D + HHExpFTub_Own_MN_7D + HHExpFPuls_Own_MN_7D + HHExpFVeg_Own_MN_7D + HHExpFFrt_Own_MN_7D + HHExpFAnimMeat_Own_MN_7D + | ||
| HHExpFAnimFish_Own_MN_7D + HHExpFFats_Own_MN_7D + HHExpFDairy_Own_MN_7D + HHExpFEgg_Own_MN_7D + HHExpFSgr_Own_MN_7D + HHExpFCond_Own_MN_7D + HHExpFBev_Own_MN_7D + HHExpFOut_Own_MN_7D. | ||
| COMPUTE HHExp_Food_Own_MN_1M=HHExp_Food_Own_MN_1M*(30/7). | ||
| VARIABLE LABELS HHExp_Food_Own_MN_1M “Total monthly food consumption from own production”. | ||
| EXECUTE. | ||
|
|
||
| *** Label non-food variables, 1 month recall | ||
|
|
||
| VARIABLE LABELS | ||
| HHExpNFHyg_Purch_MN_1M 'Expenditures on hygiene' | ||
| HHExpNFHyg_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - hygiene' | ||
| HHExpNFTransp_Purch_MN_1M 'Expenditures on transport' | ||
| HHExpNFTransp_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - transport' | ||
| HHExpNFFuel_Purch_MN_1M 'Expenditures on fuel' | ||
| HHExpNFFuel_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - fuel' | ||
| HHExpNFWat_Purch_MN_1M 'Expenditures on water' | ||
| HHExpNFWat_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - water' | ||
| HHExpNFElec_Purch_MN_1M 'Expenditures on electricity' | ||
| HHExpNFElec_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - electricity' | ||
| HHExpNFEnerg_Purch_MN_1M 'Expenditures on energy (not electricity)' | ||
| HHExpNFEnerg_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - energy (not electricity)' | ||
| HHExpNFDwelSer_Purch_MN_1M 'Expenditures on services related to dwelling' | ||
| HHExpNFDwelSer_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - services related to dwelling' | ||
| HHExpNFPhone_Purch_MN_1M 'Expenditures on communication' | ||
| HHExpNFPhone_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - communication' | ||
| HHExpNFRecr_Purch_MN_1M 'Expenditures on recreation' | ||
| HHExpNFRecr_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - recreation' | ||
| HHExpNFAlcTobac_Purch_MN_1M 'Expenditures on alchol/tobacco' | ||
| HHExpNFAlcTobac_GiftAid_MN_1M 'Value of consumed in-kind assistance-gifts - alchol/tobacco'. | ||
| EXECUTE. | ||
| * If the questionnaire included further non-food categories/items label the respective variables | ||
|
|
||
| *6 months recall period - variables lables. | ||
| HHExpNFHyg_Purch_MN_1M ‘Monthly expenditures on hygiene’ | ||
| HHExpNFHyg_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - hygiene’ | ||
| HHExpNFTransp_Purch_MN_1M ‘Monthly expenditures on transport’ | ||
| HHExpNFTransp_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - transport’ | ||
| HHExpNFFuel_Purch_MN_1M ‘Monthly expenditures on fuel’ | ||
| HHExpNFFuel_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - fuel’ | ||
| HHExpNFWat_Purch_MN_1M ‘Monthly expenditures on water’ | ||
| HHExpNFWat_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - water’ | ||
| HHExpNFElec_Purch_MN_1M ‘Monthly expenditures on electricity’ | ||
| HHExpNFElec_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - electricity’ | ||
| HHExpNFEnerg_Purch_MN_1M ‘Monthly expenditures on energy (not electricity)’ | ||
| HHExpNFEnerg_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - energy (not electricity)’ | ||
| HHExpNFDwelSer_Purch_MN_1M ‘Monthly expenditures on services related to dwelling’ | ||
| HHExpNFDwelSer_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - services related to dwelling’ | ||
| HHExpNFPhone_Purch_MN_1M ‘Monthly expenditures on communication’ | ||
| HHExpNFPhone_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - communication’ | ||
| HHExpNFRecr_Purch_MN_1M ‘Monthly expenditures on recreation’ | ||
| HHExpNFRecr_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - recreation’ | ||
| HHExpNFAlcTobac_Purch_MN_1M ‘Monthly expenditures on alcohol or tobacco’ | ||
| HHExpNFAlcTobac_GiftAid_MN_1M ‘Monthly value of consumed in-kind assistance and gifts - alcohol or tobacco’. | ||
| EXECUTE. | ||
|
|
||
| ***Converting system missing of the non-food expenditure to 0 | ||
|
|
||
| recode HHExpNFHyg_Purch_MN_1M HHExpNFHyg_GiftAid_MN_1M HHExpNFTransp_Purch_MN_1M HHExpNFTransp_Purch_MN_1M HHExpNFTransp_GiftAid_MN_1M | ||
| HHExpNFFuel_Purch_MN_1M HHExpNFFuel_GiftAid_MN_1M HHExpNFWat_Purch_MN_1M HHExpNFWat_GiftAid_MN_1M HHExpNFElec_Purch_MN_1M HHExpNFElec_GiftAid_MN_1M | ||
| HHExpNFEnerg_Purch_MN_1M HHExpNFEnerg_GiftAid_MN_1M HHExpNFDwelSer_Purch_MN_1M HHExpNFDwelSer_GiftAid_MN_1M HHExpNFPhone_Purch_MN_1M | ||
| HHExpNFPhone_GiftAid_MN_1M HHExpNFRecr_Purch_MN_1M HHExpNFRecr_GiftAid_MN_1M HHExpNFAlcTobac_Purch_MN_1M HHExpNFAlcTobac_GiftAid_MN_1M (sysmis=0). | ||
| execute. | ||
|
|
||
| *** If the questionnaire included other short-term non-food categories, label the respective variables and add them to the calculations below | ||
|
|
||
| *** Label non-food variables, 6 months recall | ||
|
|
||
| VARIABLE LABELS | ||
| HHExpNFMedServ_Purch_MN_6M 'Expenditures on health services' | ||
| HHExpNFMedServ_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - health services' | ||
| HHExpNFMedGood_Purch_MN_6M 'Expenditures on medicines and health products' | ||
| HHExpNFMedGood_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - medicines and health products' | ||
| HHExpNFCloth_Purch_MN_6M 'Expenditures on clothing and footwear' | ||
| HHExpNFCloth_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - clothing and footwear' | ||
| HHExpNFEduFee_Purch_MN_6M 'Expenditures on education services' | ||
| HHExpNFEduFee_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - education services' | ||
| HHExpNFEduGood_Purch_MN_6M 'Expenditures on education goods' | ||
| HHExpNFEduGood_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - education goods' | ||
| HHExpNFRent_Purch_MN_6M 'Expenditures on rent' | ||
| HHExpNFRent_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - rent' | ||
| HHExpNFHHSoft_Purch_MN_6M 'Expenditures on non-durable furniture/utensils' | ||
| HHExpNFHHSoft_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - non-durable furniture/utensils' | ||
| HHExpNFHHMaint_Purch_MN_6M 'Expenditures on household routine maintenance' | ||
| HHExpNFHHMaint_GiftAid_MN_6M 'Value of consumed in-kind assistance-gifts - household routine maintenance'. | ||
| HHExpNFMedServ_Purch_MN_6M ‘Expenditures on health services in the past 6 months’ | ||
| HHExpNFMedServ_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - health services in the past 6 months’ | ||
| HHExpNFMedGood_Purch_MN_6M ‘Expenditures on medicines and health products in the past 6 months’ | ||
| HHExpNFMedGood_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - medicines and health products in the past 6 months’ | ||
| HHExpNFCloth_Purch_MN_6M ‘Expenditures on clothing and footwear in the past 6 months’ | ||
| HHExpNFCloth_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - clothing and footwear in the past 6 months’ | ||
| HHExpNFEduFee_Purch_MN_6M ‘Expenditures on education services in the past 6 months’ | ||
| HHExpNFEduFee_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - education services in the past 6 months’ | ||
| HHExpNFEduGood_Purch_MN_6M ‘Expenditures on education goods in the past 6 months’ | ||
| HHExpNFEduGood_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - education goods in the past 6 months’ | ||
| HHExpNFRent_Purch_MN_6M ‘Expenditures on rent in the past 6 months’ | ||
| HHExpNFRent_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - rent in the past 6 months’ | ||
| HHExpNFHHSoft_Purch_MN_6M ‘Expenditures on non-durable furniture or utensils in the past 6 months’ | ||
| HHExpNFHHSoft_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - non-durable furniture or utensils in the past 6 months’ | ||
| HHExpNFHHMaint_Purch_MN_6M ‘Expenditures on household routine maintenance in the past 6 months’ | ||
| HHExpNFHHMaint_GiftAid_MN_6M ‘Value of consumed in-kind assistance and gifts - household routine maintenance in the past 6 months’. | ||
| EXECUTE. | ||
| * If the questionnaire included further non-food categories/items label the respective variables. | ||
|
|
||
| *** 2.b Calculate total value of non-food expenditures/consumption by source | ||
|
|
||
| ** Total non-food expenditure (cash/credit) | ||
| ***Converting system missing of the 6 month expediture of non-food items to 0 | ||
|
|
||
| recode HHExpNFMedServ_Purch_MN_6M HHExpNFMedServ_GiftAid_MN_6M HHExpNFMedGood_Purch_MN_6M HHExpNFMedGood_GiftAid_MN_6M HHExpNFCloth_Purch_MN_6M | ||
| HHExpNFCloth_Purch_MN_6M HHExpNFCloth_GiftAid_MN_6M HHExpNFEduFee_Purch_MN_6M HHExpNFEduFee_GiftAid_MN_6M HHExpNFEduGood_Purch_MN_6M | ||
| HHExpNFEduGood_GiftAid_MN_6M HHExpNFRent_Purch_MN_6M HHExpNFRent_GiftAid_MN_6M HHExpNFHHSoft_Purch_MN_6M HHExpNFHHSoft_GiftAid_MN_6M | ||
| HHExpNFHHMaint_Purch_MN_6M HHExpNFHHMaint_GiftAid_MN_6M (sysmis=0). | ||
| execute. | ||
|
|
||
|
|
||
| *** If the questionnaire included other long-term non-food categories, label the respective variables and add them to the calculations below | ||
|
|
||
| *** Calculate total monthly non-food expenditures purchased with cash or credit | ||
|
|
||
| * 30 days recall. | ||
| COMPUTE HHExpNFTotal_Purch_MN_30D=SUM(HHExpNFHyg_Purch_MN_1M, HHExpNFTransp_Purch_MN_1M, HHExpNFFuel_Purch_MN_1M, + | ||
| HHExpNFWat_Purch_MN_1M, HHExpNFElec_Purch_MN_1M, HHExpNFEnerg_Purch_MN_1M, HHExpNFDwelSer_Purch_MN_1M, HHExpNFPhone_Purch_MN_1M, HHExpNFRecr_Purch_MN_1M, HHExpNFAlcTobac_Purch_MN_1M). | ||
| *** Short-term non-food expenditures, 1 month recall (cash/credit) | ||
|
|
||
|
|
||
| COMPUTE HHExpNFTotal_Purch_MN_30D = HHExpNFHyg_Purch_MN_1M + HHExpNFTransp_Purch_MN_1M + HHExpNFFuel_Purch_MN_1M + HHExpNFWat_Purch_MN_1M + HHExpNFElec_Purch_MN_1M + HHExpNFEnerg_Purch_MN_1M + | ||
| HHExpNFDwelSer_Purch_MN_1M + HHExpNFPhone_Purch_MN_1M + HHExpNFRecr_Purch_MN_1M + HHExpNFAlcTobac_Purch_MN_1M. | ||
| EXECUTE. | ||
|
|
||
| * 6 months recall. | ||
| COMPUTE HHExpNFTotal_Purch_MN_6M=SUM(HHExpNFMedServ_Purch_MN_6M, HHExpNFMedGood_Purch_MN_6M, HHExpNFCloth_Purch_MN_6M, + | ||
| HHExpNFEduFee_Purch_MN_6M, HHExpNFEduGood_Purch_MN_6M, HHExpNFRent_Purch_MN_6M, HHExpNFHHSoft_Purch_MN_6M, HHExpNFHHMaint_Purch_MN_6M). /* careful with rent: should include only if also incuded in MEB. | ||
| *** Long-term non-food expenditures, 6 month recall (cash/credit) | ||
|
|
||
| COMPUTE HHExpNFTotal_Purch_MN_6M = HHExpNFMedServ_Purch_MN_6M + HHExpNFMedGood_Purch_MN_6M + HHExpNFCloth_Purch_MN_6M + HHExpNFEduFee_Purch_MN_6M + HHExpNFEduGood_Purch_MN_6M + | ||
| HHExpNFRent_Purch_MN_6M + HHExpNFHHSoft_Purch_MN_6M + HHExpNFHHMaint_Purch_MN_6M. /* careful with rent: should include only if also incuded in MEB.***************************************************************************************** | ||
| EXECUTE. | ||
|
|
||
| * Express 6 months in monthly terms. | ||
| *** Convert long-term expenditures to monthly average (cash/credit) | ||
|
|
||
| COMPUTE HHExpNFTotal_Purch_MN_6M=HHExpNFTotal_Purch_MN_6M/6. | ||
| EXECUTE. | ||
|
|
||
| * Sum. | ||
| COMPUTE HHExpNFTotal_Purch_MN_1M=SUM(HHExpNFTotal_Purch_MN_30D, HHExpNFTotal_Purch_MN_6M). | ||
| EXECUTE. | ||
| VARIABLE LABELS HHExpNFTotal_Purch_MN_1M 'Total monthly non-food expenditure (cash and credit)'. | ||
| *** Calculate the total monthly non-food expenditures (cash/credit) | ||
|
|
||
| delete variables HHExpNFTotal_Purch_MN_6M HHExpNFTotal_Purch_MN_30D. | ||
| COMPUTE HHExpNFTotal_Purch_MN_1M = HHExpNFTotal_Purch_MN_30D + HHExpNFTotal_Purch_MN_6M. | ||
| VARIABLE LABELS HHExpNFTotal_Purch_MN_1M “Total monthly non-food expenditure (cash and credit)”. | ||
| EXECUTE. | ||
|
|
||
| ** Total value of consumed non-food from gift/aid | ||
| *** Delete variables no longer needed (cash/credit) | ||
|
|
||
| * 30 days recall. | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_30D=SUM(HHExpNFHyg_GiftAid_MN_1M, HHExpNFTransp_GiftAid_MN_1M, HHExpNFFuel_GiftAid_MN_1M,+ | ||
| HHExpNFWat_GiftAid_MN_1M, HHExpNFElec_GiftAid_MN_1M, HHExpNFEnerg_GiftAid_MN_1M, HHExpNFDwelSer_GiftAid_MN_1M, HHExpNFPhone_GiftAid_MN_1M, HHExpNFRecr_GiftAid_MN_1M, HHExpNFAlcTobac_GiftAid_MN_1M). | ||
| DELETE VARIABLES HHExpNFTotal_Purch_MN_6M HHExpNFTotal_Purch_MN_30D. | ||
| EXECUTE. | ||
|
|
||
| * 6 months recall. | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_6M=SUM(HHExpNFMedServ_GiftAid_MN_6M, HHExpNFMedGood_GiftAid_MN_6M, HHExpNFCloth_GiftAid_MN_6M, + | ||
| HHExpNFEduFee_GiftAid_MN_6M, HHExpNFEduGood_GiftAid_MN_6M, HHExpNFRent_GiftAid_MN_6M, HHExpNFHHSoft_GiftAid_MN_6M, HHExpNFHHMaint_GiftAid_MN_6M). /* careful with rent: should include only if also incuded in MEB. | ||
| *** Calculate the total monthly value of used/consumed non-food recieved as gifts and/or aid | ||
|
|
||
| *** Short-term non-food expenditures, 1 month recall (gifts and/or aid) | ||
|
|
||
| COMPUTE HHExpNFTotal_GiftAid_MN_30D = HHExpNFHyg_GiftAid_MN_1M + HHExpNFTransp_GiftAid_MN_1M + HHExpNFFuel_GiftAid_MN_1M + HHExpNFWat_GiftAid_MN_1M + HHExpNFElec_GiftAid_MN_1M + | ||
| HHExpNFEnerg_GiftAid_MN_1M + HHExpNFDwelSer_GiftAid_MN_1M + HHExpNFPhone_GiftAid_MN_1M + HHExpNFRecr_GiftAid_MN_1M + HHExpNFAlcTobac_GiftAid_MN_1M. | ||
| EXECUTE. | ||
|
|
||
| * Express 6 months in monthly terms. | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_6M=HHExpNFTotal_GiftAid_MN_6M/6. | ||
| *** Long-term non-food expenditures, 6 month recall (gifts and/or aid) | ||
|
|
||
| COMPUTE HHExpNFTotal_GiftAid_MN_6M = HHExpNFMedServ_GiftAid_MN_6M + HHExpNFMedGood_GiftAid_MN_6M + HHExpNFCloth_GiftAid_MN_6M + HHExpNFEduFee_GiftAid_MN_6M + HHExpNFEduGood_GiftAid_MN_6M + | ||
| HHExpNFRent_GiftAid_MN_6M + HHExpNFHHSoft_GiftAid_MN_6M + HHExpNFHHMaint_GiftAid_MN_6M. /* careful with rent: should include only if also incuded in MEB. | ||
| EXECUTE. | ||
|
|
||
| * Sum. | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_1M=SUM(HHExpNFTotal_GiftAid_MN_30D, HHExpNFTotal_GiftAid_MN_6M). | ||
| VARIABLE LABELS HHExpNFTotal_GiftAid_MN_1M 'Total monthly non-food consumption from gifts/aid'. | ||
| EXECUTE. | ||
| *** Convert long-term expenditures to monthly averages (gifts and/or aid) | ||
|
|
||
| delete variables HHExpNFTotal_GiftAid_MN_6M HHExpNFTotal_GiftAid_MN_30D. | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_6M=HHExpNFTotal_GiftAid_MN_6M/6. | ||
| EXECUTE. | ||
|
|
||
| *-------------------------------------------------------------------------------* | ||
| *3.Calculate total food and non-food consumption expenditures | ||
| *-------------------------------------------------------------------------------* | ||
| *** Calculate the total monthly non-food expenditures (gifts and/or aid) | ||
|
|
||
| * Aggregate food expenditures, value of consumed food from gifts/assistance, and value of consumed food from own production. | ||
| COMPUTE HHExpF_1M=SUM(HHExp_Food_Purch_MN_1M,HHExp_Food_GiftAid_MN_1M, HHExp_Food_Own_MN_1M). | ||
| COMPUTE HHExpNFTotal_GiftAid_MN_1M = HHExpNFTotal_GiftAid_MN_30D + HHExpNFTotal_GiftAid_MN_6M. | ||
| VARIABLE LABELS HHExpNFTotal_GiftAid_MN_1M 'Total monthly non-food consumption from gifts/aid'. | ||
| EXECUTE. | ||
|
|
||
| *Aggregate NF expenditures and value of consumed non-food from gifts/assistance. | ||
| COMPUTE HHExpNF_1M=SUM(HHExpNFTotal_Purch_MN_1M, HHExpNFTotal_GiftAid_MN_1M). | ||
| DELETE VARIABLES HHExpNFTotal_GiftAid_MN_6M HHExpNFTotal_GiftAid_MN_30D. | ||
| EXECUTE. | ||
|
|
||
| *-------------------------------------------------------------------------------* | ||
| *4.Compute FES | ||
| *-------------------------------------------------------------------------------* | ||
|
|
||
| COMPUTE FES= HHExpF_1M /SUM(HHExpF_1M , HHExpNF_1M). | ||
| *** Calculate total food and non-food consumption expenditures | ||
|
|
||
| *** Calculate total food expenditures from cash/credit expenditure, value of consumed gifts/aid and value of consumed food from own production | ||
|
|
||
| COMPUTE HHExpF_1M = HHExp_Food_Purch_MN_1M + HHExp_Food_GiftAid_MN_1M + HHExp_Food_Own_MN_1M. | ||
| EXECUTE. | ||
|
|
||
| VARIABLE LABELS FES 'Household food expenditure share'. | ||
| *** Calculate total non-food expenditures from cash/credit and value of utlized/consumed non-food items received as gifts/aid | ||
|
|
||
| COMPUTE HHExpNF_1M = HHExpNFTotal_Purch_MN_1M + HHExpNFTotal_GiftAid_MN_1M. | ||
| EXECUTE. | ||
|
|
||
| RECODE FES (Lowest thru .4999999=1) (.50 thru .64999999=2) (.65 thru .74999999=3) (.75 thru Highest=4) | ||
| into Foodexp_4pt. | ||
| *** Calculate the total monthly expenditures for the household | ||
|
|
||
| COMPUTE HHExp_1M = HHExpF_1M + HHExpNF_1M. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overlaps with ECMEN/MEB procedure
| *** Check total monthly expenditures - are they realistic for your context or are they indicating that more cleaning is needed. This could be outliers (very high and/or very low expenditures for a household), scewed results including | ||
| very high non-food expenditures with very low food expenditures etc. | ||
|
|
||
| Value labels Foodexp_4pt 1 '<50%' 2 '50-65%' 3 '65-75%' 4' > 75%'. | ||
| *** Before deciding on cleaning, it is recommended to calculate per capita expenditures to take into account the household size | ||
|
|
||
| FREQUENCIES HHExpF_1M HHExpNF_1M HHExp_1M. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potentially to be delegated to statistical cleaning step.
No description provided.