Forecasting nuclear proliferation/GDPs of nuclear-weapon states

The statistical computations behind the figure giving "Gross Domestic Product (GDP) of nuclear-weapon states" in the Wikiversity article on "Forecasting nuclear proliferation" can be replicated by "knitting" the R Markdown code in this vignette in.



Process



 * 1) Open an instance of .  If you don't already have it installed, you can go to "RStudio Cloud" and click "get started for free" (at least as of 2020-10-24).  Or you can download and install free and open-source versions of it and R on your local computer.  R is available from The Comprehensive R Archive Network.  For RStudio, go to its webside > Products (top center) > RStudio > "RStudio Desktop" > "Open Source Edition" > "Download RStudio Desktop".
 * 2) Start RStudio.  Then File > "New File" > "R Markdown..." > Title:  "GDPs of nuclear-weapon states" > PDF > OK.
 * 3) Replace the default code in this new RMarkdown vignette on "GDPs of nuclear-weapon states" with the text from the section below entitled, 'RMarkdown vignette on "GDPs of nuclear-weapon states"'.
 * 4) Save.
 * 5) File > "New File" > "Text File".
 * 6) Copy the text from the section below entitled "GDP-references.bib" into this new empty text file.
 * 7) Save as "GDP-references.bib".
 * 8) Click the "Knit" icon;  see the companion image.  Or read the text and run the code chunks one at a time manually.  The latter makes it relatively easy to look at intermediate computations carefully and experiment with changing things in different ways.

Development of this vignette
This vignette was developed when it was decided that this article could benefit from the financial analysis in the accompanying plot of the GDPs of nuclear-weapon states before, during and after their their nuclear-weapons programs. This became "Figure 2" in "Forecasting nuclear proliferation".