predict: Prediction

Description Usage Arguments Details See Also

Description

predict gives empirical Bayes predictions of the response, while sigma gives the dispersion parameter.

Usage

1
2
3
4
5
6
## 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 mhglm object

newdata, type, se.fit, na.action

these arguments behave as in predict.glm. See Details, below.

...

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

predict.

sigma, from package lme4.


mbest documentation built on May 2, 2019, 2:14 p.m.