fitted.blm {bsamGP} | R Documentation |
Compute fitted values for a blm object
Description
Computes pointwise posterior means and 95% credible intervals of the fitted Bayesian linear models.
Usage
## S3 method for class 'blm'
fitted(object, alpha = 0.05, HPD = TRUE, ...)
Arguments
object |
a |
alpha |
a numeric scalar in the interval (0,1) giving the |
HPD |
a logical variable indicating whether the |
... |
not used |
Details
None.
Value
A list containing posterior means and 95% credible intervals.
The output list includes the following objects:
wbeta |
posterior estimates for regression function. |
yhat |
posterior estimates for generalised regression function. |
References
Chen, M., Shao, Q. and Ibrahim, J. (2000) Monte Carlo Methods in Bayesian computation. Springer-Verlag New York, Inc.
See Also
Examples
## See examples for blq and blr