par2haz_ac: Create hazard from parameters of the Age-Cohort Model

Description Usage Arguments Value Examples

Description

Create hazard from parameters of the Age-Cohort Model

Usage

1
par2haz_ac(par, J, K)

Arguments

par

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

J

number of age intervals

K

number of cohort intervals

Value

The hazard rate in a matrix of size K * J:

Examples

1
2
3
4
5
6
7
## Not run: 
J <- 10
K <- 15
par <- rnorm(K + J - 1)
persp(par2haz_ac(par, J, K))

## End(Not run)

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