{"type":"script","doc_desc":{"prod_date":"2025-02-07","version":"1","producers":[{"name":"Reproducibility WBG","abbr":"DIME","affiliation":"World Bank - Development Impact Department","role":"Verification and preparation of metadata"}]},"project_desc":{"title_statement":{"title":"Reproducibility package for Mexico Poverty and Equity Assessment: Section 1, Annexes 1, 2 and 3","idno":"FR_MEX_2025_256"},"authoring_entity":[{"name":"Mariel Cecilia Siravegna","email":"msiravegna@worldbank.org","affiliation":"World Bank"},{"affiliation":"World Bank","name":"Samuel Freije-Rodriguez","email":"sfreijerodriguez@worldbank.org"},{"name":"Israel Osorio Rodarte","email":"iosoriorodarte@worldbank.org","affiliation":"World Bank"}],"output":[{"type":"World Bank Reports & Flagships","title":"Mexico Poverty Assessment","authors":"World Bank Group","description":"Note: The reproducibility verification was conducted only for Section 1 and Annexes, as these were the only sections completed by the World Bank team. The remaining sections were prepared by external consultants and were not verified.","uri":"https:\/\/www.worldbank.org\/en\/country\/mexico\/brief\/-como-erradicar-la-pobreza-extrema-en-mexico"}],"datasets":[{"name":"Socio-Economic Database for Latin America and the Caribbean (SEDLAC)","note":"Source: National Institute of Statistics and Geography (INEGI), World Bank, and SEDLAC.\nThis dataset includes all raw SEDLAC databases for Mexico's National Survey of Household Income and Expenditure (ENIGH) from 2000 to 2022, along with Consumer Price Indexes (CPIs).\nLocation: dta\/raw\/years\/; dta\/ipc_sedlac_wb_mexico_2000-2022.dta.  The dataset was accessed using the WB-internal Stata library datalibweb. which is for internal use only. Access to this data is restricted to World Bank Group employees. The code to consult the data is included in the package. If you are an employee, please refer to the instructions in the README file for access procedures.","access_type":"Data is limited-access and requires purchase or human approval. It is not included in the reproducibility package."},{"name":"National Survey of Occupation and Employment (ENOE) ","note":"Source: National Institute of Statistics and Geography (INEGI).\n\nDataset Locations:\n\nMEX_2005_2023_ENOE_V01_M_V06_A_GLD_FULLSAMPLE.dta.\nMEX_2005_2023_PANEL_QUARTER.dta.\nThe do-files and detailed instructions for creating these datasets are available in the directory do\/Panel_ENOE_do\/. However, due to large memory requirements, only the intermediate datasets are included in this package.\n\nThe reproducibility verification was conducted using these intermediate datasets. While the do-files to process the ENOE data from raw sources were not executed due to memory constraints, they were manually inspected for completeness and accuracy. These do-files, along with a README explaining the process, are included in do\/Panel_ENOE_do\/.\n\n","uri":"https:\/\/en.www.inegi.org.mx\/programas\/enoe\/15ymas\/#microdata ","access_type":"Data is publicly available and included in the reproducibility package.","license":"INEGI's Terms of Use","license_uri":"https:\/\/www.inegi.org.mx\/inegi\/terminos.html"},{"name":"World Development Indicators (WDI) ","note":"Source: World Bank. \nLocation: dta\/wb_ppp_conversion_factors.dta.\nIndicators consulted: CPI. ","uri":"https:\/\/data.worldbank.org\/indicator\/PA.NUS.PPP?locations=MX","license":"Creative Commons Attribution 4.0 International License (CC BY 4.0)","license_uri":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/","access_type":"Data is publicly available and included in the reproducibility package."},{"name":"Mexico National Consumer Price Index (NCPI)","note":"Source:  National Institute of Statistics and Geography (INEGI).\nLocation: dta\/CPI.xlsx.\nPeriod: January 2005 to October 2024. \n","access_type":"Data is publicly available and included in the reproducibility package.","uri":"https:\/\/www.inegi.org.mx\/temas\/inpc\/#tabulados","license_uri":"https:\/\/www.inegi.org.mx\/inegi\/terminos.html","license":"INEGI's Terms of Use"},{"name":"Mexico's Poverty Data","note":"Source: National Council for the Evaluation of Social Development Policy (CONEVAL), Databases and calculation programs 2022 (STATA). \nLocation: dta\/pobreza_22.dta.\nTo download from the original source, follow the link below, and click on 2022 Stata, the database used is in the folder \"Base final\". ","uri":"https:\/\/www.coneval.org.mx\/Medicion\/MP\/Paginas\/Programas_BD_2022.aspx","license_uri":"https:\/\/www.coneval.org.mx\/Paginas\/Pie\/terminos-uso-libre.aspx","license":"Terms of Free Use of the CONEVAL website\u200b","access_type":"Data is publicly available and included in the reproducibility package."},{"name":"Unique Catalogue of State, Municipal and Local Geostatistical Area Codes","note":"Source: Created by the authors with information from National Institute of Statistics and Geography (INEGI).\nLocation: dta\/geo.dta. \nSelected variables: City, ubica_geo, Northfrontier. \nCities with North frontier selected. \n","uri":"https:\/\/www.inegi.org.mx\/app\/ageeml\/","access_type":"Data is publicly available and included in the reproducibility package.","license_uri":"https:\/\/www.inegi.org.mx\/inegi\/terminos.html","license":"INEGI's Terms of Use"}],"production_date":"2025-01","geographic_units":[{"name":"Mexico","code":"MEX","type":"Country"}],"language":[{"name":"English","code":"EN"}],"data_statement":"Some data are limited-access and have not been included in the reproducibility package. For more details, please refer to the README file.","software":[{"name":"Stata","version":"18 MP"}],"scripts":[{"file_name":"FR_MEX_2024_256.zip","zip_package":"FR_MEX_2024_256.zip","title":"Reproducibility package for Mexico Poverty and Equity Assessment: Section 1, Annexes 1, 2 and 3","date":"2025-01","methods":"All dependency files are stored in the ado folder.","notes":"Computational reproducibility verified by the Development Impact (DIME) Analytics team, World Bank."}],"repository_uri":[{"name":"Reproducible Research Repository (World Bank)","uri":"https:\/\/reproducibility.worldbank.org"}],"technology_requirements":"Paper exhibits were reproduced in a computer with the following specifications:\n\u2022 OS: Windows 10 Enterprise, version 21H2\n\u2022 Processor: Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz, 2900 Mhz, 16 Core(s), 16 Logical Processor(s)\n\u2022 Memory available: 128 GB\n\u2022 Software version: Stata 18.0 MP","reproduction_instructions":"~100 minutes runtime","technology_environment":"To reproduce the results in this paper a new user should do the following. \n1. **Request Dataset Access**:  Check the `README` for the list of required datasets. Request access and place them in the correct folders.  \n2. **Update File Paths & Run Code**: Modify dataset paths in `master_PA Mexico Chapter 1` do file and run the code.  \n3. **Generate Figures**: Most figures will be generated in the two master Excel files `FINAL figures For MEX PEA.xlsx` and `FINAL tables for MEX PEA.xlsx`, and a few figures for the appendix are saved in the output folder.  \n4. **Verify Results Without Access to the Data**:  As getting access to some data might be challenging the **master Excel file** and **resulting tables** are included for validation. Users can compare these files with the results presented in the paper.  ","license":[{"name":"Modified BSD3","uri":"https:\/\/opensource.org\/license\/bsd-3-clause\/"}],"disclaimer":"The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development\/the World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.","contacts":[{"affiliation":"World Bank","name":"Mariel Cecilia Siravegna","email":"msiravegna@worldbank.org"},{"name":"Reproducibility WBG","affiliation":"World Bank","email":"reproducibility@worldbank.org"}],"abstract":"Chapter 1, and annexes 1 to 3, of this study examine the monetary aspects of poverty and inequality in Mexico, using data from the Encuesta Nacional de Ingresos y Gastos de los Hogares (ENIGH) from 2000 to 2022 (as processed in SEDLAC, Socio-Economic Database for Latin America and the Caribbean), as well as Encuesta Nacional de Ocupaci\u00f3n y Empleo (ENOE) from 2005 to 2023. In the case of ENIGH, due to technical and methodological changes, between 2006 to 2008 and between 2014 to 2016, the series are not fully comparable. Therefore, the analysis is organized into three six-year periods: 2000-2006, 2008-2014, and 2016-2022. This division enables a balanced comparison of trends and changes in poverty and inequality over time. In the case of ENOE, the COVID-19 pandemic led to temporary changes in data collection methods, so the series of rotating panels used for measures of chronic poverty is interrupted in 2020.","identifiers":[{"type":"DOI","identifier":"https:\/\/doi.org\/10.60572\/mjxh-gm20"}]},"tags":[{"tag":"DOI"},{"tag":"Limited-access data"},{"tag":"Open code"}],"schematype":"script"}