Users are permitted to specify harzard objects for two scenarios: (1) for a disease without subtypes or (2) for a disease with multiple subtypes.
When simulating a disease without subtypes, hazardDF
must contain 3 columns that meet the following criteria:
- column 1:
age-specific hazard rates of disease for the population of interest
- column 2:
age-specific hazard rates of death for the unaffected population. If the disease of interest is sufficiently rare, so that death by the disease is rare, the user may choose to use the population, age-specific, hazard rates of death instead.
- column 3:
age-specific hazard rates of death for the affected population.
When simulating a disease with n disease subtypes, hazardDF
must contain n + 2 columns that meet the following criteria:
- column 1:
age-specific hazard rates of disease for the first subtype of interest
- column 2:
age-specific hazard rates of disease for the second subtype of interest
- ...
- column n:
age-specific hazard rates of disease for the \(n^{th}\) subtype of interest
- column n + 1:
age-specific hazard rates of death for the unaffected population. If the disease of interest is sufficiently rare, so that death by the disease is rare, the user may choose to use the population, age-specific, hazard rates of death instead.
- column n + 2:
age-specific hazard rates of death for an individual affectd by any of the \(n\) subtypes.
Users must provide partition
in years; e.g. a hazard rate for a baby between 6 months and 1 year of age should have lower bound 0.5 years and an upper bound 1 year. Additionally, partition
must apply to all of the age-specific hazard rates in hazardDF
.