HP.pri.start: Estimation of starting values for priors of the...

Description Usage Arguments Value References See Also

View source: R/HP.pri.start.R

Description

Estimates starting values for the priors of the modified 9-parameter Heligman-Pollard model from mortality rates by age and proportion of individuals death from non natural causes.

Usage

1
2
HP.pri.start(Si.qx, Prop.risk, Life.qx, age, rg = 0.25,
  control = nls.lm.control(maxiter = 100))

Arguments

Si.qx

A vector of the same length as "age" containing the total mortality rates by age (qx).

Prop.risk

A vector of the same length as "age" containing the proportion of death animals identified as death by external effects (other different than natural mortality).

Life.qx

Mortality vector qx form life table created with life.tab.

age

A vector containing the ages at which each age interval begins.

rg

The variation of the range at which the mean prior values will be multiplied to calculate low and high limits.

control

Allow the user to set some characteristics Levenberg-Marquardt nonlinear least squares algorithm implemented in nls.lm. see nls.lm.control

Value

A dataframe with low, high and mean starting values for priors, to be used for fitting a adapted 9-parametres Heligman-Pollard model

References

Heligman, L. and Pollard, J.H. (1980). The Age Pattern of Mortality. Journal of the Institute of Actuaries 107:49<e2><80><93>80.

Mor<c3><a9>, J.J. (1978). The Levenberg-Marquardt algorithm: implementation and theory, in: Lecture Notes in Mathematics 630: Numerical Analysis, G.A. Watson (Ed.), Springer-Verlag: Berlin, pp. 105-116.

See Also

HP.priors HP.mod nlsLM life.tab


strandCet documentation built on May 1, 2019, 8:19 p.m.