Usage and importance of DASP in Stata



Similar documents
Redistribution of Taxes and Benefits in Mexico: Evaluation of the 2014 Fiscal Reform on Households*

Chapter 6. Inequality Measures

Inequality Measures. Chapter. Summary

Poverty Indexes: Checking for Robustness

Poverty Indices: Checking for Robustness

Module 5: Measuring (step 3) Inequality Measures

Scatter Plots with Error Bars

Development of the nomolog program and its evolution

Chapter 5 Disability and Growth Elasticity of Poverty in a Developing Country


Transfer income/payments : payments received by persons from the federal government in the form of cash social service benefits such as pensions.

Comparison of the Tax System Progressivity Over Time: Theory and Application with Mexican Data

Cahier de recherche/working Paper Pro-Poor Tax Reforms, with an Application to Mexico. Jean-Yves Duclos Paul Makdissi Abdelkrim Araar

Importing and Exporting With SPSS for Windows 17 TUT 117

Measuring pro-poor growth

Introduction Course in SPSS - Evening 1

Create Custom Tables in No Time

PUBLIC. How to Use in SAP Business One. Solutions from SAP. SAP Business One 2005 A SP01

MULTIPLE REGRESSION EXAMPLE

Complex Survey Design Using Stata

Statistical Data analysis With Excel For HSMG.632 students

Computing Poverty measures with R vs. Stata. Rosendo Ramirez and Darryl McLeod. Professor Vinod R-Group presentation, May 1, 2014

8. MACROS, Modules, and Mouse

Dreamweaver Tutorials Creating a Web Contact Form

R for Clinical Trial Reporting: Reproducible Research, Quality and Validation

SPSS: Getting Started. For Windows

ImageServer Technical Note

Preparing graphics for IOP journals

How to set the main menu of STATA to default factory settings standards

SCIENTIFIC COMPUTING AND PROGRAMMING IN THE CLOUD USING OPEN SOURCE PLATFORMS: AN ILLUSTRATION USING WEIGHTED VOTING SYSTEMS

Event Log. Chapter 7 Event Log Event Log Management Excel Editing Create a New Event Log... 9

Performance evaluation of Web Information Retrieval Systems and its application to e-business

A comparison of the poverty impact of transfers, taxes, and market income across five OECD countries

Data Analysis Stata (version 13)

What is a Mail Merge?

UNICORN 7.0. Administration and Technical Manual

Comparing Means Between Groups

Prisoner Recidivism Analysis Tool (PRAT ) User s Guide

Charting Income Inequality

Enhanced Formatting and Document Management. Word Unit 3 Module 3. Diocese of St. Petersburg Office of Training Training@dosp.

Directions for Frequency Tables, Histograms, and Frequency Bar Charts

Creating PDF Forms in Adobe Acrobat

Independent t- Test (Comparing Two Means)

Database Administration

Using SPSS, Chapter 2: Descriptive Statistics

Introduction to ADePT Edu: Broadening Access to School and Household Data in Education

Module One: Getting Started Opening Outlook Setting Up Outlook for the First Time Understanding the Interface...

Interactive Highway Safety Design Model (IHSDM) Running IHSDM Software Manual

Stata logistic regression nomogram generator

Food Price Heterogeneity and Income Inequality in Malawi: Is Inequality Underestimated?

EpiData Analysis is a program for data analysis and data management.

Control Charts - SigmaXL Version 6.1

Competent Data Management - a key component

to Fax Quick Start Tutorial MM D

Simulation Exercises to Reinforce the Foundations of Statistical Thinking in Online Classes

Event Log. Chapter 7 Event Log Event Log Management Excel Editing Create a New Event Log... 10

Using the American Community Survey Data

Brazil s Conditional Cash Transfer Programme Bolsa Família

for ECM Titanium) This guide contains a complete explanation of the Driver Maker plug-in, an add-on developed for

A DATA ANALYSIS TOOL THAT ORGANIZES ANALYSIS BY VARIABLE TYPES. Rodney Carr Deakin University Australia

This book serves as a guide for those interested in using IBM

