dformula |
|
a formula expression of the form ~ predictor, the response being
ignored. This specifies the linear predictor for modelling the dispersion. A term of the
form offset(expression) is allowed. For insurance modelling, this will often be
the same as the mean model. |
nclaims |
|
vector giving the number of claims. |
exposure |
|
vector giving a measure of exposure to risk, usually proportional to policy years. |
link.power |
|
link function for modelling the mean. A linear predictor is used for the mean raised
to link.power, with 0 indicating the log-link. |
dlink.power |
|
link function for modelling the dispersion. A linear predictor is used for the
dispersion raised to link.power, with 0 indicating the log-link. |
var.power |
|
Scalar. The variance is assumed proportion to the mean raised to this power. Must be
between 1 and 2. |
data |
|
as for the glm function; see S-Plus documentation. |
subset |
|
as for the glm function; see S-Plus documentation. |
contrasts |
|
as for the glm function; see S-Plus documentation. |
method |
|
the method used to estimate the dispersion parameters; the default is "ml"
for maximum likelihood and the alternative is "reml" for restricted maximum
likelihood. Upper case and partial matches are allowed. |
mustart |
|
numeric vector giving starting values for the fitted values or expected responses.
Must be of the same length as the response, or of length 1 if a constant starting vector
is desired. Ignored if betastart is supplied. |
betastart |
|
numeric vector giving starting values for the regression coefficients in the
link-linear model for the mean. |
phistart |
|
numeric vector giving starting values for the dispersion parameters. |
control |
|
a list of iteration and algorithmic constants. See dglm.control for their
names and default values. These can also be set as arguments to tariff itself. |
ykeep |
|
logical flag: if TRUE, the vector of responses is returned. |
xkeep |
|
logical flag: if TRUE, the model.matrix for the mean model is
returned. |
zkeep |
|
logical flag: if TRUE, the model.matrix for the dispersion model is
returned. |