Generate longitudinal employment panel from spine
Source:R/employment_panel.R
generate_employment_panel.RdWalks backward and forward from the 2021 spine anchor to produce a person-year employment panel. Job-to-job transition rates are calibrated to Deutscher (2019); earnings follow a log-normal process with age, occupation, and individual fixed effects.
Arguments
- spine
Data.frame from
generate_spine().- seed
Integer. Base seed (uses
seed + 300Linternally).- years
Integer vector of financial-year end years (e.g. 2021 = FY 2020-21). Default 2015:2024.
- target_year
Integer or NULL. Optional single financial-year end year to return after generating the panel.