Learn R Programming

vitality (version 1.3)

Fitting Routines for the Vitality Family of Mortality Models

Description

Provides fitting routines for four versions of the Vitality family of mortality models.

Copy Link

Version

Install

install.packages('vitality')

Monthly Downloads

137

Version

1.3

License

GPL (>= 2)

Maintainer

Last Published

May 13th, 2018

Functions in vitality (1.3)

logLikelihood.k

Log likelihood of 3-parameter (r,s,k) model
plotting.6p

Plotting function for 2-process 6-parameter vitality model
mu.vd.6p

Total mortality rate for the 2-process 6-parameter vitality model
mu.vd3.6p

Adult extrinsic mortality rate for the 2-process 6-parameter vitality model
survProbInc.k

Incremental survival probability for 3-parameter model
vitality.6p

Fitting routine for the 2-process, 6-parameter vitality model (with childhood hook).
survProbInc.4p

Incremental survival probability for 2-process 4-parameter model
survProbInc.6p

Incremental survival probability for 2-process 6-parameter model
mu.vd2.6p

Extrinsic mortality rate for the 2-process 6-parameter vitality model
survProbInc.ku

Incremental survival probability for 4-parameter model
mu.vd4.6p

Childhood extrinsic mortality rate for the 2-process 6-parameter vitality model
plotting.4p

Plotting function for 2-process 4-parameter vitality model
vitality.ku

Fitting routine for the 4-parameter vitality model.
vitality.k

Fitting routine for the 3-parameter vitality model.
vitality

Fitting routines for the Vitality family of mortality models.
plotting.ku

Plotting function for 4-parameter vitality model
mu.vd1.4p

Intrinsic mortality rate for the 2-process 4-parameter vitality model
stdErr.4p

Standard errors for 4-parameters: r, s, lambda, beta
mu.vd1.6p

Intrinsic mortality rate for the 2-process 6-parameter vitality model
mu.vd2.4p

Extrinsic mortality rate for the 2-process 4-parameter vitality model
plotting.k

Plotting function for 3-parameter vitality model
stdErr.k

Standard errors for 3-parameters: r, s, k
stdErr.ku

Standard errors for 4-parameters: r, s, k, u
stdErr.6p

Standard errors for 6-parameters: r, s, lambda, beta, gamma, alpha
rainbow_trout_for_k

Sample Rainbow Trout Data
vft.6p

Vectorized density function
vft.4p

Vectorized density function
vitality.4p

Fitting routine for the 2-process, 4-parameter vitality model (no childhood hook).
swedish_females

Swedish Female Mortality Data
SurvFn.in.6p

The intrinsic cumulative survival distribution function for 2-process 6-parameter vitality model
SurvFn.in.4p

The intrinsic cumulative survival distribution function for 2-process 4-parameter vitality model
SurvFn.h.6p

Intrinsic cumulative survival distribution for 6 parameter model
SurvFn.h.4p

Intrinsic cumulative survival distribution for 4 parameter model
SurvFn.k

The cumulative survival distribution function for 3-parameter vitality model
SurvFn.4p

The cumulative survival distribution function for 2-process 4-parameter vitality model
SurvFn.ex.6p

The extrinsic cumulative survival distribution function for 2-process 6-parameter vitality model
logLikelihood.ku

Log likelihood of 4-parameter (r,s,k,u) model
ft.4p

Density function for 3-parameter (r, s, u)
mu.vd.4p

Total mortality rate for the 2-process 4-parameter vitality model
logLikelihood.6p

Log likelihood of 2-process 6-parameter vitality model
dataPrep

Function for data preparation
SurvFn.ex.4p

The extrinsic cumulative survival distribution function for 2-process 4-parameter vitality model
ft.6p

Density function for 2-parameters (r, s)
SurvFn.ku

The cumulative survival distribution function for 4-parameter vitality model
SurvFn.6p

The cumulative survival distribution function for 2-process 6-parameter vitality model
daphnia

Sample Daphnia Data
indexFinder

Finds the first value of a vector that is less than a value.
logLikelihood.4p

Log likelihood of 2-process 4-parameter model