1 Introduction

The importance of the demographic transition on per-capita income growth was neglected for a long time, mainly because of a myriad of inconsistent correlations between population and economic growth (Kelley 1988).Footnote 1 It was not until the 1990s, using empirical convergence models à la Barro (1991, 1997), that several scholars were able to better isolate the effect of demography on economic growth (Kelley and Schmidt 1995; Bloom and Williamson 1997, 1998). Their main finding was that demography has a strong and positive effect on economic growth when the working-age population grows faster than the dependent population, known as first demographic dividend. Later on, Kelley and Schmidt (2005) added an important contribution by considering, in their convergence model, that changes in the age distribution of the population (known as the translation component) were likely to affect the productivity of workers (the productivity component). By doing so, they estimated demography to account for 20\(\%\) of the per-capita income growth worldwide between 1965 and 1990, which was validated for the EU by several scholars (Prskawetz et al. 2007).

Despite these recent findings there are still many unanswered questions (Williamson 2013). For instance, to what extent does demography influence economic growth over a longer time span? What is the historical impact of demographic changes on economic growth? The demographic dividend literature has extensively used cross-country panel data for the period 1950–2010, which historically coincides with the period of most rapid population growth. However, as far as we know, there has been no study on the impact of demographic change on economic growth starting in the nineteenth century, exactly at the onset of the demographic transition in Europe (Livi-Bacci 2000; Lee 2003).

Fig. 1
figure 1

Source Authors’ estimates. Notes The TFR is the average number of children that would be born to a woman over her lifetime

Spanish total fertility rate (TFR) and life expectancy at birth: Period 1850–2000. a Total fertility rate (TFR), b life expectancy at birth.

The aim of this paper is to assess the impact of the demographic transition on per-capita income growth along the period 1850–2000. We focus our analysis on Spain, since it is of great interest to economists, demographers, and historians due to the availability of historical data and the similarities with the East Asian “tiger economies” in the second half of the 20th century (Prados de la Escosura and Rosés 2010a). Spain started the demographic transition later than northern European countries (Livi-Bacci 2000). In 1850 the Spanish population size was around 15 million inhabitants, the average woman expected to have between four and five children, and life expectancy at birth was close to 30 years—due to an extremely high infant mortality—(Ramiro Fariñas and Sanz-Gimeno 2000). In 2000, the Spanish population was over 40 million people, the average woman expected to have 1.23 children, and life expectancy at birth was close to 80 years (see Fig. 1). The Spanish population also witnessed an economic revolution during this period. According to Prados de la Escosura and Rosés (2009) the average labor income per worker rose from the equivalent of 3.000–3.500 euros per year in 1850 to more than 33.500 euros in 2000.Footnote 2 Moreover, the average number of hours worked declined by 36\(\%\) points and the entrance into the labor market was delayed due to the educational expansion. Indeed, 64\(\%\) of the cohort born in 1850 was illiterate and 34\(\%\) had only primary education (Nuñez 2005). In 2000, by contrast, the average number of years of schooling was 8.4 for adults (Barro and Lee 2013). Thus, the increase is even more remarkable if we focus on the wage rate per hour worked which rose from the equivalent of 1.2 euros in 1850 to 19.2 in 2000 (Prados de la Escosura and Rosés 2009).

The literature has frequently used convergence models to show the role of demographic change on economic growth. However, the results of these econometric models usually suffer from endogeneity problems (Feyrer 2007). More importantly, it is not possible to extend this kind of analysis further in the past because of the lack of data. A new approach to answer this old question is to estimate the demographic dividend using overlapping generation models (OLG) since the accumulation of capital and labor are modeled endogenously. For instance, Sánchez-Romero (2013) followed this strategy to analyze the evolution of the demographic dividend in Taiwan. He investigates the economic impact of different demographic scenarios in order to assess the demographic dividend, obtaining similar results to those obtained using growth regression models.

In this paper, we follow a similar strategy by implementing an OLG model. Nevertheless, our paper differs from Sánchez-Romero (2013) in two main aspects. First, the period of analysis increases from 40 to 150 years. Second, the model is extended by introducing household production and non-homothetic preferences. We follow the works of Greenwood et al. (2005) and Ramey (2009) in order to account for the impact of technological progress on the value of time. In addition, we follow the work of Restuccia and Vandenbroucke (2013), that assume non-homothetic preferences, in order to assess the impact of the increase in longevity and technological progress on the simultaneous reduction in hours worked and the increase in schooling time during the last hundred and fifty years in the US. Thus, the combination of home-production with non-homothetic preferences allows us to account for the historical reduction in paid hours. The costs of rearing children to households are introduced in the utility function through the family size (Browning and Ejrnæs 2009) and in the time constraint. Given that we have detailed demographic information for the period 1850–2000, our family size not only changes over time but also by age of the household head. The units of equivalent adult consumption of market and home-produced goods rely on the AGENTA database (Vargha et al. 2015; Rentería et al. 2016). In addition, to control for the educational dividend caused by the educational transition (Crespo-Cuaresma et al. 2014), we introduce heterogeneous agents that differ in their educational attainment, using data from the Wittgenstein Data Explorer (Wittgenstein Centre for Demography and Global Human Capital 2015). Hence, the model takes as exogenously given inputs the evolution of vital rates (fertility and mortality) and human capital investments, ignoring their feedback effects.

Comparing our baseline scenario to a hypothetical economy whose population faces fertility and mortality rates which were prevailing in Spain in 1800, we find that the changes in the age structure of the population accounts for 16.8\(\%\) of per-capita income growth for the period 1850–2000. This result lies within the possible range of values (i.e., 16–44%) found in the literature for the period 1950–2010 (Kelley and Schmidt 2005). Additional counterfactual experiments show that fertility explains 14.5\(\%\) of the impact of demographic changes in per-capita income growth, while mortality explains 6.4\(\%\) of the impact of demographic changes in per-capita income growth. Moreover, we have further decomposed the contribution of demography to per-capita income growth in the translation component (the difference between the growth rate of workers and the total population) and the productivity component (the growth rate of output per worker). Our results suggest that over this period of one hundred and fifty years, the translation component accounted for 50\(\%\) of the total income growth, while the productivity component accounted for 50\(\%\). The growth rate of output per worker is explained by two main factors. First, the transition from a young age structure to an aging population, since this demographic process leads to an increase in the average age of asset holders—older households own more assets than younger households—and in the average age of workers—older households have a higher income. Second, through a rise in the propensity to save due to the longer life expectancy.

The paper is organized as follows. Section 2 details the theoretical model and its main theoretical implications. Section 3 presents the Spanish demographic transition, the economic data, and the model calibration. The contribution of the demographic transition on the per-capita income growth rate is presented in Sect. 4 and the impact of different model assumptions on our results are discussed in Sect. 5. Section 6 concludes.

2 The model

We implement a large-scale OLG model à la Auerbach and Kotlikoff (1987) in which heterogeneous households by level of education endogenously choose consumption and the times spent in the market and in home production. Demographics, the educational attainment, and technological progress are exogenous. Firms are assumed to operate in perfectly competitive markets and produce under constant returns to scale. To account for the full effect of demography on the economy, we assume Spain to be a closed economy. Hence, changes in the population structure might have an impact on input prices. Moreover, to better capture the accumulation of capital over time, we consider the historical evolution of public pension expenditures. Thus, our individuals contribute a fraction of their labor income to the pension system and receive pension benefits when retired.

2.1 Household preferences and home production

For expositional purposes, in this subsection we abstract from time subscripts. Households may belong to any of the three possible levels of education that we denote by \(e\in \mathbf {E}\) = {primary or less; secondary; tertiary}. Households derive utility from consumption of market-produced goods \(c^m\), home-produced goods \(c^h\), and leisure z. The period utility of a household, whose head has a level of education \(e\in \mathbf {E}\), is given by

$$\begin{aligned} u^h_e(c^m, c^h, z)= & {} \phi _e^m\log \left( \frac{c^m}{1+\eta (n)}-\bar{c}^m\right) +\phi _e^h\log \left( \frac{c^h}{1+\eta (n)}-\bar{c}^h\right) \nonumber \\&\quad +\,\phi _e^z \frac{z^{1-\frac{1}{\sigma _{e}}}-1}{1-\frac{1}{\sigma _{e}}}, \end{aligned}$$
(1)

