Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / PRWP / RR_LAC_2024_255
PRWP

Reproducibility package for Gender bias, citizen participation, and AI

2025
Get Reproducibility Package
Reference ID
RR_LAC_2024_255
DOI
https://doi.org/10.60572/2j7q-bs60
Author(s)
Jose Cuesta, Natalia Pecorari
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Jan 27, 2025
Last modified
Jan 29, 2025
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    This paper investigates the role of gender bias in AI-driven analyses of citizen participation, using data from the 2023 Latinobarómetro Survey. We propose that gender bias—whether societal, data-driven, or algorithmic—significantly affects civic engagement. Using machine learning, particularly decision trees, we explore how self-reported societal bias (i.e., machismo norms) interacts with personal characteristics and circumstances to shape civic participation. Our findings show that individuals with reportedly low levels of gender bias, who express political interest, have high levels of education, and align with left-wing views, are more likely to participate. We also explore different strategies to mitigate gender bias in both the data and the algorithms, demonstrating that gender bias remains a persistent factor even after applying corrective measures. Notably, lower machismo thresholds are required for participation in more egalitarian societies, with men needing to exhibit especially low machismo levels. Ultimately, our research emphasizes the importance of integrated strategies to tackle gender bias and increase participation, offering a framework for future studies to expand on nonlinear and complex social dynamics.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/index.php/catalog/233/download/677/README.pdf
    Reproducibility package for Gender bias, citizen participation, and AI
    Title
    Reproducibility package for Gender bias, citizen participation, and AI
    Date
    2025-01
    Dependencies
    All dependencies are included in the folder "ado" for the Stata code and 255env.txt for the Python code.
    Notes
    Computational reproducibility verified by the Development Impact (DIME) Analytics team, World Bank.
    Source code repository
    Repository name URI
    Reproducible Research Repository (World Bank) https://reproducibility.worldbank.org
    Software
    Stata
    Name
    Stata
    Version
    18 MP
    Python
    Name
    Python
    Version
    3.11

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 10 Enterprise, version 22H2
    • Processor: Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz 2.60 GHz (2 processors)
    • Memory available: 128 GB
    • Software version: Python 3.11, Stata 18

    Technology requirements

    ~ 15 minutes

    Reproduction instructions

    To successfully reproduce the analysis, follow these steps:

    1. Make sure you have downloaded the 2023 Stata file and place the file with the exact name Latinobarometro_2023_Eng_Stata_v1_0.dta in the folder "DataIn"
    2. Run the first Stata dofile ‘Latinobarometro 2023’ in the folder "Code"
    3. Run the second do file called ‘Latinobarometro 2023 Prep for Python’ in the folder "Code"
    4. Run the python script ‘Gender and AI in civic participation 2024’ in the folder "Code". Outputs will be sequentially generated in the ‘plots’ tab in the console and will also be saved in the Outputs folder.

    Data

    Datasets
    Latinobarometro data (2023)
    Name
    Latinobarometro data (2023)
    Note
    Source: Latinobarometro Corporation Filename: Latinobarometro_2023_Eng_Stata_v1_0.dta Users can download the data from the URL below and must select the Stata option to download the 2023 file. Once downloaded, the file must be saved in the DataIn folder, ensuring the file name is Latinobarometro_2023_Eng_Stata_v1_0.dta. Please note that World Bank computer users might encounter issues downloading the data, as the firewall may block access
    Access policy
    The data is publicly available but not included in the reproducibility package.
    Data URL
    https://www.latinobarometro.org/latContents.jsp
    Data statement

    All data sources are publicly available but not included in the reproducibility package.

    Description

    Output
    Gender bias, citizen participation, and AI
    Type
    Working Paper
    Title
    Gender bias, citizen participation, and AI
    Authors
    Jose Cuesta and Natalia Pecorari
    Description
    Policy Research Working Paper (PRWP) WPS11046
    URL
    http://documents.worldbank.org/curated/en/099909401272535729/IDU1758c3cc41f5be14ea519e4d16a2c1334c916
    DOI
    https://doi.org/10.1596/1813-9450-11046
    Authors
    Author Affiliation Email
    Jose Cuesta World Bank jcuesta@worldbank.org
    Natalia Pecorari World Bank npecorari@worldbank.org
    Date of production

    2025-01

    Scope and coverage

    Geographic locations
    Location Code
    Latin America and the Caribbean LAC
    Keywords
    Citizen participation Gender bias Machine learning Latin America and the Caribbean
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    D70 General D7 Journal of Economic Literature (JEL)
    J16 Economics of Gender • Non-labor Discrimination J1 Journal of Economic Literature (JEL)
    C63 Computational Techniques • Simulation Modeling C6 Journal of Economic Literature (JEL)

    Disclaimer

    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.

    Access and rights

    License
    Name URI
    Modified BSD3 https://opensource.org/license/bsd-3-clause/

    Contacts

    Contacts
    Name Affiliation Email
    Natalia Pecorari World Bank npecorari@worldbank.org
    Reproducibility WBG World Bank reproducibility@worldbank.org

    Information on metadata

    Producers
    Name Abbreviation Affiliation Role
    Reproducibility WBG DIME World Bank - Development Impact Department Verification and preparation of metadata
    Date of Production

    2025-01-27

    Document version

    1

    Citation

    Citation
    loading, please wait...
    Citation format
    Export citation: RIS | BibTeX | Plain text
    Back to Catalog
    The World Bank Working for a World Free of Poverty
    • IBRD IDA IFC MIGA ICSID

    © The World Bank Group, All Rights Reserved.