Package: APCI 1.0.8
APCI: A New Age-Period-Cohort Model for Describing and Investigating Inter-Cohort Differences and Life Course Dynamics
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.
Authors:
APCI_1.0.8.tar.gz
APCI_1.0.8.zip(r-4.5)APCI_1.0.8.zip(r-4.4)APCI_1.0.8.zip(r-4.3)
APCI_1.0.8.tgz(r-4.4-any)APCI_1.0.8.tgz(r-4.3-any)
APCI_1.0.8.tar.gz(r-4.5-noble)APCI_1.0.8.tar.gz(r-4.4-noble)
APCI_1.0.8.tgz(r-4.4-emscripten)APCI_1.0.8.tgz(r-4.3-emscripten)
APCI.pdf |APCI.html✨
APCI/json (API)
# Install 'APCI' in R: |
install.packages('APCI', repos = c('https://jiahui1902.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jiahui1902/apci/issues
- cpsmen - Labor force participation data for men from 1990 to 1979 in CPS
- cpswomen - Women's labor force participation data from the 1990 to 2019 Current Population Survey
- simulation - Simulated Dataset
- women9017 - Women9017
Last updated 3 months agofrom:8df0788a3a. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win | NOTE | Nov 23 2024 |
R-4.5-linux | NOTE | Nov 23 2024 |
R-4.4-win | NOTE | Nov 23 2024 |
R-4.4-mac | NOTE | Nov 23 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 23 2024 |
Exports:ageperiod_groupapciapci.barapci.plotapci.plot.heatmapapci.plot.hexagramapci.plot.rawcohortdeviationcompute_xcoordinatecompute_ycoordinatemaineffecttemp_modeltests
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11data.tableDBIDerivdoBydplyrfansifarverFormulageegenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamitoolsmodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6RColorBrewerRcppRcppArmadilloRcppEigenrlangrstatixscalesSparseMstringistringrsurveysurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Construct a cohort index matrix for any number of age and period groups | ageperiod_group |
Run apci model | apci |
Visualization for the APC-I model results | apci.bar |
Visualization for data exploration or model results | apci.plot |
Visualize APC-I model results | apci.plot.heatmap |
Visualize APC-I model results | apci.plot.hexagram |
data exploration: visualize age, period, and cohort patterns in the outcome before modeling. | apci.plot.raw |
compute inter-cohort avarage deviations and intra-cohort life-course dynamics | cohortdeviation |
calculate x coordinate values | compute_xcoordinate |
calculate y coordinate values | compute_ycoordinate |
Labor force participation data for men from 1990 to 1979 in CPS | cpsmen |
Women's labor force participation data from the 1990 to 2019 Current Population Survey (CPS) | cpswomen |
estimate age main effects and period main effects | maineffect |
Simulated Dataset | simulation |
Estimate APC-I model | temp_model |
local and global F test | tests |
women9017 | women9017 |