california_migration, a Python code which runs a simple linear model of migration between California and the rest of the US, based on data from 1960. The point of the code is to illustrate the use of a matrix model for population exchange.
The code is inspired by the following statement, which was only approximately true at the time:
"Every year, 30% of the population of California leaves the state, and every year, 10% of the population of the other states moves to California."
The information on this web page is distributed under the MIT license.
california_migration is available in a Python version.