| predict | R Documentation |
predict gives empirical Bayes predictions of the response, while
sigma gives the dispersion parameter.
## 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, ...)
object |
an |
newdata, type, se.fit, na.action |
these arguments behave as in |
... |
further arguments passed to or from other methods. |
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.
predict, sigma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.