solver_ac: Solver of the Age-cohort model

Description Usage Arguments Value See Also Examples

Description

Solver of the Age-cohort model

Usage

1
solver_ac(O, R, maxiter = 1000, verbose = FALSE)

Arguments

O

Observed events as returned by exhaustive_stat_2d

R

Time at risk as returned by exhaustive_stat_2d

Value

The maximum likelihood estimate of the Age-Cohort Model. Minimization is made using the Newton-Raphson algorithm (see https://en.wikipedia.org/wiki/Newton_method)

See Also

exhaustive_stat_2d, exhaustive_stat_1d

Other ac_likelihood: hessian_ac, hessian_interaction, loglik_ac, score_ac

Examples

1
2
3
4
5
## Not run: 
par <- rnorm(ncol(O) + nrow(O))
hessian_ac(par, O, R)

## End(Not run)

goepp/hazreg documentation built on June 7, 2019, 4:03 a.m.