Bayesian Inference with Laplace Approximations and P-Splines

Laplace approximations and penalized B-splines are combined for fast Bayesian inference in latent Gaussian models. The routines can be used to fit survival models, especially proportional hazards and promotion time cure models (Gressani, O. and Lambert, P. (2018) ). The Laplace-P-spline methodology can also be implemented for inference in (generalized) additive models (Gressani, O. and Lambert, P. (2021) ). See the associated website for more information and examples.


Approximate Bayesian inference with blapsr

 

 

GitHub followers GitHub toplanguage GitHubreposize GitHub All Releases CRAN/METACRAN CRAN/METACRAN

 

Purpose


The blapsr package consists in a set of routines that can be used for analysis in survival models and (generalized) additive models. The methodology is based on the combination of Bayesian P-splines for flexible estimation of smooth functions and Laplace approximations to (selected) posterior distributions.

Version


First version (0.5.1) was published on CRAN 2020-07-13.
This is version 0.7.0 (submitted to CRAN on 2025-09-01).

Website


The link to the CRAN page is https://cran.r-project.org/package=blapsr.

Special thanks


This package was developed during a PhD thesis at Université catholique de Louvain (Belgium) that was funded in part by the Actions de Recherche Concertées (ARC 11/16-039) grant and another grant obtained from the Luxembourgish Ministry of higher education.

We are grateful to Vincent Bremhorst for providing the function on which the simcuredata.R routine is based. The latter is used for generating survival times in the promotion time cure model (Bremhorst and Lambert, 2016).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("blapsr")

0.7.0 by Oswaldo Gressani, a year ago


< https://github.com/oswaldogressani/blapsr>


Browse source code at https://github.com/cran/blapsr


Authors: Oswaldo Gressani [aut, cre] (Author) , Philippe Lambert [aut, ths] (Co-author and thesis advisor)


Documentation:   PDF Manual  


GPL-3 license


Imports coda, graphics, MASS, Matrix, RSpectra, sn, stats, utils

Depends on survival

Suggests knitr, rmarkdown, testthat


See at CRAN