The linear.bayes
object returns fitted coefficients. These are
used to construct predicted values. Since the fitting process for
linear.bayes
objects is based on moments of centered variables,
the 'intercept' is lost; see `Details' below.
# S3 method for linear.bayes
residuals(object, ...)
# S3 method for linear.bayes
predict(object, newdata = lb.call$ana.obj, return.resids =
FALSE, ...)
# S3 method for linear.bayes
fitted(...)
A vector of predicted values or residuals
An object returned by linear.bayes
possibly the following
Optional data.frame
in which to do the calculations
Not usually set by the user.
Charles C. Berry cberry@ucsd.edu
Since the linear.bayes object
is based on a moment
matrix, some information is lost thsat must be reconstructed or
assumed. The intercept and possibly the coefficients for control
variates are aong these. Also, when the call to linear.bayes
supplied the moment matrix rather than formulae with which to create
one, then it is unclear what variable was used as the regressand and
hence which variable to use in ofrming residuals. So, in that case,
residuals
will report an error
linear.bayes