powered by
Compute the distribution of the predictions.
predict_bliss_distribution(x, grids, burnin, posterior_sample, beta_sample)
A matrix containing predictions for each individual data x.
x
a list containing the design matrices related to the functional covariates. Must be similar to the result of the function sim_x.
sim_x
a list of numerical vectors, the qth vector is the grid of time points for the qth functional covariate.
an integer (optional), the number of iteration to drop from the posterior sample.
a list provided by the function Bliss_Gibbs_Sampler.
Bliss_Gibbs_Sampler
a list provided by the function compute_beta_sample.
compute_beta_sample
# \donttest{ data(data1) data(param1) data(res_bliss1) predict_bliss_distribution(data1$x,data1$grids,50,res_bliss1$posterior_sample, res_bliss1$beta_sample) # }
Run the code above in your browser using DataLab