lab def pay_received 1 "received payments into an account" 2 "received payments in cash only" 3 "received payments using other methods" 4 "did not receive payments" 5 "dk/ref" lab def pay_made 1 "made payments from account" 2 "made payments in cash only" 3 "made payments using other methods" 4 "did not make payments" 5 "dk/ref" lab def remittances 1 "sent/received through an account" 2 "sent/received through an otc transaction" 3 "sent/received in cash only" 4 "sent/received using other methods" 5 "did not send/receive" 6 "dk/ref" gen receive_wages = 1 if q36bc == 1 // received payments into an account or to a card replace receive_wages = 1 if q36d == 1 // received payments into an account replace receive_wages = 2 if q36a == 1 & receive_wages!=1 // received payments in cash only replace receive_wages = 3 if q34 == 1 & receive_wages!=1&receive_wages!=2 // received payments using other methods replace receive_wages = 4 if q34 == 2 // did not receive payments replace receive_wages = 5 if q34 == 3 | q34 == 4 // dk/ref lab var receive_wages "Payments: wage payments" lab val receive_wages pay_received gen receive_transfers = 1 if q40bc == 1 // received payments into an account or to a card replace receive_transfers = 1 if q40d == 1 // received payments into an account replace receive_transfers = 2 if q40a == 1 & receive_transfers!=1 // received payments in cash only replace receive_transfers = 3 if q39 == 1 & receive_transfers!=1&receive_transfers!= 2 // received payments using other methods replace receive_transfers = 4 if q39 == 2 // did not receive payments replace receive_transfers = 5 if q39 == 3 | q39 == 4 // dk/ref lab var receive_transfers "Payments: government transfers" lab val receive_transfers pay_received gen receive_agriculture = 1 if q44b == 1 // received payments into an account replace receive_agriculture = 1 if q44c == 1 // received payments into an account replace receive_agriculture = 2 if q44a == 1 &receive_agriculture!=1 // received payments in cash only replace receive_agriculture = 3 if q43 == 1 &receive_agriculture!=1&receive_agriculture!=2 // received payments using other methods replace receive_agriculture = 4 if q43 == 2 // did not receive payments replace receive_agriculture = 5 if q43 == 3 | q43 == 4 // dk/ref lab var receive_agriculture "Payments: selling agricultural goods" lab val receive_agriculture pay_received gen pay_utilities = 1 if q31b == 1 // made payments from an account replace pay_utilities = 1 if q31c == 1 // Add from a mobile replace pay_utilities = 2 if q31a == 1 & pay_utilities!=1 // made payments in cash only replace pay_utilities = 3 if q30 == 1 & pay_utilities!=1&pay_utilities!= 2 // made payments payments using other methods replace pay_utilities = 4 if q30 == 2 // did not make payments replace pay_utilities = 5 if q30 == 3 | q30 == 4 // dk/ref lab var pay_utilities "Payments: utility bills" lab val pay_utilities pay_made gen pay_education = 1 if q33b == 1 // made payments from an account replace pay_education = 1 if q33c == 1 // Add from a mobile replace pay_education = 2 if q33a == 1 & pay_education!=1 // made payments in cash only replace pay_education = 3 if q32 == 1 & pay_education!=1&pay_education!= 2 // made payments payments using other methods replace pay_education = 4 if q32 == 2 // did not make payments replace pay_education = 5 if q32 == 3 | q32 == 4 // dk/ref lab var pay_education "Payments: education or school fees" lab val pay_education pay_made gen remittances = 1 if q27b==1&account_fin==1 // acc fin: sent replace remittances = 1 if q27c==1&account_mob==1 // acc mob: sent replace remittances = 1 if q29b==1&account_fin==1 // acc fin: received replace remittances = 1 if q29c==1&account_mob==1 // acc mob: received replace remittances = 2 if q27b==1&account_fin!=1 & remittances != 1 // otc fin: sent replace remittances = 2 if q27c==1&account_mob!=1 & remittances != 1 // otc mob: sent replace remittances = 2 if q29b==1&account_fin!=1 & remittances != 1 // otc fin: received replace remittances = 2 if q29c==1&account_mob!=1 & remittances != 1 // otc mob: received replace remittances = 2 if q27d==1& remittances != 1 // otc mto: sent replace remittances = 2 if q29d==1& remittances != 1 // otc mto: received replace remittances = 3 if q27a==1& remittances != 1 & remittances != 2 // in cash only: sent replace remittances = 3 if q29a==1& remittances != 1 & remittances != 2 // in cash only: received replace remittances = 4 if (q26==1|q28==1) & remittances != 1 & remittances != 2 & remittances != 3 // using other methods replace remittances = 5 if (q26==2&q28==2) // did not send/receive replace remittances = 6 if (q26!=.&q28!=.) & remittances != 1 & remittances != 2 & remittances != 3 & remittances != 4 & remittances != 5 // dk/ref lab var remittances "Domestic remittances" lab val remittances remittances