ISyE 2028 Basic Statistical Methods - Fall 2015 Bonus Project: Big Data Analytics Final Report: Time spent on social media

SA-9600 Surface Area Software Manual

R and Rcmdr : Basic Functions for Managing Data

2013 MBA Jump Start Program. Statistics Module Part 3

Virginia 2011 Fishing License Marketing Plan

ServerView Inventory Manager

Mexico s Health Care Reform

Data Analysis. Using Excel. Jeffrey L. Rummel. BBA Seminar. Data in Excel. Excel Calculations of Descriptive Statistics. Single Variable Graphs

Promotional Forecast Demonstration

Types of Good Practices Focusing on Family Poverty Reduction and Social Exclusion

Using Microsoft Excel to Manage and Analyze Data: Some Tips

Banana is a native application for Windows, Linux and Mac and includes functions that allow the user to manage different types of accounting files:

Overview Keys. Overview

IBM SPSS Statistics 20 Part 1: Descriptive Statistics

ECONOMICS 351* -- Stata 10 Tutorial 2. Stata 10 Tutorial 2

This book serves as a guide for those interested in using IBM SPSS

POVERTY, INEQUALITY AND THE NATURE OF ECONOMIC GROWTH IN SOUTH AFRICA

ICC. NetLink Version Info INDUSTRIAL CONTROL COMMUNICATIONS, INC.

Using these objects to view the process of the whole event from triggering waiting for processing until alarm stops. Define event content first.

How To Draw In Autocad

"Reliability and MTBF Overview"

Quick Start Guide: NotifyLink for Symbian Series 60, 3 rd Edition

Excel Charts & Graphs

Paid and Unpaid Labor in Developing Countries: an inequalities in time use approach

IBM SPSS Data Preparation 22

Microsoft Access 2010 Part 1: Introduction to Access

DiskPulse DISK CHANGE MONITOR

RETAIL Sage Manual (Retail Point of Sale and Customer Management System) Version 1.2

Integrated Open-Source Geophysical Processing and Visualization

Jessica S. Banthin and Thomas M. Selden. Agency for Healthcare Research and Quality Working Paper No July 2006

Economic Growth, Poverty and Inequality in South Africa: The First Decade of Democracy Haroon Bhorat & Carlene van der Westhuizen 1

Using FileMaker Pro with Microsoft Office

How to Work with Crystal Reports in SAP Business One

Global income inequality in the 21 st century

GETTING YOUR DATA INTO SPSS

CHANGES IN MEXICO'S WEALTH AND HOUSEHOLD ENERGY CONSUMPTION LANDY SÁNCHEZ EL COLEGIO DE MÉXICO

HarePoint Active Directory Self Service Manual

HYDROSOFT Version INSTALLATION AND OPERATING

Transcription:

Usage and importance of DASP in Stata Abdelkrim Araar, Jean-Yves Duclos and Luis Huesca Comparisons of Stata to other software or use of Stata together with other software. Mexico, May 12, 2011 Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 1 / 20

Outline DASP: a Stata package for distributive analysis Conclusion Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 2 / 20

Outline DASP: a Stata package for distributive analysis DASP in a few words DASP features Other DASP features DASP s main menu DASP s main variables Using variables in DASP Inputting DASP commands Applications and files in DASP Producing curves with DASP Saving DASP graphs Examples with the Mexican data DASP: a Stata package for distributive analysis Conclusion Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 3 / 20

DASP in a few words Stata enables programmers to provide specialized.ado routines to add to the power of the software. DASP, which stands for Distributive Analysis Stata Package, is mainly designed to assist those researchers and policy analysts that are interested in conducting distributive analysis with Stata. DASP uses Stata for two main reasons: Stata is a powerful tool to store and manage household data surveys. Combining DASP and Stata allows to use the same environment for processing and analyzing data. Stata easily allows adding specialized programs, making it possible for programmers to add to its power and flexibility. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 4 / 20

DASP features DASP allows to: Estimate the most popular statistics (indices, curves) used for the analysis of poverty, inequality, social welfare, and equity; Estimate the differences in such statistics; Estimate standard errors and confidence intervals by taking full account of survey design; Perform the most popular distributive decomposition procedures; Check for the ethical robustness of distributive comparisons; Support distributive analysis on more than one data base at the same time. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 5 / 20

