Distributive Analysis Stata Package
How poor was Burkina Faso in 1994?
If bkf94.dta is saved in the directory c:/data, type the following command to open it:
use "C:\data\bkf94.dta", clear
If lab_bkf94.do is saved in the directory c:/do_files, type the following command to label variables and labels:
Typing the command describe, we obtain:
vars: 9 31 Oct 2006 13:48
size: 285,087 (99.6% of memory free)
storage display value
variable name type format label variable label
weight float %9.0g Sampling weight
size byte %8.0g Household size
strata byte %8.0g Stratum in which a household lives
psu byte %8.0g Primary sampling unit
gse byte %29.0g gse Socio-economic group of the household head
sex byte %8.0g sex Sex of household head
zone byte %8.0g zone Residential area
exp double %10.0g Total household expenditures
expeq double %10.0g Total household expenditures per adult equivalent
exppc float %9.0g Total household expenditures per capita
Typing label list, we find:
1 wage-earner (public sector)
2 wage-earner (private sector)
3 Artisan or trader
4 Other type of earner
5 Crop farmer
6 Food farmer
You can set the sampling design with a dialog box, as indicated in Section 14.3, or simply by typing
svyset psu [pweight=weight], strata(strata) vce(linearized)
Typing svydes, we obtain
Type bd ifgt to open the dialog box for the FGT poverty index and choose variables and parameters as indicated in the following window. Click on Submit.
The following results should then be displayed:
Select Relative for the poverty line and set the other parameters as above.
After clicking on Submit, the following results should be displayed:
Set the group variable to sex.
Clicking on Submit, the following should appear:
Using the panel Confidence interval, set the confidence level to 99 % and set the number of decimals to 4 in the Results panel.
|Home • About DASP • Manuals • Modules • Examples • FAQs • Contact|