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

Description Usage Arguments Details Value See Also Examples

Description

Obtains predictions from a fitted gvcm.cat object.

Usage

1
2
## S3 method for class 'gvcm.cat'
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

Details

Observations containing NAs are always omitted.

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

See Also

Function gvcm.cat

Examples

1
## see example for function gvcm.cat 

gvcm.cat documentation built on May 1, 2019, 10:13 p.m.