“predict” methods for fitted models generated by functions in package aod.
# S4 method for glimML
predict(object, newdata = NULL,
type = c("response", "link"), se.fit = FALSE, ...)
# S4 method for glimQL
predict(object, newdata = NULL,
type = c("response", "link"), se.fit = FALSE, ...)
A fitted model of formal class “glimML” (functions betabin
or negbin
) or
“glimQL” (functions quasibin
or quasipois
).
A data.frame providing all the explanatory variables necessary for predictions.
A character string indicating the scale on which predictions are made: either “response” for predictions on the observation scale, or “link” for predictions on the scale of the link.
A logical scalar indicating whether pointwise standard errors should be computed for the predictions.
Other arguments passed to methods.
Compute predictions for models of formal class “glimML”, presently generated
by functions betabin
and negbin
. See the examples for these functions.
Compute predictions for models of formal class “glimQL”, presently generated by the
functions quasibin
and quasibin
. See the examples for these functions.