loglike_optim {cyclomort}R Documentation

Log-likelihood function

Description

Internal function used for computing the log-likelihood of a parameterized model within fit_cyclomort.

Usage

loglike_optim(pars, x)

Arguments

pars

named vector including "gamma", "mu", and "rho" parameters for the appropriate number of seasons

x

times of death or censoring as Surv objects

Value

likelihood value given named vector of parameters as well as set of observations

See Also

fit_cyclomort


[Package cyclomort version 1.0.2 Index]