PROVIDE Project Technical Paper 2005:1
February 2005
Figure 12: Do-file structure of adjustments.do
adjustments.do
Master do-file. Starts by copying ies2000h.dta and ies2000p.dta created by ies2000.do to
thisfolder.This do-file makes various changes to the data before creating tables used for
sub-SAM matrices.
I Merges ies2000p_orig.dta and lfs2000_2_orig.dta to create ieslfsmerge.dta. New variables for factors, labour
I income, activities, gender, age, province, location, race and person-weights are created.
Next, the newly created ieslfsmerge. dta database is ‘cleared up ’, some additional variables created, and demographic variables are carried over to
ies2000h.dta.
ieslfsmerge.do
1 This do-file creates variables for transfers to and from the rest of the world based on SARB 2000 data and IES 2000 data
r on inter-household transfers (which by assumption include transfers to and from the rest of the world). Total domestic
t transfer receipts and payments should also match by definition, hence these levels are re-scaled.
} Undeclared income and under-declared expenditure is added to total income or expenditure and all income
or expenditure categories are scaled upwards, keeping the patterns of income or expenditure constant. A
similar adjustment is also made for “other” income or expenditure.
Creates a scaling factor for the person-level labour income variable, inclabp_new. This variable is scaled
■ up so that it matches the household-level variable inclab. The old version of inclabp_new is saved as
inclabp_old and can also be used if necessary (together with newfact_old and mergeact_old.
C Creates new factor groups, either for use with inclabp_old (newfact_old) or inclabp_new (newfact).
A series of do-files are run to form various household classifications that can be used for the formation of household
groups for the SAM. These include homeland.do (former homelands areas), metro.do (metropolitan areas), nodals.do
(areas earmarkedfor rural development programmes, municipalities.do (district municipalities), and newrhg.do (current
household accounts for SAM).
57
© PROVIDE Project