Compute the posterior mean and variance of h at a new predictor values
Function to approximate the posterior mean and variance as a function of the estimated model parameters (e.g., tau, lambda, beta, and sigsq.eps)
ComputePostmeanHnew.approx(fit, y = NULL, Z = NULL, X = NULL, Znew = NULL, sel = NULL)
fit |
An object containing the results returned by a the |
y |
a vector of outcome data of length |
Z |
an |
X |
an |
Znew |
matrix of new predictor values at which to predict new |
sel |
logical expression indicating samples to keep; defaults to keeping the second half of all samples |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.