predict {mbest} | R Documentation |
Prediction
Description
predict
gives empirical Bayes predictions of the response, while
sigma
gives the dispersion parameter.
Usage
## S3 method for class 'mhglm'
predict(object, newdata = NULL, type = c("link", "response"),
se.fit = FALSE, na.action = na.pass, ...)
## S3 method for class 'mhglm'
sigma(object, ...)
Arguments
object |
an |
newdata , type , se.fit , na.action |
these arguments behave as in |
... |
further arguments passed to or from other methods. |
Details
The predict
function gives empirical Bayes posterior mean estimates of
response values. If se.fit = TRUE
, then the conditional variances of
the random effects are used along with the fixed effect variance-covariance
matrix to estimate the standard errors.
The sigma
function gives the square root of the dispersion parameter
or the model; for linear models, this is the error standard deviation.
See Also
[Package mbest version 0.6 Index]