Compute the posterior coefficient function from the posterior sample.
compute_beta_sample(posterior_sample, param)
a list provided by the function Bliss_Gibbs_Sampler
.
a list containing:
a vector of integers, corresponding to the numbers of intervals for each covariate.
a numerical vector, the observation time points.
a character (optional) among : "uniform" (default), "epanechnikov", "gauss" and "triangular" which correspond to different basis functions to expand the coefficient function and the functional covariates.
an integer, the number of functional covariates.
a vector of integers, the numbers of time points of each functional covariate.
a matrix containing the coefficient function posterior sample.