Package: apc
Type: Package
Title: Age-Period-Cohort Analysis
Version: 2.0.1
Date: 2025-06-15
Authors@R: c(person(given="Zoe",family="Fannon",role="aut"), person(given="Bent",family="Nielsen",role=c("aut","cre"), email="bent.nielsen@nuffield.ox.ac.uk"))
Description: Functions for age-period-cohort analysis. Aggregate data can be organised in matrices indexed by age-cohort, age-period or cohort-period. The data can include dose and response or just doses. The statistical model is a generalized linear model (GLM) allowing for 3,2,1 or 0 of the age-period-cohort factors. Individual-level data should have a row for each individual and columns for each of age, period, and cohort. The statistical model for repeated cross-section is a generalized linear model. The statistical model for panel data is ordinary least squares. The canonical parametrisation of Kuang, Nielsen and Nielsen (2008) <DOI:10.1093/biomet/asn026> is used. Thus, the analysis does not rely on ad hoc identification.
Imports: lattice, plyr, reshape, plm, survey, lmtest, car, AER, ISLR,
        ggplot2
License: GPL-3
NeedsCompilation: no
Packaged: 2025-06-15 21:42:05 UTC; ubuntu
Author: Zoe Fannon [aut],
  Bent Nielsen [aut, cre]
Maintainer: Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk>
Repository: CRAN
Date/Publication: 2025-06-15 23:20:07 UTC
Built: R 4.4.1; ; 2025-06-16 00:50:36 UTC; unix
