r_pred_joint {spBPS}R Documentation

Draw from the joint posterior predictive for a set of unobserved covariates

Description

Draw from the joint posterior predictive for a set of unobserved covariates

Usage

r_pred_joint(data, X_u, d_u, d_us, hyperpar, poster, R)

Arguments

data

list two elements: first named Y, second named X

X_u

matrix unobserved instances covariate matrix

d_u

matrix unobserved instances distance matrix

d_us

matrix cross-distance between unobserved and observed instances matrix

hyperpar

list two elemets: first named \delta, second named \phi

poster

list output from fit_cpp function

R

integer number of posterior predictive samples

Value

list posterior predictive samples


[Package spBPS version 0.0-4 Index]