Learn R Programming

⚠️There's a newer version (3.8) of this package.Take me there.

bayesSurv (version 0.5-6)

Bayesian Survival Regression with Flexible Error and Random Effects Distributions

Description

Later

Copy Link

Version

Install

install.packages('bayesSurv')

Monthly Downloads

243

Version

0.5-6

License

GPL version 2 or newer

Maintainer

Arnost Komarek

Last Published

September 16th, 2024

Functions in bayesSurv (0.5-6)

bayesGspline

Summary for the density estimate based on the model with Bayesian G-splines.
bayesHistogram

Smoothing of a uni- or bivariate histogram using Bayesian G-splines
traceplot2

Trace plot of MCMC output.
bayesDensity

Summary for the density estimate based on the mixture Bayesian AFT model.
bayessurvreg.help

Helping function for Bayesian survival regression models.
vecr2matr

Transform single component indeces to double component indeces
credible.region

Compute a simultaneous credible region (rectangle) from a sample for a vector valued parameter.
bayesBisurvreg

Population-averaged accelerated failure time model for bivariate, possibly doubly-interval-censored data. The error distribution is expressed as a~penalized bivariate normal mixture with high number of components (bivariate G-spline).
bayessurvreg1.files2init

Read the initial values for the Bayesian survival regression model to the list.
marginal.bayesGspline

Summary for the marginal density estimates based on the bivariate model with Bayesian G-splines.
bayesHistogram.help

Helping function for Bayesian smoothing of (bi)-variate densities based on possibly censored data
files.Gspline

Write headers to or clean files with sampled G-spline
sampled.kendall.tau

Estimate of the Kendall's tau from the bivariate model
bayessurvreg2.help

Helping functions for Bayesian regression with an error distribution smoothed using G-splines
give.summary

Brief summary for the chain(s) obtained using the MCMC.
bayessurvreg1

A Bayesian survival regression with an error distribution expressed as a~normal mixture with unknown number of components
cgd

Chronic Granulomatous Disease data
predictive2

Compute predictive quantities based on a Bayesian survival regression model fitted using bayesBisurvreg or bayessurvreg2 or bayessurvreg3 functions.
densplot2

Probability density function estimate from MCMC output
plot.bayesGspline

Plot an object of class bayesGspline
plot.marginal.bayesGspline

Plot an object of class marginal.bayesGspline
simult.pvalue

Compute a simultaneous p-value from a sample for a vector valued parameter.
tandmob2

Signal Tandmobiel data, version 2
bayessurvreg1.help

Helping function for Bayesian survival regression models, version 1.
files2coda

Read the sampled values from the Bayesian survival regression model to a coda mcmc object.
tandmobRoos

Signal Tandmobiel data, version Roos
bayessurvreg3

Cluster-specific accelerated failure time model for multivariate, possibly doubly-interval-censored data with flexibly specified random effects and/or error distribution.
bayessurvreg3.help

Helping functions for Bayesian regression with an error distribution smoothed using G-splines
plot.bayesDensity

Plot an object of class bayesDensity
predictive

Compute predictive quantities based on a Bayesian survival regression model fitted using bayessurvreg1 function.
print.bayesDensity

Print a summary for the density estimate based on the Bayesian model.
bayesBisurvreg.help

Helping function for Bayesian regression with smoothed bivariate densities as the error term, based on possibly censored data
scanFN

Read Data Values
rMVNorm

Sample from the multivariate normal distribution
rWishart

Sample from the Wishart distribution
give.init

Check and possibly fill in initial values for the G-spline, augmented observations and allocations for Bayesian models with G-splines
sampleCovMat

Compute a sample covariance matrix.
bayessurvreg2

Cluster-specific accelerated failure time model for multivariate, possibly doubly-interval-censored data. The error distribution is expressed as a~penalized univariate normal mixture with high number of components (G-spline). The distribution of the vector of random effects is multivariate normal.