Learn R Programming

bayesTFR (version 7.4-5)

Bayesian Fertility Projection

Description

Making probabilistic projections of total fertility rate for all countries of the world, using a Bayesian hierarchical model . Subnational probabilistic projections are also supported .

Copy Link

Version

Install

install.packages('bayesTFR')

Monthly Downloads

706

Version

7.4-5

License

GPL-3 | file LICENSE

Maintainer

Hana Sevcikova

Last Published

July 30th, 2026

Functions in bayesTFR (7.4-5)

get.thinned.tfr.mcmc

Creating and Accessing Thinned MCMCs
include

Inclusion Codes
DLcurve.plot

Plotting Posterior Distribution of the Double Logistic Function
tfr.predict

Generating Posterior Trajectories of the Total Fertility Rate
tfr.trajectories.plot

Output of Posterior Distribution of TFR Trajectories
get.total.iterations

Total Number of Iterations
run.tfr.mcmc.extra

Run MCMC for Extra Countries, Areas or Regions
get.cov.gammas

Covariance Matrices of Gamma Parameters
tfr.partraces.plot

Plotting MCMC Parameter Traces
tfr.pardensity.plot

Plotting MCMC Parameter Density
tfr.estimation.plot

Plot TFR Estimation
run.tfr.mcmc

Running Markov Chain Monte Carlo for Parameters of Total Fertility Rate in Phase II
tfr.median.set.all

Editing median for estimation and projections.
summary.bayesTFR.convergence

Summary of a TFR Convergence Object
summary.bayesTFR.prediction

Summary of a Prediction of the Total Fertility Rate
tfr.median.set

Editing Medians of the Projection
summary.bayesTFR.mcmc.set

Summary Statistics for TFR Markov Chain Monte Carlo Chains
tfr.parameter.names

Accessing Parameter Names
tfr.diagnose

Convergence Diagnostics of TFR Markov Chain Monte Carlo
write.projection.summary

Writing Projection Summary Files
tfr.raftery.diag

Raftery Diagnostics for Parameters of the Total Fertility Rate
tfr.map

TFR World Map
tfr_raw_data

Raw TFR Data
run.tfr3.mcmc

Running Markov Chain Monte Carlo for Parameters of Total Fertility Rate in Phase III
tfr.predict.extra

Generating Posterior Trajectories of the Total Fertility Rate for Specific Countries or Regions
tfr.predict.subnat

Generating Posterior Trajectories of Subnational TFR
coda.list.mcmc

Convertion to coda's Objects
get.tfr.estimation

Get Past TFR Estimation
bayesTFR.mcmc.meta

MCMC Simulation Meta Object
get.tfr.convergence

Accessing a Convergence Object
get.tfr.trajectories

Accessing TFR Trajectories
get.regtfr.prediction

Accessing Subnational Prediction Objects
UN_variants

Dataset with UN-specific Coding of Variants
tfr.dl.coverage

Goodness of Fit of the Double Logistic Function
get.tfr.prediction

Accessing a Prediction Object
get.country.object

Accessing Country Information
get.est.model

Accessing estimated bias and standard deviations
UN_time

Dataset with UN-specific Time Coding
bayesTFR-package

Bayesian Fertility Projection
bayesTFR-internal

Internal Functions and datasets of bayesTFR
bayesTFR.mcmc

MCMC Simulation Object
country.names

Accessing Country Names
get.tfr.mcmc

Accessing MCMC Results
convert.tfr.trajectories

Converting TFR Trajectories into ACSII Files
get.tfr.parameter.traces

Accessing MCMC Parameter Traces