loglike_optim {cyclomort} | R Documentation |
Internal function used for computing the log-likelihood of a parameterized
model within fit_cyclomort
.
loglike_optim(pars, x)
pars |
named vector including "gamma", "mu", and "rho" parameters for the appropriate number of seasons |
x |
times of death or censoring as Surv objects |
likelihood value given named vector of parameters as well as set of observations