Other DASP features Contains optimized algorithms for the estimation of distributive indices; Unifies syntax and parameter use across various estimation procedures for distributive analysis; For each DASP module, three types of files are provided 1 : *.ado file: contains the program of the module; *.hlp file: contains the help material for the given module; *.dlg file: allows the user to perform the estimation using the module s dialog box. 1 For more information about DASP modules, see the user manual: (?)). Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 6 / 20

DASP s main menu DASP s windows menu makes it possible to access quickly each of the dialog boxes. The latter are grouped by main themes. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 7 / 20

DASP s main variables VARIABLE OF INTEREST. This is the variable that usually captures living standards. It can represent, for instance, income per capita or expenditures per adult equivalent. SIZE VARIABLE. This refers to the ethical or physical size of the observation. This variable usually refers to the number of household members. GROUP VARIABLE. Say that we wish to estimate poverty within a country s rural area or within female-headed families. One way to do this is to force DASP to focus on a population subgroup defined as those for whom some GROUP VARIABLE(say, area of residence) equals a given GROUP NUMBER (say 2, for rural area). SAMPLING WEIGHT. Sampling weights are the inverse of the sampling probability. This variable should be set upon the initialization of the data set. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 8 / 20

Using variables in DASP DASP makes it possible to use simultaneously more than one data file. The user should initialize each data file before using it with DASP. This initialization is done by: Labeling variables and values for categorical variables; Initializing the sampling design with the command svyset; Saving the initialized data file. It is useful to add a character such as I to the names of initialized files (Example: Uganda99I.dta) in order to distinguish them. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 9 / 20

Inputting DASP commands Stata and DASP commands can be entered directly into a command window: An alternative is to use dialog boxes. For this, the command db should be typed and followed by the name of the relevant DASP module. Example: db ifgt. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 10 / 20

Applications and files in DASP Two main types of applications are provided in DASP. For the first one, the estimation procedure uses only one data file, the data file in memory (or loaded ). It is from that file that the relevant variables must be specified. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 11 / 20

Applications and files in DASP Two main types of applications are provided in DASP. For the second type of applications, two distributions are needed. For each of these two distributions, the user can specify the currently-loaded data file (the one in memory) or one saved on disk. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 11 / 20

Producing curves with DASP DASP was designed to facilitate the use of curves to display distributive information. For instance, if we wish to graph Lorenz curves to compare inequality between rural and urban areas, the following command line can be typed: clorenz exppc, hgroup(zone) hsize(size) where in this example exppc is per capita expenditures, size is household size and zone is the zone variable (1 = rural / 2= urban). Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 12 / 20

Producing curves with DASP After executing this command the following window appears: Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 12 / 20

Producing curves with DASP For many curves, DASP allows showing their confidence intervals according to selected levels of statistical significance (this value is by default set to 95%). For instance, to draw confidence intervals around FGT curves, we can use the cfgtsm DASP module: cfgtsm exppc, alpha(0) hsize(size) hgroup(sex) max(100000) Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 12 / 20

Producing curves with DASP After executing this command the following window appears: Drawing the confidence interval of distributive curves (FGT curves) 0.2.4.6.8 FGT Curve(s) Confidence interval(95%) 0 20000 40000 60000 80000 100000 Poverty line Male Female Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 12 / 20

Saving DASP graphs Graphs produced with DASP or Stata can be saved in many different formats. Among them: *.gph *.wmf *.eps is Stata s graphical format. It is useful to allow re-editing the graph (with Stata 10 or higher). is the Windows metafile format. This format may be easily inserted into Word documents. The user can also copy a Stata graph and paste it directly into a Word document. is the encapsulated postscript format. This format can easily be inserted in Latex documents. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 13 / 20

Examples with the Mexican data L_x(p) C_t(p).15.1.05 0 Progressivity curve(s). TR approach Mexican VAT by urban rural area, 2008 (Ordering by gross percapita income) 0.2.4.6.8 1 Percentiles (p) Null horizontal line Rural Total Urban Source: Author s estimation using ENIGH 2008 and DASP. VAT has been adjusted by informal expenditures. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 14 / 20

