predict_bliss {bliss}R Documentation

predict_bliss

Description

Compute predictions.

Usage

predict_bliss(x, grids, burnin, posterior_sample, Smooth_estimate)

Arguments

x

a list containing the design matrices related to the functional covariates. Must be similar to the result of the function sim_x.

grids

a list of numerical vectors, the qth vector is the grid of time points for the qth functional covariate.

burnin

an integer (optional), the number of iteration to drop from the posterior sample.

posterior_sample

a list provided by the function Bliss_Gibbs_Sampler.

Smooth_estimate

one of the objects resulting from Bliss_Simulated_Annealing.

Value

A vector of predictions for each individual data x.

Examples


data(data1)
data(param1)
data(res_bliss1)

predict_bliss(data1$x,data1$grids,50,res_bliss1$posterior_sample,res_bliss1$smooth_estimate)


[Package bliss version 1.1.1 Index]