Logo Lanfrica

YousufDaas/racial-wage-penalties-sa

Domaine:

socioeconomic

Type de record:

software
Créateur:
You
Hôte:
Codes for # When Crisis Meets Discrimination: Difference-in-Differences Evidence on Racial Wage Penalties in Post-COVID South Africa # racial-wage-penalties-sa Codes for # When Crisis Meets Discrimination: Difference-in-Differences Evidence on Racial Wage Penalties in Post-COVID South Africa # When Crisis Meets Discrimination: Difference-in-Differences Evidence on Racial Wage Penalties in Post-COVID South Africa ## Author Yousuf Daas Date: 2026 March 18th ## Project overview This repository contains the Stata code used for the paper: **When Crisis Meets Discrimination: Difference-in-Differences Evidence on Racial Wage Penalties in Post-COVID South Africa** The study examines racial wage penalties in South Africa before and after the onset of COVID-19 using pooled **LMDSA** data from **2017 to 2023**. The empirical strategy applies a **difference-in-differences (DiD)** approach to estimate how wage outcomes changed in the post-2020 period across population groups. ## Data The analysis uses pooled **LMDSA** data covering the years **2017–2023**. **Note:** The dataset is **not included** in this repository. Users must have independent access to the LMDSA data and update the file paths in the Stata do-file before running the analysis. ## Repository contents - `main_analysis.do` — main Stata do-file for data cleaning, variable construction, regression analysis, descriptive statistics, and figures. ## Main analysis included The do-file includes: - data cleaning and sample restrictions - construction of wage variables - race group indicators - post-2020 treatment indicator - difference-in-differences interaction terms - weighted wage regressions - subgroup analysis by employment type - heterogeneity analysis by gender - descriptive statistics - parallel trends graphs - event-study style specifications - figure export and regression table export ## Outcomes examined The code estimates wage outcomes for: - all workers - employees - employers ## Population groups The main comparisons are made across: - African/Black - Coloured - White/Indian (reference group in several specifications) ## Sof …