Package: bayesLife 5.3-1
bayesLife: Bayesian Projection of Life Expectancy
Making probabilistic projections of life expectancy for all countries of the world, using a Bayesian hierarchical model <doi:10.1007/s13524-012-0193-x>. Subnational projections are also supported.
Authors:
bayesLife_5.3-1.tar.gz
bayesLife_5.3-1.tar.gz(r-4.5-noble)bayesLife_5.3-1.tar.gz(r-4.4-noble)
bayesLife_5.3-1.tgz(r-4.4-emscripten)bayesLife_5.3-1.tgz(r-4.3-emscripten)
bayesLife.pdf |bayesLife.html✨
bayesLife/json (API)
# Install 'bayesLife' in R: |
install.packages('bayesLife', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- DLpriors - Global options
- 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
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 20 days agofrom:95a1b54dce. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-linux-x86_64 | OK | Dec 06 2024 |
Exports:available.e0.predictionscompute.loesscompute.residualscontinue.e0.mcmcconvert.e0.trajectoriescreate.thinned.e0.mcmce0.coda.list.mcmce0.country.dlcurvese0.diagnosee0.dl.coveragee0.DLcurve.plote0.DLcurve.plot.alle0.DLisDecremente0.gap.plote0.gap.plot.alle0.get.dlcurvese0.ggmape0.jmale.estimatee0.jmale.predicte0.jmale.predict.subnate0.joint.plote0.joint.plot.alle0.mape0.map.alle0.map.gvise0.mcmce0.mcmc.liste0.median.adjust.jmalee0.median.resete0.median.sete0.median.shifte0.parameter.namese0.parameter.names.cse0.parameter.names.cs.extendede0.parameter.names.extendede0.pardensity.cs.plote0.pardensity.plote0.parDL.plote0.partraces.cs.plote0.partraces.plote0.predicte0.predict.extrae0.predict.subnate0.raftery.diage0.shift.prediction.to.wppe0.trajectories.plote0.trajectories.plot.alle0.trajectories.tablee0.world.dlcurvese0mcmc.dlpriors.optionse0mcmc.optionse0optionse0pred.optionsget.DLpriorsget.e0.convergenceget.e0.convergence.allget.e0.jmale.predictionget.e0.map.parametersget.e0.mcmcget.e0.parameter.tracesget.e0.parameter.traces.csget.e0.predictionget.e0.shiftget.e0.trajectoriesget.rege0.predictionget.thinned.e0.mcmchas.e0.jmale.predictionhas.e0.mcmchas.e0.predictionrun.e0.mcmcrun.e0.mcmc.extrastore.bayesLife.convergencestore.bayesLife.predictionsubnat.gap.estimatesusing.bayesLifewrite.e0.projection.summary
Dependencies:abindbackportsbayesTFRbootbroomcarcarDataclicodacolorspacecowplotcpp11data.tableDerivdoBydplyrfansifarverFormulagenericsggplot2gluegtablehettisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6RColorBrewerRcppRcppEigenrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrwpp2019
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Bayesian Projection of the Life Expectancy | bayesLife-package bayesLife |
MCMC Simulation Object | bayesLife.mcmc |
MCMC Simulation Meta Object | bayesLife.mcmc.meta |
Computing Residuals and Fitting Local Polynomial Regression | compute.loess compute.residuals |
Converting Trajectories of Life Expectancy into ACSII Files | convert.e0.trajectories |
Convertion to coda's Objects | coda.mcmc.bayesLife.mcmc e0.coda.list.mcmc |
Convergence Diagnostics for Markov Chain Monte Carlo of Life Expectancy | bayesLife.convergence e0.diagnose |
Goodness of Fit of the Double Logistic Function | e0.dl.coverage |
Plotting Posterior Distribution of the Double Logistic Function of Life Expectancy | e0.country.dlcurves e0.DLcurve.plot e0.DLcurve.plot.all e0.parDL.plot e0.world.dlcurves |
Posterior Distribution of Gaps in Female and Male Life Expectancy | e0.gap.plot e0.gap.plot.all |
Estimation of the Joint Female-Male Model | e0.jmale.estimate |
Prediction of the Joint Female-Male Model | e0.jmale.predict |
Joint Posterior Distribution of Female and Male Life Expectancy | e0.joint.plot e0.joint.plot.all |
World Map of the Life Expectancy | e0.ggmap e0.map e0.map.all e0.map.gvis get.e0.map.parameters |
Editing the Projection Medians | e0.median.adjust.jmale e0.median.reset e0.median.set e0.median.shift e0.shift.prediction.to.wpp |
Accessing Parameter Names | e0.parameter.names e0.parameter.names.cs e0.parameter.names.cs.extended e0.parameter.names.extended |
Plotting MCMC Parameter Density | e0.pardensity.cs.plot e0.pardensity.plot |
Plotting MCMC Parameter Traces | e0.partraces.cs.plot e0.partraces.plot |
Generating Posterior Trajectories of the Life Expectancy | bayesLife.prediction e0.predict |
Generating Posterior Trajectories of the Life Expectancy for Specific Countries or Regions | e0.predict.extra |
Generating Posterior Trajectories of Subnational Life Expectancy at Birth | e0.jmale.predict.subnat e0.predict.subnat subnat.gap.estimates |
Raftery Diagnostics for Parameters of the Life Expectancy | e0.raftery.diag |
Posterior Distribution of Trajectories of Life Expectancy | e0.trajectories.plot e0.trajectories.plot.all e0.trajectories.table |
Global options | DLpriors e0mcmc.dlpriors.options e0mcmc.options e0options e0pred.options get.DLpriors using.bayesLife |
Accessing a Convergence Object | get.e0.convergence get.e0.convergence.all |
Accessing MCMC Results | e0.mcmc e0.mcmc.list get.e0.mcmc has.e0.mcmc |
Accessing MCMC Parameter Traces | get.e0.parameter.traces get.e0.parameter.traces.cs |
Accessing a Prediction Object | available.e0.predictions get.e0.jmale.prediction get.e0.prediction has.e0.jmale.prediction has.e0.prediction |
Accessing Trajectories of Life Expectancy | get.e0.trajectories |
Accessing Subnational Prediction Objects | get.rege0.prediction |
Creating and Accessing Thinned MCMCs | create.thinned.e0.mcmc get.thinned.e0.mcmc |
Inclusion Codes | include include_2010 include_2012 include_2015 include_2017 include_2019 include_2022 include_2024 |
Running Bayesian Hierarchical Model for Life Expectancy via Markov Chain Monte Carlo | bayesLife.mcmc.set continue.e0.mcmc run.e0.mcmc |
Run MCMC for Extra Countries, Areas or Regions | run.e0.mcmc.extra |
Summary of a Life Expectancy Convergence Object | summary.bayesLife.convergence |
Summary Statistics for Life Expectancy MCMCs | print.summary.bayesLife.mcmc.set print.summary.bayesLife.mcmc.set.meta summary.bayesLife.mcmc summary.bayesLife.mcmc.set |
Summary of a Prediction of the Life Expectancy | print.summary.bayesLife.prediction summary.bayesLife.prediction |
Writing Projection Summary Files | write.e0.projection.summary |