fit_Bliss {bliss}  R Documentation 
fit_Bliss
Description
Fit the Bayesian Functional Linear Regression model (with Q functional covariates).
Usage
fit_Bliss(
data,
param,
compute_density = TRUE,
sann = TRUE,
support_estimate = TRUE,
verbose = FALSE
)
Arguments
data 
a list containing:

param 
a list containing:

compute_density 
a logical value. If TRUE, the posterior density of the coefficient function is computed. (optional) 
sann 
a logical value. If TRUE, the Bliss estimate is computed with a Simulated Annealing Algorithm. (optional) 
support_estimate 
a logical value. If TRUE, the estimate of the coefficient function support is computed. (optional) 
verbose 
write stuff if TRUE (optional). 
Value
return a list containing:
 alpha
a list of Q numerical vector. Each vector is the function alpha(t) associated to a functional covariate. For each t, alpha(t) is the posterior probabilities of the event "the support covers t".
 beta_posterior_density
a list of Q items. Each item contains a list containing information to plot the posterior density of the coefficient function with the
image
function.grid_t
a numerical vector: the xaxis.
grid_beta_t
a numerical vector: the yaxis.
density
a matrix: the z values.
new_beta_sample
a matrix: beta sample used to compute the posterior densities.
 beta_sample
a list of Q matrices. The qth matrix is a posterior sample of the qth functional covariates.
 Bliss_estimate
a list of numerical vectors corresponding to the Bliss estimates of each functional covariates.
 chains
a list of
posterior_sample
.chains
isNULL
ifn_chains
=1. chains_info
a list for each chain providing: a mu estimate, a sigma_sq estimate, the Smooth estimate of the coefficient function and the autocorrelation of the Markov Chain.
 data
a list containing the data.
 posterior_sample
a list of information about the posterior sample: the trace matrix of the Gibbs sampler, a list of Gibbs sampler parameters and the posterior densities.
 support_estimate
a list of support estimates of each functional covariate.
 support_estimate_fct
another version of the support estimates.
 trace_sann
a list of Q matrices which are the trace of the Simulated Annealing algorithm.
Examples
# see the vignette BlissIntro.