Replication of the main empirical results, figures, and tables from the paper "Age at School Entry and Human Capital Development: Evidence from Lesotho" using Julia.
# Lesotho School Entry Replication
This project was developed as part of the *Computational Economics* course at Collegio Carlo Alberto.
**Full Project Documentation:**
oraziotorre.github.io
## Overview
This repository replicates the results from the paper:
> De Neve, J.-W., Moshoeshoe, R., & Bor, J. (2026).
> *Age at School Entry and Human Capital Development: Evidence from Lesotho.*
> American Economic Journal: Applied Economics.
The paper studies how the age at which children start primary school affects education, labor market outcomes, health, and demographic outcomes in Lesotho, using a regression discontinuity design based on a school entry cutoff.
The goal of this project is to reproduce the main empirical results, figures, and tables using Julia.
The original replication package is available on OpenICPSR.
---
## Project Structure
```
lesotho-school-entry-replication/
│
├── images/
│
├── replication-package/
│ ├── LesothoSchoolEntryReplication.jl/
│ │ ├── Project.toml
│ │ ├── Manifest.toml
│ │ │
│ │ ├── src/
│ │ │ ├── LesothoSchoolEntryReplication.jl
│ │ │ ├── run_all.jl
│ │ │ ├── figures.jl
│ │ │ ├── tables.jl
│ │ │ └── utils.jl
│ │ │
│ │ ├── test/
│ │ │ └── runtests.jl
│ │ │
│ │ └── output/
│ │ ├── figures/
│ │ └── tables/
│ │
│ └── original-replication/
│
├── report_files/
├── report.qmd
├── report.html
│
├── .gitignore
└── README.md
```
---
## Installation
1. Install Julia (recommended version: **1.12.6**) and verify:
```bash
julia --version
```
2. Clone the repository and run Julia:
```bash
git clone
github.com
cd lesotho-school-entry-replication
julia
```
## Running the Replication:
1. Activate the environment:
```julia
using Pkg
Pkg.activate("./replication-package/LesothoSchoolEntryReplication.jl")
```
2. Install the dependencies:
```julia
Pkg.instantiate( …