apc: Age-Period-Cohort Analysis
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.
| Version: | 
3.0.0 | 
| Imports: | 
lattice, plyr, reshape, plm, survey, lmtest, car, AER, ISLR, ggplot2 | 
| Published: | 
2025-07-07 | 
| DOI: | 
10.32614/CRAN.package.apc | 
| Author: | 
Zoe Fannon [aut],
  Bent Nielsen [aut, cre] | 
| Maintainer: | 
Bent Nielsen  <bent.nielsen at nuffield.ox.ac.uk> | 
| License: | 
GPL-3 | 
| NeedsCompilation: | 
no | 
| Materials: | 
NEWS  | 
| In views: | 
ActuarialScience | 
| CRAN checks: | 
apc results | 
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=apc
to link to this page.