Learn R Programming

vitality (version 1.3)

logLikelihood.6p: Log likelihood of 2-process 6-parameter vitality model

Description

Gives the log likelihood of 6-parameter vitality model.

Usage

logLikelihood.6p(par, xx1, xx2, NNi)

Arguments

par

vector of parameters (r, s, lambda, beta, alpha, gamma)

xx1

xx1 vector

xx2

xx2 vector

NNi

survival fractions

Value

log likelihood

Details

For use in vitality.6p.

See Also

vitality.6p