CRAN/E | apc

apc

Age-Period-Cohort Analysis

Installation

About

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.

Key Metrics

Version 2.0.0
Published 2020-10-01 1302 days ago
Needs compilation? no
License GPL-3
CRAN checks apc results

Downloads

Yesterday 7 0%
Last 7 days 63 -34%
Last 30 days 323 -3%
Last 90 days 942 -18%
Last 365 days 4.017 -20%

Maintainer

Maintainer

Bent Nielsen

bent.nielsen@nuffield.ox.ac.uk

Authors

Zoe Fannon
Bent Nielsen

Material

NEWS
Reference manual
Package source

Vignettes

Identification: illustrate and check identification used in plot fit function
Introduction: analysis of aggregate data
Introduction: analysis of individual data
Introduction: analysis of individual data: further examples
Generating new models from design matrix function
Reproducing HN2016
Reproducing KN2020
Illustrate and check identification used in plot fit function
Reproducing MMNN2016

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

apc archive

Imports

lattice
plyr
reshape
plm
survey
lmtest
car
ISLR
AER
ggplot2
ChainLadder