EconPapers    
Economics at your fingertips  
 

INEQOP: Stata module to perform Inequality of Opportunity analysis using the Shapley approach with Gini and entropy measures

Carlos Gradín

Statistical Software Components from Boston College Department of Economics

Abstract: ineqop estimates the contribution of birth circumstances and other factors to various inequality measures using the direct, indirect, and Shapley approaches, following Gradín and Zapata-Román (ROIW, 2026). Given an outcome variable (e.g., per capita income) and a set of circumstance variables that define types (e.g., sex, ethnicity, et.), the command computes direct, indirect, and Shapley decompositions of inequality for the Gini coefficient and the generalized entropy (GE) family. The Shapley approach accounts for the fact that direct and indirect estimates do not sum to the overall inequality under path-dependent measures because of interaction effects. The command provides several optional outputs. Observations with missing values are detected and excluded, and GE indices that require strictly positive values are automatically dropped when the outcome contains zeros or negative values.

Language: Stata
Requires: Stata version 14
Keywords: inequality; Shapley approach; Gini coefficient (search for similar items in EconPapers)
Date: 2026-03-18
Note: This module should be installed from within Stata by typing "ssc install ineqop". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/i/ineqop.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ineqop.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459643

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-03-20
Handle: RePEc:boc:bocode:s459643