Package: apc
Type: Package
Title: Age-Period-Cohort Analysis
Version: 3.0.0
Date: 2025-07-07
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. 2-sample analysis is possible. Mixed frequency data are possible. 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-07-07 18:37:06 UTC; ubuntu
Author: Zoe Fannon [aut],
  Bent Nielsen [aut, cre]
Maintainer: Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk>
Repository: CRAN
Date/Publication: 2025-07-07 19:00:11 UTC
Built: R 4.5.1; ; 2025-10-06 04:01:26 UTC; windows
