About

Group members

Papers

Presentations

Software

Wiki

Software

bayesTFR

bayesTFR is an R package for probabilistic projections of the total fertility rate (TFR). It implements the Bayesian hierarchical model described in Alkema et al (2010). You can download the package from CRAN.

A converged simulation that can be used for exploring TFR projections using the package can be found here (179M). After unpacking into a directory say 'my_path', use the command

> m <- get.tfr.mcmc('my_path/3x62000_thin20')
to retrieve the MCMC object, and the command
> pred <- get.tfr.prediction('my_path/3x62000_thin20')
to retrieve the prediction object.

bayesLife

bayesLife is an R package for probabilistic projections of life expectancy (e0). It implements the Bayesian hierarchical model described in Chunn et al (2010). The package is available on CRAN.

An MCMC estimation of the e0 parameters can take a long time to run, therefore we provide here results from a converged simulation, including predictions, and instructions how to use them.

bayesDem

bayesDem is an R package that implements a graphical user interface (GUI) for bayesTFR and bayesLife. It can be downloaded from CRAN. Here are some brief instructions how to use it for exploring trajectories of life expectancy.
Notes on installation

The bayesDem package is based on the GTK+ toolkit. On Windows, install it from here. Mac users need a special version that works with R which can be downloaded from here.

Once GTK+ is installed, install bayesDem including all its dependencies, for example using the package installer of RGui (on Windows) or R.app GUI (on Mac). If you happen to run into an error in R due to missing GTK, make sure you close your R session, install GTK and launch R again.

If you have any question about the software, please send an email to Hana.