par2haz_aci: Transform parameter to hazard in the age-cohort-interaction...

Description Usage Arguments Value Examples

Description

Transform parameter to hazard in the age-cohort-interaction model

Usage

1
2
3
4
5
par2haz_aci(par, J, K)

par2grid_aci(par, cuts_age, cuts_cohort)

par_sel2par_aci(par_sel, sel)

Arguments

par

parameter of the age-cohort-interaction model in the form c(mu, alpha and beta)

J

length of cuts_age

K

length of cuts_cohort

Value

a matrix of dimension K * J

Examples

1
2
3
4
5
6
7
## Not run: 
J <-  10
K <-  15
set.seed(0)
persp(par2haz_aci(rnorm(J * K), K, J))

## End(Not run)

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