dlnm (version 2.3.9)

nested: Nested Case-Control Study with a Time-Varying Exposure and a Cancer Outcome

Description

The data set contains simulated data from an hypothetical nested case-control study on the association between a time-varying occupational exposure and a cancer outcome. The study includes 300 risk sets, each with a case and a control matched by age year. The data on the exposure is collected on 5-year age intervals between 15 and 65 years.

Usage

data(nested)

Arguments

Format

A data frame with 600 observations on the following 14 variables.

  • id: subject ID.

  • case: indicator for case (1) or control (0).

  • age: age of each subject.

  • riskset: risk set id.

  • exp15: yearly exposure in the age period 15-19 year.

  • exp20: yearly exposure in the age period 20-24 year.

  • ...

  • exp60: yearly exposure in the age period 60-64 year.

Details

The exposure history for each subject (series of yearly exposures) can be recovered by expanding the values given in exp15-exp60, and then selecting the values backward from the age of the subject for a given lag period.

See Also

drug for an example of randomized controlled trial data. chicagoNMMAPS for an example of time series data.

The application of DLNMs to these data with detailed examples are provided in the vignette dlnmExtended.

See dlnm-package for an introduction to the package and for links to package vignettes providing more detailed information.