Skip to content

R Code for Hamilton-Perry Projection with Components and Stable Population Information

Notifications You must be signed in to change notification settings

edyhsgr/CCRStable

Repository files navigation

R CODE FOR HAMILTON-PERRY PROJECTION WITH COMPONENTS AND STABLE POPULATION INFORMATION

-----
Some ideas for potential future work: 
      -possible cohort change ratios averaging and/or trending (on longer time series of single-year data)
      -employment- and/or housing-based migration setup
            (following https://applieddemogtoolbox.github.io/Toolbox/#EmplPopHousProj)
      -use of uncertain starting data (along with stochastic option) as a potential way to manage uncertain from Differential Privacy on inputs
      -optimize input indices (selected, etc) for fit to historical data (to better see/understand best-possible) (may not be helpful, but may be interesting)
      -consider a 0-net-migration-level-based benchmark for gross migration adjustment
      -use age-adjusted net migration-adjustment profiles  
      -Apply a direct fertility option - thinking, similar to mortality, setting by initial and end-step or time series rule - to offer as alternative to iTFR
      
-----
References, resources, and related info: 
  Software: 
    -R: https://www.r-project.org/
    -Shiny for R: https://shiny.rstudio.com/

  Description, formulas used, and spreadsheet demonstration: 
    -Hunsinger (2020 and 2021): https://github.com/edyhsgr/CCRStable/tree/master/Oct2020Presentation 
  
  Population estimates inputs: 
    -US Census Bureau Population Estimates: https://www.census.gov/programs-surveys/popest.html
    -Carl Schmertmann's R code to tabulate and (re-)aggregate US Census Bureau's American Community Survey estimates by demographic characteristics: https://github.com/schmert/bonecave/blob/master/demography-US-congressional-districts/population-pyramids-by-party.R 
    
  More information on iTFR: 
    -Hauer and Schmertmann (2019): https://osf.io/adu98/
    -Hauer, Baker, and Brown (2013): https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0067226

  More information on cohort change ratios, including a chapter on stable population: 
    -Baker, Swanson, Tayman, and Tedrow (2017): https://www.worldcat.org/title/cohort-change-ratios-and-their-applications/oclc/988385033
    
  Slides with background thoughts on adjusting net migration: 
    -Hunsinger (2007): https://edyhsgr.github.io/documents/ProjPresentation.pdf
   
  Net migration by age over time comparisons from Alaska data: 
    -Hunsinger (2018): http://shiny.demog.berkeley.edu/eddieh/AKPFDMigrationReview/
    
  Interface with net migration adjustment examples and comparisons: 
    -Hunsinger (2019): http://shiny.demog.berkeley.edu/eddieh/NMAdjustCompare/ 
    
  Graphs of e0 and Brass relational life table model by US state: 
    -https://github.com/edyhsgr/BrassRelationalMortOverTime_USAStates 
    
  Model life table (0.0 alpha) is the 5x5 and 1x5 2010 to 2014 life tables for selected states from the United States Mortality Database:
    -https://usa.mortality.org/index.php
    
  Migration adjustment profile was made from the US Census Bureau's 2013 to 2017 American Community Survey Public Use Microdata Sample, accessed via IPUMS USA, University of Minnesota: 
    -https://usa.ipums.org/usa/

  Supporting work and thinking on stochastic population projection: 
    -https://applieddemogtoolbox.github.io/#StochasticForecast

  Applied Demography Toolbox listing: 
    -https://applieddemogtoolbox.github.io/Toolbox/#CCRStable

  Related Shiny for R application: 
    -(Hunsinger 2019) https://shiny.demog.berkeley.edu/eddieh/CCRStable/
    
-Eddie Hunsinger, August 2019 (updated June 2022)

-----
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 International License.

About

R Code for Hamilton-Perry Projection with Components and Stable Population Information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages