gvcm.cat (version 1.9)

predict.gvcm.cat: Predict Method for gvcm.cat Fits

Description

Obtains predictions from a fitted gvcm.cat object.

Usage

"predict"(object, newdata, type = "link", ...)

Arguments

object
a fitted object of class gvcm.cat
newdata
a data frame in which to look for variables with which to predict
type
the type of prediction required. The default is on the scale of the linear predictors; the alternative "response" is on the scale of the response variable. Thus for a binomial model the default predictions are of log-odds (probabilities on logit scale) and type = "response" gives the predicted probabilities
...
further arguments passed to or from other methods

Value

fit
predictions
fit.refitted
predictions assuming refitted coefficients
fit.oml
predictions assuming maximum likelihood estimates
na.action
information returned by model.frame on the special handling of NAs; currently always na.omit

Details

Observations containing NAs are always omitted.

See Also

Function gvcm.cat

Examples

Run this code
## see example for function gvcm.cat 

Run the code above in your browser using DataLab