Package: bayesTFR 7.4-4
bayesTFR: Bayesian Fertility Projection
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>.
Authors:
bayesTFR_7.4-4.tar.gz
bayesTFR_7.4-4.zip(r-4.7)bayesTFR_7.4-4.zip(r-4.6)bayesTFR_7.4-4.zip(r-4.5)
bayesTFR_7.4-4.tgz(r-4.6-x86_64)bayesTFR_7.4-4.tgz(r-4.6-arm64)bayesTFR_7.4-4.tgz(r-4.5-x86_64)bayesTFR_7.4-4.tgz(r-4.5-arm64)
bayesTFR_7.4-4.tar.gz(r-4.7-arm64)bayesTFR_7.4-4.tar.gz(r-4.7-x86_64)bayesTFR_7.4-4.tar.gz(r-4.6-arm64)bayesTFR_7.4-4.tar.gz(r-4.6-x86_64)
bayesTFR_7.4-4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
bayesTFR/json (API)
| # Install 'bayesTFR' in R: |
| install.packages('bayesTFR', repos = c('https://hanase.r-universe.dev', 'https://cloud.r-project.org')) |
- include_2010 - Inclusion Codes
- include_2012 - Inclusion Codes
- include_2015 - Inclusion Codes
- include_2017 - Inclusion Codes
- include_2019 - Inclusion Codes
- include_2022 - Inclusion Codes
- include_2024 - Inclusion Codes
- rawTFR - Raw TFR Data
- UN_time - Dataset with UN-specific Time Coding
- UN_variants - Dataset with UN-specific Coding of Variants
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:0930e752b8. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 151 | ||
| linux-devel-x86_64 | OK | 157 | ||
| source / vignettes | OK | 190 | ||
| linux-release-arm64 | OK | 140 | ||
| linux-release-x86_64 | OK | 150 | ||
| macos-release-arm64 | OK | 133 | ||
| macos-release-x86_64 | OK | 266 | ||
| macos-oldrel-arm64 | OK | 119 | ||
| macos-oldrel-x86_64 | OK | 349 | ||
| windows-devel | OK | 169 | ||
| windows-release | OK | 142 | ||
| windows-oldrel | OK | 140 | ||
| wasm-release | OK | 111 |
Exports:.get.gamma.pars.map.main.defaultavailable.tfr.predictionsbdem.map.gvisbdem.parameter.tracescoda.list.mcmccoda.list.mcmc3coda.mcmccontinue.tfr.mcmccontinue.tfr3.mcmcconvert.tfr.trajectoriescountry.namesDLcurve.plotDLcurve.plot.allget.ar1.parametersget.bias.modelget.countries.indexget.countries.phaseget.countries.tableget.country.objectget.cov.gammasget.data.for.country.imputedget.data.for.worldmapget.data.imputedget.data.matrixget.friendly.variant.namesget.mcmc.listget.mcmc.metaget.mean.from.predictionget.median.from.predictionget.nr.countriesget.nrest.countriesget.projection.summary.headerget.regtfr.predictionget.std.modelget.stored.mcmc.lengthget.tfr.convergenceget.tfr.convergence.allget.tfr.estimationget.tfr.map.parametersget.tfr.mcmcget.tfr.parameter.tracesget.tfr.parameter.traces.csget.tfr.predictionget.tfr.shiftget.tfr.shift.estimationget.tfr.trajectoriesget.tfr3.convergenceget.tfr3.convergence.allget.tfr3.mcmcget.tfr3.parameter.tracesget.tfr3.parameter.traces.csget.thinned.tfr.mcmcget.total.iterationsget.traj.ascii.headerget.UN.variant.nameshas.mcmc.convergedhas.tfr.mcmchas.tfr.predictionhas.tfr3.mcmcpar.names.for.worldmapread.tfr.filerun.tfr.mcmcrun.tfr.mcmc.extrarun.tfr3.mcmctfr.bias.sdtfr.country.dlcurvestfr.diagnosetfr.dl.coveragetfr.estimation.plottfr.get.dlcurvestfr.ggmaptfr.maptfr.map.alltfr.map.gvistfr.mcmctfr.mcmc.listtfr.median.adjusttfr.median.resettfr.median.reset.estimationtfr.median.settfr.median.set.alltfr.median.shifttfr.parameter.namestfr.parameter.names.cstfr.parameter.names.cs.extendedtfr.parameter.names.extendedtfr.pardensity.cs.plottfr.pardensity.plottfr.partraces.cs.plottfr.partraces.plottfr.predicttfr.predict.extratfr.predict.subnattfr.raftery.diagtfr.shift.estimation.to.wpptfr.shift.prediction.to.wpptfr.trajectories.plottfr.trajectories.plot.alltfr.trajectories.tabletfr.world.dlcurvestfr3.diagnosetfr3.parameter.namestfr3.parameter.names.cstfr3.pardensity.cs.plottfr3.pardensity.plottfr3.partraces.cs.plottfr3.partraces.plotwrite.projection.summary
Dependencies:clicodadata.tablelatticelifecycleMASSmvtnormrlangwpp2019
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bayesian Fertility Projection | bayesTFR-package bayesTFR |
| MCMC Simulation Object | bayesTFR.mcmc |
| MCMC Simulation Meta Object | bayesTFR.mcmc.meta |
| Convertion to coda's Objects | coda.list.mcmc coda.list.mcmc3 coda.mcmc coda.mcmc.bayesTFR.mcmc |
| Converting TFR Trajectories into ACSII Files | convert.tfr.trajectories |
| Accessing Country Names | country.names |
| Plotting Posterior Distribution of the Double Logistic Function | DLcurve.plot DLcurve.plot.all tfr.country.dlcurves tfr.world.dlcurves |
| Accessing Country Information | get.countries.phase get.countries.phase.bayesTFR.mcmc.set get.countries.phase.bayesTFR.prediction get.countries.table get.countries.table.bayesTFR.mcmc.set get.countries.table.bayesTFR.prediction get.country.object |
| Covariance Matrices of Gamma Parameters | get.cov.gammas |
| Accessing estimated bias and standard deviations | get.bias.model get.std.model tfr.bias.sd |
| Accessing Subnational Prediction Objects | get.regtfr.prediction |
| Accessing a Convergence Object | get.tfr.convergence get.tfr.convergence.all get.tfr3.convergence get.tfr3.convergence.all |
| Get Past TFR Estimation | get.tfr.estimation |
| Accessing MCMC Results | get.tfr.mcmc get.tfr3.mcmc has.tfr.mcmc has.tfr3.mcmc tfr.mcmc tfr.mcmc.list |
| Accessing MCMC Parameter Traces | get.tfr.parameter.traces get.tfr.parameter.traces.cs get.tfr3.parameter.traces get.tfr3.parameter.traces.cs |
| Accessing a Prediction Object | available.tfr.predictions get.tfr.prediction has.tfr.prediction |
| Accessing TFR Trajectories | get.tfr.trajectories |
| Creating and Accessing Thinned MCMCs | create.thinned.tfr.mcmc get.thinned.tfr.mcmc |
| Total Number of Iterations | get.stored.mcmc.length get.total.iterations |
| Inclusion Codes | include include_2010 include_2012 include_2015 include_2017 include_2019 include_2022 include_2024 |
| Running Markov Chain Monte Carlo for Parameters of Total Fertility Rate in Phase II | bayesTFR.mcmc.set continue.tfr.mcmc run.tfr.mcmc |
| Run MCMC for Extra Countries, Areas or Regions | run.tfr.mcmc.extra |
| Running Markov Chain Monte Carlo for Parameters of Total Fertility Rate in Phase III | continue.tfr3.mcmc run.tfr3.mcmc |
| Summary of a TFR Convergence Object | summary.bayesTFR.convergence |
| Summary Statistics for TFR Markov Chain Monte Carlo Chains | print.summary.bayesTFR.mcmc.set print.summary.bayesTFR.mcmc.set.meta summary.bayesTFR.mcmc summary.bayesTFR.mcmc.set |
| Summary of a Prediction of the Total Fertility Rate | print.summary.bayesTFR.prediction summary.bayesTFR.prediction |
| Raw TFR Data | rawTFR |
| Convergence Diagnostics of TFR Markov Chain Monte Carlo | bayesTFR.convergence has.mcmc.converged tfr.diagnose tfr3.diagnose |
| Goodness of Fit of the Double Logistic Function | tfr.dl.coverage |
| Plot TFR Estimation | tfr.estimation.plot |
| TFR World Map | get.tfr.map.parameters tfr.ggmap tfr.map tfr.map.all tfr.map.gvis |
| Editing Medians of the Projection | tfr.median.adjust tfr.median.reset tfr.median.set tfr.median.shift tfr.shift.prediction.to.wpp |
| Editing median for estimation and projections. | tfr.median.reset.estimation tfr.median.set.all tfr.shift.estimation.to.wpp |
| Accessing Parameter Names | tfr.parameter.names tfr.parameter.names.cs tfr.parameter.names.cs.extended tfr.parameter.names.extended tfr3.parameter.names tfr3.parameter.names.cs |
| Plotting MCMC Parameter Density | tfr.pardensity.cs.plot tfr.pardensity.plot tfr3.pardensity.cs.plot tfr3.pardensity.plot |
| Plotting MCMC Parameter Traces | tfr.partraces.cs.plot tfr.partraces.plot tfr3.partraces.cs.plot tfr3.partraces.plot |
| Generating Posterior Trajectories of the Total Fertility Rate | bayesTFR.prediction tfr.predict |
| Generating Posterior Trajectories of the Total Fertility Rate for Specific Countries or Regions | tfr.predict.extra |
| Generating Posterior Trajectories of Subnational TFR | tfr.predict.subnat |
| Raftery Diagnostics for Parameters of the Total Fertility Rate | tfr.raftery.diag tfr3.raftery.diag |
| Output of Posterior Distribution of TFR Trajectories | tfr.trajectories.plot tfr.trajectories.plot.all tfr.trajectories.table |
| Dataset with UN-specific Time Coding | UN_time |
| Dataset with UN-specific Coding of Variants | UN_variants |
| Writing Projection Summary Files | write.projection.summary |
