# Class "hierCredGLM" of fitted random effects models estimated with Ohlsson's GLMC algorithm

`hierCredGLM-class.Rd`

Class "hierCredGLM" of fitted random effects models estimated with Ohlsson's GLMC algorithm

## Arguments

- x
an object of class

`hierCredGLM`

- ...
currently ignored.

- object
an object of class

`hierCredGLM`

## Value

The function `hierCredGLM`

returns an object of class `hierCredGLM`

, which has the following slots:

- call
the matched call

- HierarchicalResults
results of the hierarchical credibility model.

- fitGLM
the results from fitting the GLM part.

- iter
total number of iterations.

- Converged
logical indicating whether the algorithm converged.

- LevelsCov
object that summarizes the unique levels of each of the contract-specific covariates.

- fitted.values
the fitted mean values, resulting from the model fit.

- prior.weights
the weights (exposure) initially supplied.

- y
if requested, the response vector. Default is

`TRUE`

.

## S3 methods

`print`

:Prints the

`call`

, the estimated variance parameters, the unique number of categories of the hierarchical MLF and the output of the GLM part. The`...`

argument is currently ignored. Returns an invisible copy of the original object.`summary`

:In addition to the output of the

`print.hierCredGLM`

function, the`summary`

function also prints the random effect estimates and a summary of the GLM (see`summary.speedglm`

). Returns an invisible copy of the original object.`fitted`

:Returns the fitted values.