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 J., A. E. Raftery (2024). Forecasting Net Migration By Age: The Flow-Difference Approach. arXiv:2411.09878.