• Research
  • Publications
  • Talks
  • Books
    • BMHE
    • BCEA book
    • BMPR
  • Software
    • BCEA
    • survHE
    • blendR
    • bmhe
    • SWSamp
    • bmeta
    • INLA
  • Blog
  • Teaching
    • Summer school

Summary function in survhe

Bayesian statistics
Health economics
R
Software
Author

Written by Gianluca

Published

May 23, 2023

I’ve been made aware that in the whole restructuring I’ve done to survHE there was something that escaped my control and so there’s a tiny bug in the current CRAN version (2.0.1). The only function affected (he says… 😉) is summary, which is used to compute the mean survival time on a grid of time points. Because I had to rename one of the key variables stored in the object that is created in the background by the function make.surv (that generates the samples to perform the uncertainty analysis), the resulting table with the summary statistics for the mean survival time were all wrong (and all set to 0).

The fix was pretty easy, but thanks to Michalis Galanakis (who’s a MSc student at Athens University of Economics and Business) for alerting me to that!

The revised version of survHE available from the GitHub repo works fine and can be installed using the following command.

remotes::install_github("giabaio/survHE")

         

© Gianluca Baio 2022-2024