README for replication package
US Labor Market PIIE Chart
https://www.piie.com/research/piie-charts
Jed Kolko

Overview:
This code provides the underlying calculations and outputs for the charts. To run, unzip the replication package in the desired location and keep the structure intact.

Do files:
There are two Stata codes. 

First, 'metric comparison.do' is the main file and is located in the base directory. It provides all outputs, which are stored in the 'jobs' and 'metrics' folders.

In code header, set the working directory to the base directory.

The following data inputs (going through December 2025) should be downloaded to the 'jobs' folder before running the code:

- The Current Employment flat file 'ce.data.0.AllCESSeries' from https://download.bls.gov/pub/time.series/ce

- The JOLTS flat file 'jt.data.1.AllItems' from https://download.bls.gov/pub/time.series/jt

- The usual weekly earnings flat file 'jobs\le.data.1.AllData' from https://download.bls.gov/pub/time.series/le

- The HH survey flat file 'ln.data.1.AllData' from https://download.bls.gov/pub/time.series/ln

Second, a seasonal adjustment using the Census Bureau's X13 executable (Windows) is implemented using 'x13as.ado' as part of the main file.

Seasonal adjustment is based on Census X-13 with default settings using SEATS decomposition. Other ways of accessing X-13, such as through the R “seasonal” package or through the web-based interface, or through applications like Macrobond that include seasonal adjustment, should yield the same results. 



