predict.countgmifs: Predict Outcome for Count GMIFS Fitted Model.

Description Usage Arguments See Also

View source: R/predict.countgmifs.R

Description

This function returns a numeric vector that is the predicted response from the countgmifs fitted object.

Usage

1
2
3
## S3 method for class 'countgmifs'
predict(object, neww = NULL, newdata, newx = NULL,
  model.select = "BIC", newoffset=NULL, ...)

Arguments

object

an ordinalgmifs fitted object.

neww

an optional formula that includes the unpenalized variables to use for predicting the response. If omitted, the training data are used.

newdata

an optional data.frame that minimally includes the unpenalized variables to use for predicting the response. If omitted, the training data are used.

newx

an optional matrix of penalized variables to use for predicting the response. If omitted, the training data are used.

model.select

when x is specified any model along the solution path can be selected. The default is model.select="BIC" which calculates the predicted values using the coefficients from the model having the lowest BIC. Other options are model.select="AIC" or any numeric value from the solution path.

newoffset

If an offset is used in the fit, then one must be supplied for making predictions.

...

other arguments.

See Also

See Also countgmifs, coef.countgmifs, summary.countgmifs, plot.countgmifs


countgmifs documentation built on Jan. 8, 2020, 5:07 p.m.