Learn R Programming

APCI (version 1.0.8)

A New Age-Period-Cohort Model for Describing and Investigating Inter-Cohort Differences and Life Course Dynamics

Description

It implemented Age-Period-Interaction Model (APC-I Model) proposed in the paper of Liying Luo and James S. Hodges in 2019. A new age-period-cohort model for describing and investigating inter-cohort differences and life course dynamics.

Copy Link

Version

Install

install.packages('APCI')

Monthly Downloads

438

Version

1.0.8

License

GPL-2

Maintainer

Jiahui Xu

Last Published

September 2nd, 2024

Functions in APCI (1.0.8)

simulation

Simulated Dataset
compute_ycoordinate

Calculate y coordinate value
maineffect

Estimate age effect and period effect
whitewomen

White Women
whitemen

White Men
compute_xcoordinate

Calculate x coordinate value
temp_model

Estimate APC-I model
cpsmen

Labor force participation data for men from 1990 to 1979 in CPS
cpswomen

Labor force participation data for women from 1990 to 1979 in CPS
women9017

women9017
tests

Local and global F test
apci.plot.hexagram

Plot the hexagram heatmap
apci.bar

Make barplot for cohort effect
apci.plot

Plotting age and period raw scores and APC-I model results
ageperiod_group

Get the cohort index matrix for any age and period groups
apci.plot.heatmap

Plot the heatmap for APC-I model
cohortdeviation

Calculate cohort deviation
apci.plot.raw

Plotting age and period patterns
blackwomen

Black Women
apci

Run APC-I model
blackmen

Black Men