Evaluation of the gap between total monetary expenditures and total monetary income Source: Household Survey Georgia List of command P. Castel IN Individual file (with data on occupation of each member of the household) mark the hh that have a member in each WAGE EMPLOYEMENT sector. B3 indicates the wage employment sector uid is the number of the hh for a particular quarter {com}. egen BB1=sum (B3==1), by(uid) {txt} {com}. egen BB2=sum (B3==2), by(uid) {txt} {com}. egen BB3=sum (B3==3), by(uid) {txt} {com}. egen BB4=sum (B3==4), by(uid) {txt} {com}. egen BB5=sum (B3==5), by(uid) {txt} {com}. egen BB6=sum (B3==6), by(uid) {txt} {com}. egen BB7=sum (B3==7), by(uid) {txt} {com}. egen BB8=sum (B3==8), by(uid) {txt} {com}. egen BB9=sum (B3==9), by(uid) {txt} {com}. egen BB10=sum (B3==10), by(uid) {txt} {com}. egen BB11=sum (B3==11), by(uid) {txt} {com}. egen BB12=sum (B3==12), by(uid) {txt} {com}. egen BB14=sum (B3==13), by(uid) {txt} {com}. egen BB14=sum (B3==14), by(uid) {txt} {com}. egen BB15=sum (B3==15), by(uid) {txt} {com}. egen BB16=sum (B3==16), by(uid) {txt} {com}. save "P:\GEORGIA\PREM\Poverty-update\1CP\data\all-data\IND.dta", replace {txt}file P:\GEORGIA\PREM\Poverty-update\1CP\data\all-data\IND.dta saved {com}. sort uid {txt} {com}. collapse BB1 BB2 BB3 BB4 BB5 BB6 BB7 BB8 BB9 BB10 BB11 BB12 BB13 BB14 BB15 BB16 quartno regno urbanorr weights, by(uid) {txt} save in temp.dta in Household file (with data only at the level of the household) {com}. merge uid using P:\GEORGIA\PREM\Poverty-update\1CP\data\all-data\temp.dta {txt} Gap = fuladixa-fuladisa fuladixa= total monetary expenditures fuladisa= total monetary income Gap = not reported income {com}. table quartno if BB1>=1 & BB1!=. [iw=weights], c(mean Gap) give the average gap per household that has at least a member employed in sector 1 done for all sectors. ADDING SELF-EMPLOYED IN Individual file (with data on occupation of each member of the household) mark the hh that have a member in each sector. {com}. gen C3=B3 b3 indicates the workers' wage employment sector {com}. replace C3=c3_old if B3==. c3_old indicates self-employed sector {com}. replace C3=c3_old if weinctot=1 & C3!=. [iw=weights], c(mean Gap mean inc mean fuladisa mean fuladixa) Gap = fuladixa-fuladisa hh total monetary expenditures - total monetary income inc = wage and self-employed hh income (excl. agr) quartno mean(Gap) mean(inc) mean(fuladisa) mean(fuladixa) 1 {c |} {res}95.96822 57.88058 106.8566 202.8249 {txt}2 {c |} {res}73.75124 62.88428 119.3702 193.1215 {txt}3 {c |} {res}90.52765 60.23005 104.6174 195.145 {txt}4 {c |} {res}85.19223 65.87598 100.8459 186.0381 {txt}5 {c |} {res}75.81876 66.43712 104.8017 180.6205 {txt}6 {c |} {res}97.38256 74.38725 127.0831 224.4657 {txt}7 {c |} {res}70.46142 73.51774 125.517 195.9785 {txt}8 {c |} {res}53.89624 75.11636 139.7281 193.5891 {txt}9 {c |} {res}32.18465 75.99636 152.9631 185.1477 {txt}10 {c |} {res}62.35899 66.55569 130.0779 191.1946 {txt}11 {c |} {res}60.57525 68.92979 142.2739 203.1561 {txt}12 {c |} {res}67.62524 64.11164 131.8202 199.4454 {txt}13 {c |} {res}58.94275 67.4612 134.0936 193.0864 {txt}14 {c |} {res}83.99374 74.3076 148.9083 232.9021 {txt}15 {c |} {res}98.92775 68.92461 136.0107 234.9831 {txt}16 {c |} {res}72.89831 76.58041 149.1094 222.0077 {txt}17 {c |} {res}71.00029 79.04671 142.9139 213.9615 {txt}18 {c |} {res}88.74461 80.51549 159.9705 248.7152