This repository contains code and data for one county to estimate the Bayesian and Deterministic versions of the Flow Difference Method (FDM) for projecting net migration by age.
Steps:
- Estimate the model via estimateBayesFDMwacounty.R.
- Extract MCMC samples via extract_rc_samples.R
- Apply the estimates to a given total net migration via applyFDM.R
The estimation and application is shown in applyFDM.R.
H. Sevcikova, J. Raymer, A. E. Raftery (2026). Net Migration By Age: The Flow-Difference Approach for Estimation and Forecasting. Demography. doi:10.1215/00703370-12901523.