This file describes all files required to replicate the figures in Feichtinger / Rau / Novak: "On the Momentum of Pseudostable Populations". - Software Used: All figures have been created using the language R (https://cran.r-project.org/index.html). Various versions of R have been used throughout the lifetime of the project. For a final check all code files have been tested/run on 12 Dec 2024 using the most recent version of R (4.4.2) on a 64bit PC running GNU/Linux. - Author: All code has been written by Roland Rau. - Code-License: All code is licensed under the GPL-2.0. - Data: All empirical data were taken from the World Population Prospects 2022 Revision by the United Nations. The author (RR) assembled those data in an Sqlite Database. Since this database is too large to share for the current purpose (>3GB), small extracts have been prepared to recreate all figures. The values have not been changed from the raw data. - Data-License: The data from the World Population Prospects 2022 Revision by the United Nations have been licensed under the "Creative Commons license CC BY 3.0 IGO." For more information on this license, please see: https://creativecommons.org/licenses/by/3.0/igo/ - Step by Step Guide for the Figures: -- Figure 1: --- Code File: Recreate-Figure-1.R --- Data File: Figure01.Rdata --- Figure: Figure1-Introductory-Examples.pdf -- Figure 2: --- Code File: Recreate-Figure-2.R --- Data File: None required --- Figure: Figure2-Exponential-Decline.pdf -- Figure 3: --- Code File: Recreate-Figure-3.R --- Data File: None required --- Figure: Figure3-Theoretical-Birth-Trajectories.pdf -- Figure 4: --- Code File: Recreate-Figure-4.R --- Data File: Figure04.Rdata --- Figure: Figure4-Comparison-Theoretical-Empirical-Simulation.pdf -- Figure 5: --- Code File: Recreate-Figures-5-6.R --- Data File: A-for-Figures-05-06.Rdata This projection matrix has been created while running Recreate-Figure-4.R --- Figure: Figure5-Colombia-Momentum.pdf -- Figure 6: --- Code File: Recreate-Figures-5-6.R --- Data File: A-for-Figures-05-06.Rdata This projection matrix has been created while running Recreate-Figure-4.R --- Figure: Figure6-Long-Term.pdf -- Figure 7: --- Code File: ---- Recreate-Figure7-Momentum-analytic-numeric.Rnw This file is written in the "literate programming style", i.e. combining code with documentation (as pioneered by Don Knuth). The actual literature format is "knitr". The code can be run in R as library(knitr) knit2pdf("Recreate-Figure7-Momentum-analytic-numeric.Rnw) This will create a documented code file in pdf (Recreate-Figure7-Momentum-analytic-numeric.pdf) as well as Figure 7. The code alone can be extracted running purl("Recreate-Figure7-Momentum-analytic-numeric.Rnw) The original Rnw file as well as the generated files are included in the zip archive. --- Data File: None required --- Figure: Figure7-Mt-and-derivatives.pdf -- Figure 8: --- Code File: Recreate-Figure8.R --- Data File: None required --- Figure: Figure8-extremely-low-k.pdf -- Figure 9: --- Code File: Recreate-Figure9.R --- Data File: None required --- Figure: Figure9-Age-Structure-Comparison.pdf Roland Rau, 12 Dec 2024