Bayesian Fertility Projection
Overview
Making probabilistic projections of total fertility rate for all countries of the world, using a Bayesian hierarchical model doi:10.1007/s13524-011-0040-5 doi:10.18637/jss.v106.i08. Subnational probabilistic projections are also supported doi:10.4054/DemRes.2018.38.60.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-07-31
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 45 (1 internal)includes a package overview page
- Examples that run
- 46%16 run in a plain check · 19 never run
- Exported functions with examples
- 74%
- Documented parameters
- 88%
- Return-value docs
- 80%
- Help pages citing references
- 49%
Downloads
Dependencies
Installing bayesTFR adds 7 packages (4 with compiled code, 13 MB of source tarballs). Heaviest: data.table 5.7 MB, wpp2019 4.5 MB, mvtnorm 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 7.4-5Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 7.4-4
- RR 4.4.0 released · 2024-04-24
- 7.4-22023-10-18 · diff ↗
- 7.4-02023-09-15 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 7.3-22023-03-23 · diff ↗
- 7.3-0
- 7.2-2
- 7.2-0
- RR 4.2.0 released · 2022-04-22
- 7.1-12021-10-30 · diff ↗
- 7.0-52021-09-17 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 55 earlier eventsHide 55 earlier events
- 7.0-42021-04-03 · diff ↗ ·
added 8 exports
tfr.median.set.all, get.tfr.shift.estimation, tfr.median.reset.estimation, get.tfr.estimation, tfr.estimation.plot, get.bias.model, get.std.model, tfr.bias.sd - RR 4.0.0 released · 2020-04-24
- 6.4-02019-10-19 · diff ↗
- 6.3-12019-06-11 · diff ↗
- 6.3-02019-05-27 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 6.2-02018-10-12 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 6.1-22018-01-19 · diff ↗
- 6.1-12017-08-09 · diff ↗
- 6.1-02017-07-28 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 6.0-0
- 5.0-52017-01-06 · diff ↗
- 5.0-42016-11-21 · diff ↗ ·
removed 2 exports
get.nr.countries.est, get.data.imputed.for.countryadded 4 exports
tfr.world.dlcurves, tfr.country.dlcurves, get.nrest.countries, get.data.for.country.imputed - 5.0-22016-06-10 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 5.0-12016-03-04 · diff ↗
- 5.0-02015-12-05 · diff ↗
- 4.2-02015-07-10 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 4.1-22015-01-16 · diff ↗
- 4.0-112014-11-22 · diff ↗
- 4.0-92014-11-07 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 4.0-52014-02-10 · diff ↗
- 4.0-32013-10-10 · diff ↗
- 4.0-12013-07-18 · diff ↗
- 4.0-02013-05-24 · diff ↗
- 3.0-82013-04-06 · diff ↗
- 3.0.32014-02-07 · diff ↗
- 3.0.22013-07-18 · diff ↗
- 3.0.12013-04-05 · diff ↗ ·
removed 2 exports
tfr.gelman.diag, tfr.plot.gelmanadded 17 exports
run.tfr3.mcmc, continue.tfr3.mcmc, tfr.median.reset, get.tfr3.mcmc, has.tfr3.mcmc, get.tfr3.convergence.all, get.tfr3.convergence, tfr3.parameter.names, tfr3.parameter.names.cs, get.tfr3.parameter.traces, get.tfr3.parameter.traces.cs, coda.list.mcmc3, tfr3.partraces.plot, tfr3.partraces.cs.plot, tfr3.pardensity.plot, tfr3.pardensity.cs.plot, tfr3.diagnose - RR 3.0.0 released · 2013-04-03
- 2.15.32013-01-03 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.15.02012-03-29 · diff ↗ ·
removed 1 export
coda.mcmc.listadded 5 exports
coda.list.mcmc, tfr.get.dlcurves, tfr.GoF.dl, get.data.for.worldmap, get.countries.table - RR 2.14.0 released · 2011-10-31
- 2.13.22011-07-15 · diff ↗
- 2.13.12011-05-06 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.13.02011-03-15 · diff ↗ ·
added 5 exports
tfr.median.adjust, bdem.map.gvis, tfr.map.gvis, get.mcmc.meta, par.names.for.worldmap - 2.12.22011-01-19 · diff ↗ ·
removed 3 exports
read.UNtfr, read.UNlocations, get.TFRmatrix.and.regionsadded 14 exports
get.tfr.shift, get.mcmc.list, bdem.parameter.traces, get.traj.ascii.header, get.nr.countries, get.nr.countries.est, get.data.matrix, get.countries.index, get.data.imputed, get.projection.summary.header, get.UN.variant.names, get.friendly.variant.names, .get.gamma.pars, .map.main.default - RR 2.12.0 released · 2010-10-15
- 2.12.02010-10-14 · diff ↗ ·
added 4 exports
tfr.median.shift, tfr.median.set, get.tfr.trajectories, get.median.from.prediction - 2.1-12013-01-04 · diff ↗
- 2.1-02012-12-14 · diff ↗ ·
removed 1 export
tfr.GoF.dladded 2 exports
tfr.dl.coverage, get.data.imputed.for.country - 1.5-12012-04-14 · diff ↗
- 1.4-12011-07-18 · diff ↗
- 1.4-02011-05-08 · diff ↗
- 1.3-12011-03-16 · diff ↗
- 1.2-02011-01-20 · diff ↗
- 1.1-02010-10-15 · diff ↗
- 1.0-02010-10-05
- RR 2.11.0 released · 2010-04-22
Package metadata
- First published
- 2010-10-05
- Total releases
- 52 / 16 yrs
- License
- GPL-3 | file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 79 KB / 13 files
- Download size
- 2.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("bayesTFR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v043.i01, 10.18637/jss.v106.i08.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.