where \(\eta (n)\) is a function that transforms the number of children in the household by age (n) to the number of equivalent adult consumers, \(\bar{c}^i>0\) is the subsistence level of consumption of type \(i\in \{m,h\}\), \(\phi _e^i>0\) is the relative weight of good \(i\in \{m,h,z\}\) on the period utility, and \(\sigma _e>0\) is the elasticity of substitution on leisure. The set of parameters \(\{\phi _e^m,\phi _e^h,\phi _e^z,\sigma _e\}\) depends on the level of education in order to better account for differences in the labor supply.

Home production requires intermediate goods and labor

$$\begin{aligned} f(c^x,h)=\left[ \theta \left( c^x\right) ^{\frac{\rho -1}{\rho }}+(1-\theta )\left( h\right) ^{\frac{\rho -1}{\rho }}\right] ^\frac{\rho }{\rho -1}, \quad \text { with }\rho \ge 0, \end{aligned}$$
(2)

where \(c^x\) stands for goods purchased in the market and used as intermediate goods for home production, h is the time spent on home production, \(\theta \) is assumed to be positive and between zero and one, and \(\rho \) is the elasticity of substitution between the home input factors. According to Eq. (2) technological progress has an impact on home production through intermediate goods. Moreover, we implicitly assume that home-produced goods are always consumed in the household and not sold in the market; i.e., \(c^h=f(c^x,h)\).

2.2 Household problem

In each year t households are heterogenous by their educational attainment (e), age (j), year of birth (\(t-j\)), assets accumulated (a), and the number of children raised at home (n). We denote by \(\varvec{x}_{e,j,t}=\{a_{e,j,t},n_{j,t}\}\) the state variables of a household with a level of education e at age j in year t. Each household at age j in year t faces a probability to surviving to the next age of \(\pi _{j+1,t+1}\), which is independent of other household characteristics.Footnote 3 Individuals can live to a maximum of 100 years. Children are raised by the household between age 0 and 15 and do not work either in the market or at home.Footnote 4 At the age of 16 (\(J_0\)) children start making decisions, leave their parents home, and establish their own households. After age 65 (\(J_R\)) all individuals retire. Adults are endowed with one unit of time that they distribute between market work (\(\ell \)), household chores (h), child rearing (\(h\upsilon (n)\)), and leisure (z). Hours worked in the market are supplied in exchange of a (net of taxes) wage rate, whereas the time spent producing goods and rearing children is unpaid. Function \(\upsilon (n)\) denotes the time spent rearing n children per unit of time devoted to home production. Hence, the functional form \(h\upsilon (n)\) assumes, ceteris paribus, that individuals who either spend more hours producing goods at home or have more children also devote more time to childrearing and less time to labor. Annuity markets are absent and accidental bequests are distributed by the government to all households in the economy.

Households optimally choose their consumption of market goods, home production, intermediary goods, leisure time, and time spent on home production by maximizing their lifetime utility (V). Let the control variables of a household with a level of education e at age j in year t be \(\varvec{c}_{e,j,t}=\{c^m_{e,j,t}, c^h_{e,j,t}, c^x_{e,j,t}, h_{e,j,t}, z_{e,j,t}\}\in \mathbf {C}\). Thus, the household problem is equivalent to solving

$$\begin{aligned} V_{j,t}(\varvec{x}_{e,j,t})&=\max _{\varvec{c}_{e,j,t}\in \mathbf {C}}\left\{ u^h_e(c^m_{e,j,t}, c^h_{e,j,t}, z_{e,j,t})+\pi _{j+1,t+1} V_{j+1,t+1}(\varvec{x}_{e,j+1,t+1})\right\} \end{aligned}$$
(3)

subject to the budget constraint

