StatisticsHealthEconomics / multimcm

Bayesian relative mixture cure modelling with Stan.
https://StatisticsHealthEconomics.github.io/multimcm
Other
0 stars 0 forks source link

use rstan::gqs() to run posterior predictions of KM script #11

Open n8thangreen opened 3 years ago

n8thangreen commented 3 years ago

create a stanmodel of postpred.stan first and then run with prerun output of posterior samples

postpred_exp_exp_gqs.stan isnt working at the moment because of some weird error...

https://mc-stan.org/rstan/reference/stan_model.html https://mc-stan.org/rstan/reference/stanmodel-method-gqs.html

n8thangreen commented 3 years ago

Written R script to do this outside of Stan https://github.com/StatisticsHealthEconomics/rstanbmcm/commit/d669b7b0f3fcf98bd9af1b6ce0fe0f261962d90e