Examples with the Mexican data Progressivity curve(s). IR approach Mexican VAT by urban rural area, 2008 (Ordering by gross percapita income) C_x t(p) L_x(p) 0.015.01.005 0.2.4.6.8 1 Percentiles (p) Null horizontal line Rural Total Urban Source: Author s estimation using ENIGH 2008 and DASP. VAT has been adjusted by informal expenditures. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 14 / 20

Examples with the Mexican data C_b(p) + C_t(p) 2 L_x(p) 0.2.4.6.8 Progressivity curve(s). TR approach Mexican VAT Vs Transfer by urban rural area, 2008. 0.2.4.6.8 1 Percentiles (p) Null horizontal line Rural Total Urban Source: Author s estimation using ENIGH 2008 and DASP. VAT has been adjusted by informal expenditures & Oportunidades is the transfer. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 14 / 20

Examples with the Mexican data C_x+b(p) C_x t(p) 0.008.016.024.032.04 Progressivity curve(s). IR approach Mexican VAT Vs Transfer by urban rural area, 2008. 0.2.4.6.8 1 Percentiles (p) Null horizontal line Rural Total Urban Source: Author s estimation using ENIGH 2008 and DASP. VAT has been adjusted by informal expenditures & Oportunidades is the transfer. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 14 / 20

Examples with the Mexican data C_x+b(p) C_x t(p) 0.005.01.015 Progressivity curve(s). IR approach Mexican VAT Vs Transfer s recipients by urban rural area, 2008. 0.2.4.6.8 1 Percentiles (p) Null horizontal line Rural Total Urban Source: Author s estimation using ENIGH 2008 and DASP. VAT has been adjusted by informal expenditures & Oportunidades is the transfer. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 14 / 20

Outline DASP: a Stata package for distributive analysis Conclusion Summary Relevant DASP commands Exercises with Stata and DASP Additional literature on DASP and DAD References Conclusion Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 15 / 20

Summary Stata is a popular software that provides powerful statistical applications and that is simple to use. Stata commands can be inputted through dialog boxes, do files, or commands windows. DASP facilitates the estimation of the most popular statistics used for the analysis of poverty, inequality, social welfare, and equity, and provides various sophisticated statistical tools to check for the robustness and the precision of such statistics. DASP unifies syntax and parameter use across various estimation procedures for distributive analysis. DASP allows the use of two distributions at the same time, and simplifies the production of tables and graphs. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 16 / 20

Relevant DASP commands FGT and EDE-FGT poverty indices (ifgt). FGT CURVE with confidence interval (cfgts). Lorenz and concentration curves (clorenz). Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 17 / 20

Exercises with Stata and DASP Exercises 1.1, 1.2, 1.3 Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 18 / 20

Additional literature on DASP and DAD The material from this presentation draws largely from Araar and Duclos (2009b) and Duclos and Araar (2006). See also Araar and Duclos (2009a), et Christian Toft (2006) and Zhang (2003) for the DAD software. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 19 / 20

References ARAAR, A. AND J.-Y. DUCLOS (2009a): DAD: a Software for Poverty and Distributive Analysis, Journal of Economic and Social Measurement, 43, 175 189. (2009b): DASP: Distributive Analysis Stata Package, PEP, CIRPÉE and World Bank, Université Laval. DUCLOS, J.-Y. AND A. ARAAR (2006): Poverty and Equity Measurement, Policy, and Estimation with DAD, Berlin and Ottawa: Springer and IDRC. ET CHRISTIAN TOFT, M. B. (2006): Poverty and Equity. Measurement and Analysis Jean-Yves Duclos, Abdelkrim Araar and Carl Fortin, Économie publique/ Public economics, 18-19, 5 12. ZHANG, Q. (2003): DAD, an innovative tool for income distribution analysis, Journal of Economic Inequality, 1, 281 284. Usage and importance of DASP in Stata 3rd STATA Users Group Meeting Mexico 20 / 20