This repository contains a Python implementation of the Abowd, Kramarz, and Margolis (1999) AKM two-way fixed effects model, translated from an original R implementation by Stephen Tino (University of Toronto). The AKM model is widely used in labor economics to estimate worker and firm contributions to earnings inequality using matched employer-employee data.
- Convert the R-based AKM estimation to Python
- Maintain equivalent model estimation, variance decomposition, and fixed-effects computation
- Extend the model to support gender-specific AKM estimation
r_version/– Original R scripts for referencepython_version/– Translated Python implementationdata/– Simulated employer-employee dataset for testingREADME.md– Project documentation
The original R implementation was developed by Stephen Tino (University of Toronto).
Author: Stephen Tino, PhD Candidate in Economics, University of Toronto, s.tino@mail.utoronto.ca
GitHub Repository: https://github.com/stephentino/estimate_akm
This project retains the LGPL-2.1 license as required by the original repository.
- Chiayi (Aiden) Wu
- Mia Zhang
- Brenda Noh
git clone https://github.com/cwu423/akm_python_translation.git
cd akm_python_translation