Details

spsurv-package

The 'spsurv' package.

Fitter functions

Functions for fitting a BP based survival regression model.

bpph()

Bernstein Polynomial Based Proportional Hazards Model

bppo()

Bernstein Polynomial Based Proportional Odds Model

bpaft()

Bernstein Polynomial Based Accelerated Failure Time Model

spbp()

spbp: The BP Based Survival Analysis Function

spbp(<default>)

spbp: The BP Based Semiparametric Survival Analysis Function

S3 methods for using rstan functions.

stan_dens(<spbp>)

Density plots method for fitted spbp models

stan_dens()

Generic S3 method extract

extract(<spbp>)

Extract method for fitted spbp models

extract()

Generic S3 method extract

traceplot(<spbp>)

Traceplot method for fitted spbp models

traceplot()

Generic S3 method traceplot

Extraction functions.

Functions for extracting useful information about the results.

coef(<spbp>)

Estimated regression coefficients

coef()

Generic S3 method coef

confint(<spbp>)

Confidence intervals for the regression coefficients

confint()

Generic S3 method confint

mode()

Calculate the posterior mode

model.matrix(<spbp>)

Model.matrix method for fitted spbp models

residuals(<spbp>)

BP based models residuals.

survivor()

Generic S3 method vcov

vcov(<spbp>)

Covariance of the regression coefficients

vcov()

Generic S3 method vcov

Bernstein polynomial basis function.

Function for supporting the computation of the BP basis.

bp.basis()

Bernstein basis polynomials calculations

Data generating function.

Function for generating simulated data.

itsamp()

Inverse Transform Sampling To Generate Time-to-event Data From Parametric Models

Print and summary functions.

Functions for printing and summarising the spbp outcomes.

print(<spbp>)

Bernstein Polynomial Based Regression Object Print

print(<summary.bpaft.bayes>)

Bernstein Polynomial Based Regression Object Summary BPAFT Bayes

print(<summary.bpaft.mle>)

Bernstein Polynomial Based Regression Object Summary BPAFT MLE

print(<summary.bpph.bayes>)

Bernstein Polynomial Based Regression Object Summary BPPH Bayes

print(<summary.bpph.mle>)

Bernstein Polynomial Based Regression Object Summary BPPH MLE

print(<summary.bppo.bayes>)

Bernstein Polynomial Based Regression Object Summary BPPO Bayes

print(<summary.bppo.mle>)

Bernstein Polynomial Based Regression Object BPPO MLE

print(<summary.spbp.bayes>)

Bernstein Polynomial Based Regression Object Summary Bayes

print(<summary.spbp.mle>)

Bernstein Polynomial Based Regression Object Summary MLE

summary(<spbp>)

Bernstein Polynomial Based Regression Object Summary