The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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:

Reference manual: apc.pdf

Downloads:

Package source: apc_3.0.0.tar.gz
Windows binaries: r-devel: apc_3.0.0.zip, r-release: apc_3.0.0.zip, r-oldrel: apc_3.0.0.zip
macOS binaries: r-release (arm64): apc_3.0.0.tgz, r-oldrel (arm64): apc_3.0.0.tgz, r-release (x86_64): apc_3.0.0.tgz, r-oldrel (x86_64): apc_3.0.0.tgz
Old sources: apc archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=apc to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.