Title: | Survival Analysis in Health Economic Evaluation using Hamiltonian Monte Carlo |
---|---|
Description: | A module to complement the backbone structure of the package 'survHE' and expand its functionality to run survival models under a Bayesian approach (based on Hamiltonian Monte Carlo). <doi:10.18637/jss.v095.i14>. |
Authors: | Gianluca Baio [aut, cre], Philip Cooney [ctb], Andrew Jones [ctb] |
Maintainer: | Gianluca Baio <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.1 |
Built: | 2024-11-17 17:19:58 UTC |
Source: | https://github.com/giabaio/survHEhmc |
Runs the survival analysis using a Poly-Weibull model
poly.weibull(formula = NULL, data, ...)
poly.weibull(formula = NULL, data, ...)
formula |
a list of formulae (one for each components of the mixture.
Can specify one single formula (in which case, the model is a simple Weibull
regression). For example, a valid call is using
|
data |
A data frame containing the data to be used for the analysis.
This must contain data for the 'event' variable. In case there is no
censoring, then |
... |
Additional options (for INLA or HMC). HMC specific options |
On object in the class survHE
containing the following elements
models |
A list containing the fitted models. These contain
the output from the original inference engine ( |
model.fitting |
A list containing the output of the model-fit statistics (AIC, BIC, DIC). The AIC and BIC are estimated for all methods, while the DIC is only estimated when using Bayesian inference. |
method |
A string indicating the method used to
fit the model, ie |
misc |
A list containing the time needed to run the model(s) (in
seconds), the formula used, the results of the Kaplan-Meier analysis (which
is automatically performed using |
Something will go here
Gianluca Baio
G Baio (2019). survHE: Survival analysis for health economic evaluation and cost-effectiveness modelling. Journal of Statistical Software (2020). vol 95, 14, 1-47. doi:10.18637/jss.v095.i14
fit.models
, make.surv
## Not run: #See Baio (2019) for extended example
## Not run: #See Baio (2019) for extended example
for a given formula and dataset
runHMC(x, exArgs)
runHMC(x, exArgs)
x |
a (vector of) string(s) containing the name(s) of the model(s) to be fitted |
exArgs |
a list of extra arguments passed from the main 'fit.models' function |
Something will go here
Gianluca Baio
Baio (2020). survHE
fit.models