$$\begin{aligned} a_{e,j+1,t+1}&= {\left\{ \begin{array}{ll} R_{t}a_{e,j,t}+{tr}_{j,t}+(1-\tau _t) w_{e,j,t}\ell _{e,j,t}-c^x_{e,j,t}-c^m_{e,j,t} &{} \text {for }J_0\le j\le J_R,\\ R_{t}a_{e,j,t}+{tr}_{j,t}+b_t-c^x_{e,j,t}-c^m_{e,j,t} &{} \text {for }j>J_R, \end{array}\right. } \end{aligned}$$
(4)

the time constraint

$$\begin{aligned}&\ell _{e,j,t}+h_{e,j,t}[1+\upsilon (n_{j,t})]+z_{e,j,t}=1, \end{aligned}$$
(5)

and the standard boundary conditions

$$\begin{aligned}&a_{e,J_0,\cdot }=0 \quad \text { and } \quad a_{e,100,\cdot }\ge 0. \end{aligned}$$
(6)

Parameter R is the capitalization factor, tr is the accidental bequests distributed by the government to the household, \(\tau \) is the social contribution rate to the pension system, \(w_{e,j,t}=r^H_t \epsilon _{e,j}\) is the wage rate per hour worked of an individual with education e at age j in year t, which depends on the wage rate per efficient unit of labor (\(r^H_t\)) and the age-specific productivity by educational attainment (\(\epsilon _{e,j}\)), and \(b_t\) is the pension benefit received in year t.

The optimal consumption path of market goods can be characterized by the Euler condition augmented by household size and subsistence level (see “Appendix A”):

$$\begin{aligned} \tilde{C}^m_{e,j+1,t+1}\Big /\tilde{C}^m_{e,j,t} =\pi _{j+1,t+1}R_{t+1} \text { with }\tilde{C}^m_{e,j,t}=c^m_{e,j,t}-{\bar{c}}^m[1+\eta (n_{j,t})]. \end{aligned}$$
(7)

Equation (7) indicates that households smooth the consumption above the subsistence level \(\bar{c}^m\) for all household members. The introduction of \(\bar{c}^m\) and \(\eta (n_{j,t})\) are key for explaining the historical decline in the number of hours worked. This is because when labor productivity is low and the number of children is high, households need to work more hours in the market in order to finance the minimum consumption level of goods. Afterwards, as productivity rises, households need less hours in the market to finance the minimum consumption expenditure (Restuccia and Vandenbroucke 2013). Moreover, given that the equivalent adult consumers multiply \(\bar{c}^m\) in (7), the same reasoning applies to \(\eta (n_{j,t})\). Thus, increases in the number of equivalent consumers force individuals to supply more hours to the market. However, this effect might be offset by the subsequent increase in the demand for childrearing within the household as we will explain below.

The optimal hours worked in the market (or intensive labor supply) are given by the difference between the total available time and the sum of leisure and unpaid work,

$$\begin{aligned} \ell _{e,j,t}&=1-z_{e,j,t}-h_{e,j,t}[1+\upsilon (n_{j,t})], \end{aligned}$$
(8)

where the optimal conditions of leisure and unpaid work are

$$\begin{aligned} z_{e,j,t}&=\left( \frac{\phi _e^z}{\phi _e^m}\frac{\tilde{C}^m_{e,j,t}}{c^m_{e,j,t}}\frac{c^m_{e,j,t}}{(1-\tau _t)w_{e,j,t}}\right) ^{{\sigma _e}}, \end{aligned}$$
(9)
$$\begin{aligned} h_{e,j,t}&=\frac{\phi _e^h}{\phi _e^m}\frac{c^h_{e,j,t}}{\tilde{C}^h_{e,j,t}}\frac{\tilde{C}^m_{e,j,t}}{c^m_{e,j,t}}\frac{c^m_{e,j,t}}{y^h_{e,j,t}+\left( \frac{\theta }{1-\theta }y^h_{e,j,t}\right) ^\rho }, \end{aligned}$$
(10)

respectively. The term \(y^h_{e,j,t}=(1-\tau _t)w_{e,j,t}[1+\upsilon (n_{j,t})]\) is the opportunity cost of an hour devoted to home production and \(\tilde{C}^h_{e,j,t}\) is equal to \(c^h_{e,j,t}-\bar{c}^h[1+\eta (n_{j,t})]\). The non-homotheticity between market consumption and leisure, see Eqs. (1) and (9), implies that a rise in productivity leads to an increase in leisure and a decline in paid hours. This is reflected in the second ratio inside the parenthesis in Eq. (9). The strength of this positive effect on leisure is nonetheless liable to diminish as households become wealthier, since \(\tilde{C}^m_{e,j,t}\) will converge toward \(c^m_{e,j,t}\).

Equation (10) makes explicit the importance of the minimum consumption of home-produced goods (\(\bar{c}^h\)) and the elasticity of substitution between home input factors (\(\rho \)) for the evolution of home labor. For example, if we assume that \(\bar{c}^h=0\) (i.e. \(c^h_{e,j,t}=\tilde{C}^h_{e,j,t}\)) and that \(\rho =1\), then an increase in productivity leads households to increase their time spent on unpaid work. However, for a sufficiently high value of \(\bar{c}^h>0\), an increase in productivity will make the marginal utility of home-produced goods to decline faster, which reduces the time spent on unpaid work. Similar to the effect of \(\bar{c}^m\) on paid hours, a rise in productivity leads to a drop in home labor, since individuals substitute home labor for intermediate goods. Indeed, in the interior solution, the ratio of intermediate goods to labor in home production is

$$\begin{aligned} \frac{c^x_{e,j,t}}{h_{e,j,t}}=\left( \frac{\theta }{1-\theta } y^h_{e,j,t}\right) ^\rho . \end{aligned}$$
(11)

Equation (11) shows that either a rise in wages, or the time spent rearing children per hour of home production, or a drop in the contribution rate, raises the ratio of intermediate goods to home labor for any \(\rho >0\).

The parameter \(\rho \) is also crucial for explaining the impact of \(\upsilon (n)\) on both the total unpaid work (i.e. \(h[1+\upsilon (n)]\)) and paid work. We can distinguish three cases. If \(\rho <1\), an increase in the time spent rearing children per unit of home labor will raise the number of total unpaid hours worked and reduce that of paid hours. This is because the increase in the marginal cost of home labor cannot be offset with the rise in intermediate goods, given that \(c^x\) and h are close complements. Moreover, given that leisure does not depend on \(\upsilon (n)\), the increase in \(\upsilon (n)\) has the opposite effect on paid hours. If \(\rho =1\), the increase in \(\upsilon (n)\) will have no effect on the total time devoted to unpaid labor, since households offset the rise of \(\upsilon (n)\) with a proportional increase in intermediate goods. And if \(\rho >1\), a rise in \(\upsilon (n)\) leads to a drop in the total number of unpaid hours because households substitute home labor for intermediate goods.

Finally, households can, in addition to supplying labor to the market, specialize in home production when the marginal rate of substitution between leisure and consumption is greater than the effective wage rate per hour worked:

$$\begin{aligned} \frac{\partial u^h_e}{\partial z_{e,j,t}}\Big /\frac{\partial u^h_e}{\partial c^m_{e,j,t}} >(1-\tau _t)w_{e,j,t}. \end{aligned}$$
(12)

As a consequence, households with a low (net) wage rate—that is, those with lower education—have a higher incentive to leave the labor market.

2.3 Firms

In order to obtain clear-cut results for the contribution of demography on economic growth, we use a simple production setting. Firms operate in a perfectly competitive environment and produce one homogenous good combining capital and labor, according to a standard Cobb–Douglas production function

$$\begin{aligned} Y_t=K_t^{\alpha _t} (A_tL_t)^{1-\alpha _t}, \end{aligned}$$
(13)

where \(\alpha _t\) denotes the share of capital in year t, \(K_t\) is the stock of physical capital, \(A_t\) is labor-augmenting technology, and \(L_t\) is the stock of human capital. Output can be either consumed, used as an intermediary good for home production, or used as an investment good. Labor-augmenting technology, \(A_t\), is assumed to grow at the exogenous rate of \(g^A_t\), i.e. \(A_{t+1}=A_t (1 + g_t^A )\). Workers with different levels of education are assumed to be perfect substitutes. Hence, the stock of human capital is \(L_t=\sum \nolimits _{j=J_0}^{J_R}N_{j,t}\int \nolimits _{\mathbf {E}}\epsilon _{e,j}\ell _{e,j,t}dE_{t-j}(e)\). The rental price of physical capital (\(r^K_t\)) and human capital (\(r^H_t\)) equals their marginal products, i.e., \(r^K_t=\alpha _t\frac{Y_t}{K_t}-\delta _t\) and \(r^H_t=(1-\alpha _t)\frac{Y_t}{L_t}\), respectively, where \(\delta _t\) is the depreciation rate of physical capital in year t.

2.4 Government

Our government has two objectives. First, the government distributes each period any positive accidental bequests in a lump-sum fashion to the generation containing the decedent’s children, if they are older than 16 years.Footnote 5 For those decedents younger than age 44 (= 28 + 16), their positive wealth is assumed to be distributed within the same birth cohort, since by definition individuals below age 16 cannot inherit wealth. Given that there are no other taxes, debts left at death are financed by social security taxes. Second, the government runs a pay-as-you-go pension system. In each period the government sets the social contribution rate \(\tau _t\) that workers contribute to guarantee the pension benefits received by pensioners in year t plus the debt left by individuals dying in year t. The budget constraint of the pension system is then given by

$$\begin{aligned} \tau _tr^H_tL_t=\sum \limits _{j>J_R}b_tN_{j,t}+D_t \quad \text { for all }t. \end{aligned}$$
(14)

The left-hand side of (14) is the total social contributions paid by workers in year t, while the right-hand side gives the total pension benefits claimed by pensioners plus the debt in year t.

The definition of the market equilibrium is standard and can be found in “Appendix B”.

3 Data and calibration

In this section we first describe the exogenous information used in the overlapping generations model: Demographics, capital depreciation rates, labor shares, the evolution of the educational distribution, age-specific productivities by educational attainment, pension replacement rates, and our own reconstruction of the labor-augmenting technological progress. We conclude the section by briefly explaining the calibration strategy and the model parameters.

3.1 Demographics

The economic model implemented in this paper requires demographic data by single years of age on death rates, fertility rates, and population size for a time-span larger than the period analyzed (1850–2000). Historical demographic information from Spain was frequently incomplete and often inconsistent among different sources. Fortunately, important efforts constructing homogeneous demographic time series have already been made by several scholars. For instance, Maluquer de Motes (2008) provides homogeneous total population series from 1850 to 2001, Ramiro Fariñas and Sanz-Gimeno (2000) estimate infant and childhood mortality time series from 1790 to 1960, and Reher (1991) calculates for the historic region of Castilla La Nueva (New Castile) vital series of births, marriages, and deaths by using parish registers from 1550 to 1900, among others.

To construct a demographic database consistent with our economic model (i.e., a unisex closed population), we combine two demographic methods widely used in population reconstruction: Inverse Projection (IP) and Generalized Inverse Projection (GIP) (Lee 1985; Oeppen 1993). The IP method is used to calculate net migration rates, while the GIP method is used to reconstruct consistent data on population size by age \({N}_{j,t}\) and age-specific vital rates, i.e., age-specific fertility rates \(f_{j,t}\) and age-specific conditional survival probabilities \(\pi _{j,t}\). GIP is a non-linear optimization that produces constrained demographic projections with a priori information (Oeppen 1993). The GIP method is explained in more detail in “Appendix C”. Both models are implemented using census data for years 1857, 1860, 1877, 1887, 1900–1970 from INE (2015b), 1981 from INE (2015c), and the years 1991 and 2001 from INE (2015d). Age-specific fertility rates from 1922 to 2012 are taken from the Human Fertility Collection (2015). Total population size from 1787 to 2000 is obtained combining data from INE (2015b), the Human Mortality Database (2015), and Maluquer de Motes (2008). Data on total births and deaths come from the INE (2015b) and from the Human Mortality Database (2015).

Figures 1 and 2 show the evolution of three aggregate measures from 1850 to 2000 obtained with our population reconstruction: (i) total period fertility rate (TFR), (ii) period life expectancy at birth, and (iii) population distributions. Assuming that fertility and mortality patterns in year t prevail throughout life, the TFR is the average number of children that would be born to a surviving woman over her lifetime, while the life expectancy at birth indicates the number of years a newborn infant would live. From Fig. 1 we can observe that the levels of fertility and mortality in Spain were similar to those of western Europe before 1800 (Lee 2003). In this period, TFR ranged between four to five children per woman and life expectancy at birth was between 25 and 35 years (Livi-Bacci 2000). One main consequence of the late onset of the demographic transition in Spain was the slower population growth relative to other western European countries. Close to the end of the nineteenth and at the beginning of the twentieth century, the TFR started a secular decline from five to values slightly higher than one (Reher 2011), which was only interrupted during the Franco regime (1939–1975), and mortality rates decreased, especially for infants and children. The decline in fertility at the beginning of the twentieth century was triggered by improvements in child survival. The change in the fertility pattern transmitted across generations was materialized through duration-related fertility behavior, such as the delay in women’s age at first birth and birth spacing (Reher and Sanz-Gimeno 2007; Reher et al. 2008). The decline in fertility after 1975 was driven by a continuing delay in the mean-age at first birth caused by multiple factors such as youth job insecurity, difficulties accessing housing, low institutional support of childcare, the educational expansion, the use of modern contraceptive methods, among other reasons (Kohler et al. 2002; Esping-Andersen 2013; Baizan 2016). The decline in mortality translated into a remarkable increase in life expectancy at birth, which doubled from 40 to 80 years during the twentieth century. This trend was only transitorily stopped by drastic events: the Spanish flu of 1918, the Civil War (1936–1939), and the subsequent famine. Nowadays, Spain is the country with the second largest overall life expectancy at birth after Japan (OECD 2015b).

The demographic implications of the mortality and fertility processes summarized in Fig. 1 can be easily seen in Fig. 2. From 1850 to 2000, the Spanish population changed dramatically from a population clearly dominated by children and young adults until 1975 to a population that ages rapidly due to the fertility decline that started in 1975.

Fig. 2
figure 2

Source Authors’ estimates

Spanish population distribution (both sexes combined): Selected years 1850, 1900, 1950, 1975, and 2000.

Combining the reconstructed fertility and mortality data with National Time Transfers Accounts (NTTA) estimates, we calculate \(\eta (n_{j,t})\) and \(\upsilon (n_{j,t})\) for a household at age j in year t as follows

$$\begin{aligned} \eta (n_{j,t})&=\sum \limits _{x=0}^j \xi ^m_{j-x} \sum \limits _{k=0}^{N_C}k P_{x,t}(k), \end{aligned}$$
(15)
$$\begin{aligned} \upsilon (n_{j,t})&=\sum \limits _{x=0}^j \xi ^h_{j-x} \sum \limits _{k=0}^{N_C}k P_{x,t}(k), \end{aligned}$$
(16)

where \(\xi ^i_{x}\) are equivalent units of scale referring to an individual of age x for goods (\(i=m\)) and childrearing time (\(i=h)\), respectively, \(P_{x,t}(k)\) is the probability of having k surviving children in year t when the household was x years old, and \(N_C\) is the maximum number of children per year. We use a standard profile for \(\xi ^m_{x}\) that equals 0.4 from ages 0 to 4 and rises linearly with age until reaching 1 at the age of 18. The time spent rearing a child of age x per unit of home labor (\(\xi ^h_{x}\)) is calculated pooling male and female time consumption profiles from age 0 to 18, taken from Rentería et al. (2016), and dividing it by the unpaid work profiles (without childrearing) of males and females combined between ages 28 to 46. This calculation suggests that a new born baby requires 3.65 times the time spent on home production; afterwards, \(\xi ^h_{x}\) exponentially declines to 0 at the age of 16.

Fig. 3
figure 3

Source Authors’ estimates based on the population reconstruction and AGENTA data. Note: Profiles calculated under the assumption that children leave the parental house at age 16

Number of equivalent adults consumers and time spent rearing children per hour of household chores for selected birth cohort. a Equivalent adult consumers, \(1+\eta (n)\), b time spent rearing children per hour of household chores, \(\upsilon (n)\).

Figure 3 shows the evolution over the lifecycle of \(\eta (n_{j,t})\) and \(\upsilon (n_{j,t})\) for six selected cohorts (all other cohorts are omitted for presentation purposes). A value of 2 in Fig. 3a means that a household must finance the consumption of one additional adult.Footnote 6 Over the one and a half centuries we observe two clear trends. First, mainly due to the postponement of childbearing, the age of the household at the maximum number of equivalent adult consumers progressively shifted to older ages from 34 (birth cohort born in 1820) to 42 (birth cohort born in 1970). Second, there was a progressive decline in the household size due to the drop in the total fertility rate (see left panel of Fig. 1).

Comparing Fig. 3a, b, we can notice that, for all cohorts, the maximum value of each profile is attained at older ages in 3a than in 3b. Remember that the highest value of \(\xi ^m\) is attained at age 18, while the highest values of \(\xi ^h\) are concentrated in the first years of life. As a result, we have the age at the maximum value of \(\upsilon (n)\) moving from 31 (for the cohort born in 1820) to 35 (for the one born in 1970). The range of ages we have derived are in line with recent childcare profiles reported for 14 European countries in Vargha et al. (2015). Under the assumption that \(\rho \) is lower than one (Ramey 2009), the difference between the peaks in \(\eta (n)\) and \(\upsilon (n)\) implies that there is a marginal tendency to allocate more time to home production early in life and, later on, to market production. Another important process for the labor supply is the drop in \(\eta (n)\) and \(\upsilon (n)\) across cohorts. Figure 3b shows that \(\upsilon (n)\) declined from three (for the cohort born in 1820) to one (for the one born in 1970).Footnote 7 A similar pattern is observed in Fig. 3a.

3.2 Stock of physical capital

The stock of physical capital (\({\tilde{K}}_t\)) is derived applying the perpetual inventory approach to gross fixed capital formation to the following categories: construction, transport equipment, machinery and equipment, and intangible fixed assets.Footnote 8 The information on gross fixed capital formation for each category during the period 1850–2000 is taken from Prados de la Escosura (2003). We apply the standard formula:

$$\begin{aligned} {\tilde{K}}_t=\sum \nolimits _i {\tilde{K}}_{i,t} \quad \text { with }{\tilde{K}}_{i,t+1}=(1-\delta _i){\tilde{K}}_{i,t}+I_{i,t}, \end{aligned}$$

where \({\tilde{K}}_{i,t}\) is the stock of capital in category i in year t, \(\delta _i\) is the depreciation rate of category i, and \(I_{i,t}\) is the gross capital formation in category i in year t. The depreciation rates applied to each category are 2.1, 18.2, 13.8, and 15\(\%\), respectively (Hulten and Wykoff 1981).Footnote 9 The total depreciation rate of capital (\(\delta _t\)) is calculated so as to satisfy \({\tilde{K}}_{t+1}=(1-\delta _t){\tilde{K}}_{t}+\sum \nolimits _i I_{i,t}\). Since the standard formula for calculating the initial capital stock, \({\tilde{K}}_{i,1850} = I_{i,1850}/(\delta _i + g_i)\), where \(g_i\) is the growth rate of investment in the first 10 years in category i, gives a suspiciously low value, we opted for choosing an initial capital stock that minimized the difference between \({\tilde{K}}_{i,1850}\) and \({\tilde{K}}_{i,1890}\). A similar strategy is shown in Prados de la Escosura and Rosés (2010a).

Fig. 4
figure 4

Sources Educational distribution data is taken from the Wittgenstein Centre Data Explorer (Wittgenstein Centre for Demography and Global Human Capital 2015), the endowment of efficient labor units comes from MTAS (2010), and the average labor force participation rate between 1987 and 2013 is calculated using data from INE (2015a)

Decomposition of the stock of human capital by educational attainment (both sexes combined). a The educational distribution, \(\text {E}_c(e)\), b the endowment of efficient labor units, \(\text {WP}\) and c labor force participation rates, \(\text {LF}\).

3.3 Stock of human capital

We reconstruct the stock of human capital \({\tilde{L}}_t\) taking into consideration the following components:

$$\begin{aligned} {\tilde{L}}_t=\text {HW}_t \sum \limits _{j=16}^{65}\text {N}_{j,t}\int \nolimits _{\mathbf {E}} \text {WP}_{e,j}\text {LF}_{e,j}dE_{t-j}(e), \end{aligned}$$
(17)

where \(\text {HW}_{t}=\) average annual hours worked per worker in year t, \(\text {N}_{j,t}=\) population size at age j in year t, \(\text {WP}_{e,j}=\) productivity per hour worked at age j with education e (or efficient labor units), \(\text {LF}_{e,j}=\) labor participation rate at age j for individuals with education e, and \(\text {E}_{t-j}(e)=\) educational distribution for the cohort born in year \(t-j\).

Time series on annual hours worked per worker are taken from Prados de la Escosura and Rosés (2009) and adjusted from 1977 to 2000 with OECD (2015a) data on hours work. The productivity per hour worked by educational attainment is calculated deterministically by fitting a quadratic function to MTAS (2010) data on the average wage rate per hour worked across age by educational attainment. We represent these functions in Fig. 4b. Using data from INE (2015a), we calculate \(\text {LF}\) profiles by educational attainment as the average labor force participation rate between 1987 and 2013 for each educational group. The \(\text {LF}\) profile by educational attainment, shown in Fig. 4c, is assumed to remain fixed in Eq. (17), while the supply of labor will be endogenously chosen by households in the OLG model. We choose the period 1987–2013 because it includes two periods in which the unemployment rate declined (1987–1991 and 1995–2007) and another two periods in which it increased (1991–1994 and 2008–2013). The educational distribution by birth cohort \(\text {E}_c\) in Spain is taken from the Wittgenstein Centre Data Explorer (Wittgenstein Centre for Demography and Global Human Capital 2015) for two reasons. First, this database offers information on historical reconstruction of educational attainment for the 20th century, and second, it provides harmonized projections until 2100 of the population by age and educational attainment (Lutz et al. 2014). We extract information for Spain on the shares of population by levels of education for the period 1970–2100, which allow us to calculate the educational distribution for each birth cohort born after year 1868.Footnote 10 Since the available data is grouped by five-year age groups, we apply linear splines to interpolate the educational distribution for intermediate cohorts. Last, but not least, in order to guarantee an initial steady state, the educational attainment for cohorts born before 1868 are assumed to coincide with that of the cohort born in year 1868.

To check the validity of our reconstruction of the stock of human capital \(\hat{L}_t\), we compare the labor force, which results from applying the formula \(\sum \nolimits _{j=16}^{65}\text {N}_{j,t}\int \nolimits _{\mathbf {E}} \text {LF}_{e,j}dE_{t-j}(e)\), to existing estimates of the labor force from 1850 to 2000. Figure 5 shows that our labor force estimates before 1950 are very similar to those reported by Nicolau (2005) and it fits well to the most recent estimates from widely used databases which validates our strategy.

Fig. 5
figure 5

Labor force, Spain 1850–2000 (both sexes combined, in millions)

3.4 Labor-augmenting technology

The labor-augmenting technology is calculated using reconstructed input factors in Sects. 3.2 and 3.3. We use OECD (2015c) data on the total number of workers from 1956 in order to account for the rise in unemployment. Our estimation of the labor-augmenting technological progress is calculated applying the formula

$$\begin{aligned} \varDelta \ln A_t=\varDelta \ln ({\tilde{Y}}_t/N_t)-\varDelta \ln ({\tilde{L}}_t/N_t)-\varDelta \frac{\alpha _t}{1-\alpha _t}\ln ({\tilde{K}}_t/{\tilde{Y}}_t), \end{aligned}$$
(18)

where \({\tilde{Y}}_t\) is the value added, \({\tilde{L}}_t\) is the stock of human capital, and \({\tilde{K}}_t\) is the stock of physical capital. From (18) we obtain that the annual average labor-augmenting technological progress from 1850 to 2000 was 1.40\(\%\). We assume no productivity growth before 1850 and we also assume that our estimated average productivity growth for the period 1850-2000 from 2012 onwards. Figure 6 shows the percentage change in the estimated labor-augmenting technological progress \(A_t\).

Fig. 6
figure 6

Source Authors’ calculations. Note The ‘Loess’ smoothing profile was computed using a bandwidth of 0.05 and rescaled to give an annual average growth rate of 1.40%

Labor-augmenting technological progress, Spain 1850–2000.

3.5 Calibration

To perform our quantitative experiment we need to find the parameters such that the model is capable of reproducing some key historical facts of the Spanish economy. We proceed as follows:

In our baseline, we use the annual physical capital depreciation rate \(\delta _t\) estimated in Sect. 3.2 and the labor share calculated by Prados de la Escosura and Rosés (2009). Hence, our modeled depreciation rate is, on average, close to 0.057 and the average labor share for the period 1850–2000 is 0.68. Since there is no information on the average pension benefit across cohorts, we calculate it indirectly. First, we decompose the ratio total public pension expenditures to compensation of employees using the identity

$$\begin{aligned} \frac{\text {Pension expenditures}_t}{\text {Comp. employees}_t}=\frac{\text {Avg. pension per indiv. 65+}_t}{\text {Avg. salary per indiv.} 16-64_t}\times \frac{\text {Pop. 65+}_t}{\text {Pop.} 16-64_t}. \end{aligned}$$
(19)

The first term on the right-hand side of (19) is the average replacement rate of the pension system in year t, which hereinafter we denote by \(\psi _t\). The second term on the right-hand side is the old-age dependency ratio. Data on total public pension expenditures from 1850 to 2000 is taken from Comín and Díaz (2005). Compensation of employees is calculated by multiplying the labor share from Prados de la Escosura and Rosés (2009) to the value added along the period analyzed. Second, the model uses \(\psi _t\) to calculate the pension benefits received for all individuals above age 65 as follows

$$\begin{aligned} b_t=\frac{\psi _t}{\sum _{j>J_R}N_{j,t}}\frac{r^H_t L_t}{\sum _{j=J_0}^{J_R}N_{j,t}}\quad \text { for all }t, \end{aligned}$$

where the last term on the right-hand side is the average labor income of the working-age population. The average replacement rate before 1850 and after 2000 is assumed to stay constant at the levels observed in 1850 and 2000, respectively.

The model is comprised of sixteen parameters. Specifically, we have, for each educational group, the utility weights of each good on the household utility \(\{\phi _e^m,\phi _e^h,\phi _e^z\}\) and the intertemporal elasticity of substitution on leisure \(\sigma _e\). Then, common to all educational groups, we have the minimum consumption level for each good \(\{\bar{c}^m,\bar{c}^h\}\) and the home-production technology \(\{\theta ,\rho \}\). To reduce the dimension of the parameter set, we impose without loss of generality that \(\phi _e^m+\phi _e^h+\phi _e^z=1\) and that work at home upon retirement accounts for 250 min per day (Rentería et al. 2016). Thus, using the first-order conditions, we can indirectly calculate \(\phi _e^z\) as

$$\begin{aligned} \phi _e^z=\phi _e^h(1-\theta )\frac{(1-h)^{\sigma _e}}{h}, \end{aligned}$$

with \(h=.26\) or, equivalently, 250 min per day out of 60 min \(\times \) (24–8) available hours. Moreover, we rely on the estimates of Ramey (2009) and set \(\rho \) at 0.95. All remaining behavioral parameters are structurally estimated using the model. Let us denote by \(\varvec{\lambda } \) the \(9\times 1\) vector of parameters left to be determined:

$$\begin{aligned} \varvec{\lambda }=[\lambda _e,\bar{c}^m,\bar{c}^h,\theta ]' \quad \text { with } \lambda _e=\{\phi _e^h,\sigma _e\} \text { for }e\in \mathbf {E} . \end{aligned}$$

Further, we implement the following restrictions on the parameters, \(\varvec{\lambda } \in \varLambda \). First, the intertemporal elasticities of substitution \(\sigma _e\) must be in the interval between zero and one. Second, the weight on the household utility of home-produced goods \(\phi ^h_e\) must be non-negative. Third, the minimum consumption level of market- and home-produced goods cannot be negative. And fourth, the share of intermediate goods on home production \(\theta \) must be in the interval between zero and one.

For a given \(\varvec{\lambda }\), we solve the model in order to obtain the optimal labor supply of individuals over their lifecycle, the average hours worked, the output per capita, and the consumption per capita. Then, we compute the function \(F(\varvec{\lambda })\) defined by

$$\begin{aligned} F(\varvec{\lambda })=\sum \limits _{j=16}^{65} \sum \limits _{e\in \mathbf {E}} \varPhi ^1_{e,j}(\varvec{X};\varvec{\lambda })^2+\sum \limits _{t=1851}^{2000}\sum \limits _{i=\{l,y,c\}}\varPhi ^i_t(\varvec{X};\varvec{\lambda })^2, \end{aligned}$$
(20)

where \(\varvec{X}\) denotes the exogenous information set of the economic model. The first term corresponds to the difference between the labor supply by educational attainment, shown in Fig. 4c, and the individual labor supply by educational attainment obtained with the model, i.e., \(\varPhi ^1_{e,j}(\varvec{X};\varvec{\lambda })=\gamma \text {LF}_{e,j}-\frac{1}{27}\sum \nolimits _{t=1987}^{2013}\ell _{e,j,t}\). To transform the participation rates to actual hours worked, we set \(\gamma \) to 0.32, which is equivalent to working 36 h per week out of a total of 112 h per week. The second term captures the difference between the observed average hours worked for the population between 16 and 65 years, income per capita, and consumption per capita from 1850 to 2000, and those obtained with the model. Thus, we search for the value of \(\varvec{\lambda }\) that minimizes the function \(F(\varvec{\lambda })\).

Table 1 Model parameters

Table 1 reports the parameter values taken from the literature as well as those structurally estimated with the model. We can highlight in Table 1 three key parameters: the elasticity of substitution between input factors in home production \((\rho )\), the subsistence level of market-produced goods \((\bar{c}^m)\), and the subsistence level of home-produced goods (\(\bar{c}^h\)). The fact that the subsistence level of market- and home-produced goods are positive implies that the income effect dominated over the substitution effect when productivity was low. As a consequence, individuals had to work long hours in order to finance the consumption of both goods in the nineteenth century. A similar result is obtained by Restuccia and Vandenbroucke (2013) analyzing the accumulation of human capital and the evolution of labor supply in the US for cohorts born between 1870 and 1970. It is also worth mentioning that the income effect varies over the lifecycle of the household, becoming stronger when the number of equivalent adult consumers in the household rises, and weaker when productivity increases. Another important remark is that \(\bar{c}^m\) and \(\bar{c}^h\) differ in magnitude. Hence, the rate of change of market-produced goods relative to home-produced goods will differ over time as productivity increases. This result has also been found recently by Moro et al. (2017). The other key parameter is \(\rho \), which we took from Ramey (2009) given that we did not have enough data to estimate it structurally. As we have commented in Sect. 2.2 a value of \(\rho \) lower than one implies that home labor increases as productivity is on the rise. This effect is, however, offset by the existence of a positive minimum consumption of home-produced goods. The other effect of assuming a \(\rho <1\) is that total unpaid hours marginally fall and paid hours marginally rise with the decline in \(\upsilon (n)\), see Fig. 3b.

Fig. 7
figure 7

Source See text on Fig. 4 for panels 7a, b. National accounts data are taken from OECD (2015c) and Prados de la Escosura and Rosés (2009)

In-sample performance of the model, Spain 1850–2000. a Fraction of per-capita hours worked by educational attainment, average of the 1987–2013 period, b average hours worked by working-age population, c income per capita (in logs) and d consumption per capita (in logs).

Figure 7 shows the in-sample performance of the baseline model with respect to the targeted time series. In Fig. 7a, we can see how well the model replicates the average per-capita hours worked by level of education between 1987 and 2013. Figure 7b compares the observed average fraction of hours worked by the working-age population to that obtained in the baseline. The discrepancy between both figures from 1976 to 2000 is explained by the fact that we do not consider the risk of unemployment in the model, whereas the unemployment rate rose to values over 20\(\%\) during this period. In Fig. 7c, d we show how well the model replicates the evolution of the income per capita (or economic growth) and the consumption per capita from 1850 to 2000.

The next section will apply the calibrated OLG model to the Spanish data to disentangle the contribution of demography to the observed economic growth.

4 Results

In this section we quantify the Spanish demographic dividend or, equivalently, the contribution of demography to Spain’s economic growth from 1850 to 2000. In so doing, we first need to realize that assessing the demographic dividend over a long period of time by using the naïve demographic model

$$\begin{aligned} \left( Y/N\right) _{\text {gr}}=\left( Y/W\right) _{\text {gr}}+\left( W\right) _{\text {gr}}-\left( N\right) _{\text {gr}}, \end{aligned}$$
(21)

where W stands for workers and ‘\(\text {gr}\)’ denotes the average growth rate, gives an incorrect measure, since the growth rate of the support ratio (i.e. \(\left( W/N\right) _{\text {gr}}\)) is zero in the long run. This is because in a stable population the growth rate of the population coincides with the growth rate of workers (Lotka 1939).

Table 2 shows the decomposition of the growth rate of per-capita output in Spain from 1850 to 2000. A naïve calculation using the first row of Table 2 suggests that only 5\(\%\) (i.e., = (\(W_{\text {gr}}-N_{\text {gr}}\))/ \((Y/N)_{\text {gr}}\) = (.80–.72)/1.62) of the Spanish economic growth from 1850 to 2000 is explained by demographic changes. However, long-run demographic changes are translated into economic growth through productivity effects, known as the productivity component (Kelley and Schmidt 2005). For instance, some possible channels for demography to impact on productivity are: scale economies, population density, life-cycle savings, changes in the supply of labor, and changes in the human capital accumulation, among others.

Table 2 Per-capita output growth in Spain: 1850–2000 (annual average logarithmic rates in percent)

In order to control for some of the above mentioned channels, in this article, we follow the same strategy as in Sánchez-Romero (2013) to assess the Spanish demographic dividend. First, we show that our model is capable of reproducing the evolution of per-capita income along the period 1850–2000. In this regard, Fig. 7c shows that our model mimics well the small growth of per-capita income for the period 1850–1925, the period of stagnation from 1925–1950, and the golden age of rapid economic growth from 1950–1975. Second, based on the vital rates obtained for year 1800, we build a set of different demographic scenarios (from now on ‘experiments’) to disentangle the effect of demography for the period 1850 to 2000.Footnote 11 We propose the following three experiments:

  • Experiment 1 In this experiment we cancel the effect of fertility and mortality. This experiment gives the structure of the population in year 1800 under stable conditions. Life expectancy at birth is fixed at 31.5 years and the TFR is fixed at a value slightly above 5, which implies a young population structure (see the dotted line in Fig. 8a) and a constant annual population growth rate of 0.5\(\%\) (see Fig. 8b). By comparing the economic outcomes of the baseline simulation to those of Experiment 1 we get the contribution of demography to economic growth.

  • Experiment 2 In this experiment we cancel the effect of the increase in longevity. This demographic scenario implies that the population would have increased until 1920 and it would have declined afterwards due to the fall in fertility below replacement level (see Fig. 8b). As a consequence, the age distribution of the population in year 2000 would have been older than under the baseline (see the triangle line in Fig. 8a).

  • Experiment 3 In this experiment we shut down the effect of the decline in fertility. The population growth rate would have continuously increased over the twentieth century until reaching a stable population growth rate of 3\(\%\). Thus, the age distribution of the population would have been even younger than under Experiment 1 (see circled line in Fig. 8a). Moreover, given the increasing population growth, during the period 1850–2000 the population growth rate would have been larger than the growth rate of the population between ages 16 and 65 (see Fig. 8b).

Notice that setting Experiments 2 and 3 allows us to separate, as completely independent factors, the effect of fertility and mortality on economic growth.

Fig. 8
figure 8

Source Authors’ calculation. Notes Experiment 1 assumes a fixed TFR around 5 and a life expectancy at birth of 31.5 years. Experiment 2 assumes a fixed life expectancy at birth of 31.5 years and a TFR as in the baseline. Experiment 3 assumes the TFR to be fixed around 5 and life expectancy evolving as in the baseline

Population characteristics under different experiments, Spain 1850–2000. a Population distribution in year 2000, \(N_{j,2000}/N_{2000}\) and b population growth rates from 1850 to 2000.

Given these three experiments, Sánchez-Romero (2013) shows that the impact of demography on per capita income growth can be easily estimated by calculating the relative contribution of each demographic factor to the observed economic growth, which is replicated by our baseline model. To gain some intuition about our counterfactual experiments, let us assume per capita income growth from time \(t_0\) to time t, \((Y/N)_\text {gr}\), is explained by an average exogenous increase in productivity (\(A_\text {gr}\)), by demographic changes (Dem), and by other exogenous factors (I). Thus, per capita income growth from time \(t_0\) to t is given by

$$\begin{aligned} (Y/N)_\text {gr}=A_\text {gr}+Dem+I.\, (\text { Baseline}) \end{aligned}$$
(22)

If we cancel—like in Experiment 1—the demographic changes (Dem), ceteris paribus other exogenous information (i.e. \(A_\text {gr}+I\)), the new per capita income growth during the same period \((\widehat{Y/N})_\text {gr}\) will be given by

$$\begin{aligned} (\widehat{Y/N})_\text {gr}=A_\text {gr}+I.\, (\text { Experiment}) \end{aligned}$$
(23)

Thus, from (22) and (23) the contribution of demography to the observed per capita income growth can be calculated as follows

$$\begin{aligned} \frac{({Y/N})_\text {gr}-(\widehat{Y/N})_\text {gr}}{({Y/N})_\text {gr}}=\frac{Dem}{A_\text {gr}+Dem+I}. \end{aligned}$$
(24)

The same intuitive calculation can be done either for each demographic factor (i.e. experiments 2 and 3) or for any other factor affecting per capita income growth. Next we explain how demography affects per capita income and its relative contribution.

Mortality and fertility effects. Following Kelley and Schmidt (2005) our model captures the effect of demography on per capita income through two main channels:

  1. (i)

    the difference between the growth rate of workers and the growth rate of the population, or translation component, and

  2. (ii)

    through changes in the market labor supply and in household savings, caused by the rise in life expectancy and the fall in fertility, or productivity component. Notice the productivity component arises not only from changes in the behavior of individuals, but also from changes in the population’s age structure.

Given our economic setup, these two components are well-captured by the following decomposition of per capita income growthFootnote 12

$$\begin{aligned} (Y/N)_{\text {gr}}=\underbrace{\left( \frac{\alpha }{1-\alpha }K/Y\right) _{\text {gr}}+(L/W)_{\text {gr}}}_{\textit{Productivity component}}+\underbrace{(W)_{\text {gr}}-(N)_{\text {gr}}}_{\textit{Translation component}}+A_{\text {gr}}. \end{aligned}$$
(25)

By comparing per-capita income growth in the baseline to that in the experiments, the first term on the right-hand side of Eq. (25) mainly captures the change in household savings, the second term L / W mainly reflects the change in the average hours worked, and the third term W / N reflects the change in the support ratio.Footnote 13

Table 3 Source of per-capita output growth from 1850 to 2000 by demographic component (annual average logarithmic rates in percent)

We summarize the simulation results in Table 3, which shows the source of per-capita income growth from 1850 to 2000. Column I reports the results obtained in the baseline, while columns II–IV show the results obtained in each experiment. We split Table 3 in two blocks of rows (A and B). The first block (A) shows the contribution of each input factor—physical and human capital—, both in per capita terms, to the growth rate of per-capita output. The second block (B) shows the decomposition of per-capita income growth in terms of the productivity component and the translation component; see Eq. (25). Recall that only by comparing the baseline to each experiment gives the contribution of each demographic factor to per-capita income growth. This is because the productivity component and the translation component are not only influenced by demographic factors but also by other exogenous factors such as the exogenous labor-augmenting technological progress (A), the educational expansion, the introduction of a public pension system, etc. Moreover, we include an additional (sub)column in Table 3, denoted with the extension .b, which shows for each simulation the decomposition of per-capita income growth that would result from holding the household’ saving rate and the household labor supply in year 1850 constant. Thereby, the difference between the values in columns .a and .b gives the contribution of the behavioral changes to the growth rate of each ratio \((\cdot )_\text {gr}\).

Table 3 shows that the average per-capita income growth rate from 1850 to 2000 in the baseline model is 1.63\(\%\) per year, which is close to the actual 1.62\(\%\) shown in Table 2. The contribution of the per-capita stock of physical capital (K / N) to the growth of per-capita income was 0.61\(\%\) per year in the baseline (see column I.a), while the per-capita stock of human capital (L / N) contributed around 0.08\(\%\) per year. We can also see in Table 3 that the growth rate of K / N is greater in column I.a (0.61\(\%\)) than in column I.b (0.49\(\%\)). This difference suggests that households reacted to the new economic and demographic environment by increasing their saving rate. In contrast, the smaller growth rate of L / N reported in column I.a (0.08\(\%\)) compared to that in column I.b (0.18\(\%\)) suggests that households reduced their labor supply during this period.

To disentangle whether the increase in savings and the decline in the labor supply are explained by demographic factors, or by other exogenous variables, we compare the experiments to the baseline. Thus, the difference in the growth rate of K / N between columns I.a and II.a suggests that demography accounts for an average increase in K / N of 0.13\(\%\) per year (\(=0.61-0.48\)) and for an increase in L / N of 0.14\(\%\) per year (\(=0.08-(-0.06)\)). Looking at columns III.a and IV.a we can see that the contribution to the increase in K / N of the decline in fertility (0.09\(\%\) \(=0.61-0.52\)) is greater than the contribution of the increase in longevity (0.06\(\%\) \(=0.61-0.55\)). As shown in Fig. 8a (compare the solid black line to the circled gray line), the greater positive effect of fertility on K / N is explained by the aging of the population or, equivalently, by the change in the age structure of the population. Since older households have more wealth, the older population structure implies a greater per-capita wealth. In contrast, the lower impact of longevity on savings during the period 1850–2000 is the result of two opposite effects. First, a higher longevity negatively affects aggregate savings because the fall in mortality increases the population growth rate and, as a consequence, the average age of the population declines. Note that this effect is the opposite as the one explained for the decline in fertility. Second, the rise in longevity also has a positive effect on savings, since individuals increase their savings for retirement motive. Given that the net effect of longevity from 1850 to 2000 is positive, the latter effect dominates over the former effect during this period.

In order to analyze the impact of demography on the stock of human capital, we focus on the stock of human capital per worker (L / W) rather than on L / N. We can highlight two interesting results in Table 3. First, when the population is stable—i.e., fertility rates and mortality rates are constant—we can see in column II.a that L / W declines at a rate of 0.19\(\%\) per year. This fall in L / W is explained by a reduction in the labor supply caused by the increase in the labor-augmenting technological progress. The intuition is simple. As productivity rises and households become richer, the non-homothetic preferences in Eq. (1) imply that households devote a higher fraction of their wealth to buy more leisure time and to reduce their working time. Second, comparing column I.a to II.a, we can see that demography accounts for an average increase in L / W of 0.08\(\%\) per year (\(=-0.11-(-0.19)\)). However, unlike the result obtained for the per-capita stock of physical capital, the positive effect of demography on L / W is explained by the increase in longevity rather than by the decline in fertility. From experiments 2 and 3 we get that the increase in longevity contributes to the rise in L / W by 0.11\(\%\) per year (\(=-0.11-(-0.22)\)), while the decline in fertility reduces L / W by 0.02 (\(=-0.11-(-0.09)\)) percent per year. The positive effect of longevity on L / W is due to the increase in the expected length of work, given that more households survive to retirement. Similar results have been derived using US data from 1850 to 1990 (Lee 2001). The negative effect of the decline in fertility on L / W is caused by a fall in hours worked. This is because households use the positive wealth effect from raising a lower number of children to purchase more leisure time.

Table 4 Demographic contribution to the growth rate of per-capita output \((Y/N)_\text {gr}\) from 1850 to 2000 by demographic component (in percent)

Using the information displayed in Table 3 and applying Eq. (24), Table 4 reports the contribution of demography to the growth rate of per capita income during the period 1850–2000. The first row in Table 4 shows that demography contributed 16.8\(\%\) points (\(=(1.63-1.36)/1.63\)) to the per-capita output growth in Spain from 1850 to 2000, instead of 5\(\%\) estimated using the naïve demographic model; that is, the growth rate of the support ratio. The rise in longevity and the drop in fertility both had a positive and significant effect on per-capita income growth (see the last two rows in the first column of Table 4). In particular, the rise in longevity and the fall in fertility explain 6.4 (\(=(1.63-1.53)/1.63\)) and 14.5 (\(=(1.63-1.40)/1.63\)) percentage points, respectively, of the observed per-capita income growth between 1850 and 2000. Notice that since each demographic factor has a non-linear effect on the economic outcomes, the sum of both demographic components is not equal to the total effect. Moreover, the relative contributions of the translation component and the productivity component are reported in the last three columns of Table 4. The first row shows that the translation component accounts roughly for 50\(\%\) (i.e., \(=8.4/16.8\)) of the demographic dividend along the period 1850–2000, while the productivity component explains the remaining 50\(\%\). If we study the relative contribution by demographic component, the second and third rows show that the rise in longevity mainly affected the productivity component (i.e., \((2.3+6.7)/6.4\)), whereas the drop in fertility mainly affected the translation component (i.e., 14.2 / 14.5).

5 Discussion of the results

Besides demography and the labor-augmenting technological progress, we have introduced in the OLG model four other exogenous sources of variation: (i) the increase in the number of people with secondary and higher education, or educational expansion; (ii) the universalization of the pension system captured by a higher average replacement rate (\(\psi _t\)); (iii) the change in the capital share (\(\alpha _t\)) over the period 1850–2000; and (iv) the progressive increase in the capital depreciation rate (\(\delta _t\)). Under the assumption that all exogenous factors are independent, in this section we study the contribution of each factor to the growth rate of per-capita income. Hence, this exercise helps us to assess the relative importance of demography with respect to other economic factors.

Table 5 Contribution of other factors to per-capita income growth \((Y/N)_\text {gr}\) from 1850 to 2000 (in percent)

To study the impact of the educational expansion on our results, we have compared our baseline simulation to a counterfactual experiment in which we fix the educational distribution of all cohorts to that observed for the cohort born in 1850. Table 5 shows that only 9.8\(\%\) of the total increase in per-capita income growth from 1850 to 2000 is due to the educational expansion. This result does not imply that the contribution of education is generally small, but that the expansion of education in Spain occurred rather late compared to other European countries. Moreover, the value we obtain for the contribution of education on per-capita income growth is on the lower bound since we assumed education to have no impact on either the demographic transition (Murtin 2013; Crespo-Cuaresma et al. 2014) or the technological progress.

It is worth noting that the contribution of education to per capita income growth could also be interpreted as a contribution of demography. Indeed, there is growing evidence showing that changes in longevity may explain more than 30\(\%\) of the increase in the number of years of education (Restuccia and Vandenbroucke 2013; Sanchez-Romero et al. 2016). Thus, demography may well account for 19.7\(\%\) (i.e., \(=16.8+0.3\times 9.8\)) of the observed per-capita income growth. Moreover, the model includes exogenously the quantity-quality trade-off (Becker et al. 1990). According to this theory, the decline in fertility can partly explain the increase in educational expenditure and the number of years of education (Lee and Mason 2009), which would yield values higher than 20\(\%\). We cannot rule out either the possibility that population density may also boost technological progress (Lee 1988; Kremer 1993; Galor and Weil 2000; Jones 2001), which will lead to even higher values. Nevertheless, since the causal relation between demography and education can go in both directions, in this article we opted for having a neutral position by taking the observed trends in those variables and ignoring their feedback effects.

In a lifecycle model the main driver for the accumulation of capital is the lack of income to finance the consumption during retirement, i.e., the savings for retirement motive. To avoid an unrealistic savings profile, we introduced the historical evolution of the social security system through our indirect estimation of the average replacement rate. Thus, by setting the average replacement rate to the value derived for the year 1850, we can have a rough assessment of the importance of the pension system on our results. Comparing the baseline to a counterfactual \(\psi _t=\psi _{1850}\) for all t, we get that the expansion of the pension system has reduced per-capita income growth by 3.7\(\%\). Looking at Table 5 we note that almost 50\(\%\) of the overall reduction in per-capita income is due to the fall in L / W and 50\(\%\) to the reduction in K / Y. The decline in L / W is explained by the negative effect that a tax on labor income exerts on hours worked, while the reduction in savings is explained by the crowding out effect produced by the social security system.

From 1850 to 2000, one of the engines of growth was the progressive conversion of Spain from a rural economy to a system in which the industry and the tertiary sector play the most important roles. Although most of the consequences of the industrialization and tertiarization of the economy has already been captured by the labor-augmenting technological progress, this process is also partly reflected by the change in the labor share and the depreciation of capital. To capture the effect of the change in labor share and capital depreciation on our results, we run two additional experiments assuming a constant labor share of two-thirds, which corresponds to that reported by Prados de la Escosura and Rosés (2010b) for 1850, and another with a constant capital depreciation rate at the level of 1850. Prados de la Escosura and Rosés estimate that the labor share in Spain was below two-thirds from the beginning of the twentieth century until the 1930s, it was above two-thirds from 1930 until World War II, witnessed a sharp decline at the beginning of the 1950s, and recovered to pre-Civil War levels after the Stabilization Plan in 1959. The initial capital depreciation rate is estimated at 5.24\(\%\), while the capital depreciation rate at the beginning of the twenty-first century is slightly above 6\(\%\). We also include in the capital depreciation series the estimated 7\(\%\) productive capital destruction during the Civil War (Prados de la Escosura and Rosés 2010a). Table 5 reports that the change in the labor share over the period 1850–2000 positively contributed by 7.1\(\%\) points to per-capita income growth, whereas the increase of the capital depreciation affected per capita income growth negatively by 1.6\(\%\).

As a final remark, it is also interesting to study what will be the impact of demography if the model only considers the adult population, which is the standard practice in many overlapping generation models. Provided the same parameter values reported in Table 1, we obtain that the total contribution of demography on per capita income growth in the model without children (aged 0–15) is only 6.5%. Thereby, we conclude that the standard practice in OLG models underestimates the actual contribution of demography on per capita income growth by 10\(\%\) points.

6 Conclusion

In this paper we studied the contribution of changes in the demographic structure on per-capita income growth. To shed light on this old topic, we used a new approach by considering an OLG model populated by households that are heterogeneous by level of education, who optimally choose the consumption of market- and home-produced goods, and the time spent working in the market and in home production. Then, we validated our approach by showing that our model is capable of replicating the observed increase in income and consumption per capita, and the pronounced decline in hours of work from 1850 to 2000.

Our main finding suggests that the rise in longevity and the drop in fertility account for around 17\(\%\) of the increase in per-capita income growth from 1850 to 2000. An analysis by demographic component gives that the drop in fertility explains 14.5\(\%\) of the economic growth, while the rise in longevity explains 6.4\(\%\). We also studied the contribution of the demographic transition in terms of the translation component (population structure) and the productivity component (changes in labor supply and capital accumulation). Our results suggest that the translation component accounts for 50\(\%\) of the total income growth from 1850 to 2000, and hence the productivity component accounts for 50\(\%\). By running additional counterfactual experiments we obtained two other key findings. First, we showed that, after productivity, demography is the most important factor explaining per-capita income growth for the country analyzed. Second, we showed that OLG models highly underestimate the impact of demography on per-capita income growth when dependent children are not included.

Our estimated contribution of demography to economic growth from 1850 to 2000 should, however, not be taken as a fixed number. We believe the value around 17\(\%\) points is likely to be the minimum contribution of demography to per-capita income growth. Indeed, there is growing evidence showing that changes in longevity may explain to a large extent the educational transition and the change in labor supply (Cervellati and Sunde 2013; Restuccia and Vandenbroucke 2013; Sanchez-Romero et al. 2016). This figure could be even higher if we consider that population density may boost technological progress (Lee 1988; Kremer 1993; Galor and Weil 2000; Jones 2001; Croix et al. 2008). Thus, further research is needed to investigate other interactions such as the interplay among demographic change, the education transition, and productivity growth.