Learn R Programming

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

bayesSurv (version 0.5-1)

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-1

License

GPL version 2 or newer

Maintainer

Arnost Komarek

Last Published

September 16th, 2024

Functions in bayesSurv (0.5-1)

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.
bayesHistogram.help

Helping function for Bayesian smoothing of (bi)-variate densities based on possibly censored data
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.help

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

Smoothing of a uni- or bivariate histogram using Bayesian G-splines
plot.marginal.bayesGspline

Plot an object of class marginal.bayesGspline
bayesBisurvreg.help

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

Helping function for Bayesian survival regression models.
sampleCovMat

Compute a sample covariance matrix.
bayesGspline

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

Transform single component indeces to double component indeces
sampled.kendall.tau

Estimate of the Kendall's tau from the bivariate model
credible.region

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

Sample from the multivariate normal distribution
files.Gspline

Write headers to or clean files with sampled G-spline
bayessurvreg3.help

Helping functions for Bayesian regression with an error distribution smoothed using G-splines
bayessurvreg3

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

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

Helping functions for Bayesian regression with an error distribution smoothed using G-splines
cgd

Chronic Granulomatous Disease data
predictive2

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

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

Compute predictive quantities based on a Bayesian survival regression model fitted using bayessurvreg1 function.
plot.bayesGspline

Plot an object of class bayesGspline
tandmobRoos

Signal Tandmobiel data, version Roos
rWishart

Sample from the Wishart distribution
print.bayesDensity

Print a summary for the density estimate based on the Bayesian model.
give.init

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

Signal Tandmobiel data, version 2
traceplot2

Trace plot of MCMC output.
densplot2

Probability density function estimate from MCMC output
simult.pvalue

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

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

Plot an object of class bayesDensity
marginal.bayesGspline

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

Read Data Values
bayessurvreg1.files2init

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

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