Package: bayesLife 5.3-1

Hana Sevcikova

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:Hana Sevcikova [cre, aut], Adrian Raftery [aut], Jennifer Chunn [aut]

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'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.39 score 1 stars 1 packages 41 scripts 772 downloads 2 mentions 76 exports 66 dependencies

Last updated 20 days agofrom:95a1b54dce. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-linux-x86_64OKDec 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 pageTopics
Bayesian Projection of the Life ExpectancybayesLife-package bayesLife
MCMC Simulation ObjectbayesLife.mcmc
MCMC Simulation Meta ObjectbayesLife.mcmc.meta
Computing Residuals and Fitting Local Polynomial Regressioncompute.loess compute.residuals
Converting Trajectories of Life Expectancy into ACSII Filesconvert.e0.trajectories
Convertion to coda's Objectscoda.mcmc.bayesLife.mcmc e0.coda.list.mcmc
Convergence Diagnostics for Markov Chain Monte Carlo of Life ExpectancybayesLife.convergence e0.diagnose
Goodness of Fit of the Double Logistic Functione0.dl.coverage
Plotting Posterior Distribution of the Double Logistic Function of Life Expectancye0.country.dlcurves e0.DLcurve.plot e0.DLcurve.plot.all e0.parDL.plot e0.world.dlcurves
Posterior Distribution of Gaps in Female and Male Life Expectancye0.gap.plot e0.gap.plot.all
Estimation of the Joint Female-Male Modele0.jmale.estimate
Prediction of the Joint Female-Male Modele0.jmale.predict
Joint Posterior Distribution of Female and Male Life Expectancye0.joint.plot e0.joint.plot.all
World Map of the Life Expectancye0.ggmap e0.map e0.map.all e0.map.gvis get.e0.map.parameters
Editing the Projection Medianse0.median.adjust.jmale e0.median.reset e0.median.set e0.median.shift e0.shift.prediction.to.wpp
Accessing Parameter Namese0.parameter.names e0.parameter.names.cs e0.parameter.names.cs.extended e0.parameter.names.extended
Plotting MCMC Parameter Densitye0.pardensity.cs.plot e0.pardensity.plot
Plotting MCMC Parameter Tracese0.partraces.cs.plot e0.partraces.plot
Generating Posterior Trajectories of the Life ExpectancybayesLife.prediction e0.predict
Generating Posterior Trajectories of the Life Expectancy for Specific Countries or Regionse0.predict.extra
Generating Posterior Trajectories of Subnational Life Expectancy at Birthe0.jmale.predict.subnat e0.predict.subnat subnat.gap.estimates
Raftery Diagnostics for Parameters of the Life Expectancye0.raftery.diag
Posterior Distribution of Trajectories of Life Expectancye0.trajectories.plot e0.trajectories.plot.all e0.trajectories.table
Global optionsDLpriors e0mcmc.dlpriors.options e0mcmc.options e0options e0pred.options get.DLpriors using.bayesLife
Accessing a Convergence Objectget.e0.convergence get.e0.convergence.all
Accessing MCMC Resultse0.mcmc e0.mcmc.list get.e0.mcmc has.e0.mcmc
Accessing MCMC Parameter Tracesget.e0.parameter.traces get.e0.parameter.traces.cs
Accessing a Prediction Objectavailable.e0.predictions get.e0.jmale.prediction get.e0.prediction has.e0.jmale.prediction has.e0.prediction
Accessing Trajectories of Life Expectancyget.e0.trajectories
Accessing Subnational Prediction Objectsget.rege0.prediction
Creating and Accessing Thinned MCMCscreate.thinned.e0.mcmc get.thinned.e0.mcmc
Inclusion Codesinclude 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 CarlobayesLife.mcmc.set continue.e0.mcmc run.e0.mcmc
Run MCMC for Extra Countries, Areas or Regionsrun.e0.mcmc.extra
Summary of a Life Expectancy Convergence Objectsummary.bayesLife.convergence
Summary Statistics for Life Expectancy MCMCsprint.summary.bayesLife.mcmc.set print.summary.bayesLife.mcmc.set.meta summary.bayesLife.mcmc summary.bayesLife.mcmc.set
Summary of a Prediction of the Life Expectancyprint.summary.bayesLife.prediction summary.bayesLife.prediction
Writing Projection Summary Fileswrite.e0.projection.summary