AGES: Stata module to estimate the effects of the age structure
Alfonso Ugarte-Ruiz
Statistical Software Components from Boston College Department of Economics
Abstract:
AGES estimates the relationship between different population cohorts shares and a dependent variable of choice, based on the polynomial transformation suggested by Fair and Dominguez (1991) and and applied later by Higgins (1998), Arnott and Chaves (2012) and Juselius and Takas (2021). Estimating the effect of changes in the population's age structure in a regression faces different methodological issues, such as weak precision if the number of population cohorts is large compared with the number of time periods, high correlation between consecutive cohorts’ shares and perfect collinearity with respect to the constant. The solution consists of restricting the age groups coefficients to lie on a Pth degree polynomial and restricting its sum to be equal to zero to remove the perfect multicolinearity. The command AGES performs all the necessary transformations and mathematical calculations to estimate and report the final effect by age-cohort, together with its standard error and confidence interval, as an output matrix and through an automated graph that displays the effect of all the age-cohorts on the dependent variable. It allows testing for different age structure effects based on different groups captured by an interaction with a dummy variable.
Language: Stata
Requires: Stata version 13
Keywords: age structure; data management (search for similar items in EconPapers)
Date: 2026-10-10
Note: This module should be installed from within Stata by typing "ssc install ages". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/a/ages.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/a/ages.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/i/inflation_example_advanced.dta
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459932
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().