predict.hierCredTweedie {actuaRE}R Documentation

Model predictions

Description

Obtain predictions based on the model fit with hierCredTweedie

Usage

## S3 method for class 'hierCredTweedie'
predict(object, newdata = NULL, ...)

Arguments

object

a model object for which prediction is desired.

newdata

optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

...

arguments passed to cpglm

Details

The random effects are taken into account by specifying these as an offset in the predict.cpglm function.

Value

If newdata is omitted the predictions are based on the data used for the fit.

See Also

hierCredTweedie


[Package actuaRE version 0.1.5 Index]