fedea
Fundación de Estudios de Economía Aplicada
Immigration and Social Security in Spain by Clara Isabel González* ** J. Ignacio Conde-Ruiz *** Michele Boldrin DOCUMENTO DE TRABAJO 2008-36
Serie Inmigración CÁTEDRA FEDEA- Banco Popular
October 2008
This Paper has been prepared for the Fedea Report 2008
* FEDEA. ** FEDEA and Universidad Complutense. *** Washington University and FEDEA.
Los Documentos de Trabajo se distribuyen gratuitamente a las Universidades e Instituciones de Investigación que lo solicitan. No obstante están disponibles en texto completo a través de Internet: http://www.fedea.es. These Working Paper are distributed free of charge to University Department and other Research Centres. They are also available through Internet: http://www.fedea.es
ISSN:1696-750
Jorge Juan, 46 28001 Madrid -España Tel.: +34 914 359 020 Fax: +34 915 779 575 infpub@fedea.es
Immigration and Social Security in Spain
Clara I. Gonzalez∗ FEDEA
J. Ignacio Conde-Ruiz FEDEA and UCM
Michele Boldrin Washington University and FEDEA
October 2008
[Preliminary draft. Please do not quote.]
1 Introduction
We try to build a quantitative-theoretical framework to understand the impact of immigration on the Spanish pension system, both during the last ten years and, more importantly, during the future fifty years. In other words, we look at the recent past in a tentative to predict the future. Because we are perfectly aware of the intrinsic impossibility of predicting future economic events at an horizon longer than a few days, we interpret our simulations and predictions with a very large of clinical judgement. It is not that we do not trust them: as far as we can tell, given the information available today, these are the best predictions we can think of. On the other hand, being quite aware of the dramatic limitations in the information available to us, we spend most of our time pointing out the multiple reasons why our predictions may turn out to be completely wrong. In this sense, all we are attempting here is to ofer a frame of reference for an educated policy discussion, and for further, more powerful and deeper, economic research.
While the framework is, in principle, quantitative-theoretical we have made an intentional efort to minimize the relevance of theory. This is not because we have no respect for economic theory, quite the opposite.
∗Michele Boldrin, Washington University , mboldrin@artsci.wustl.edu, Jose Ignacio Conde-Ruiz, Fundación de Estudios de Economía Aplicada (FEDEA), C/ Jorge Juan, 46, 28001 Madrid (Spain) , Tlf. +34 914359020, conde-ruiz@fedea.es, Clara Isabel Gonzalez (FEDEA). We are grateful to Ricardo Gimeno, Florentino Felgueroso, Vincenzo Galasso, Juan Francisco Jimeno, and Sergi Jimenez for comments and suggestions. All remaining errors are our responsibility.
2 The Model
We develop an Overlapping Generation Model in which individuals live for 17 periods. Every period corresponds to five years of calendar time. Individuals enter the economy at the age of 15 and live at most until age 100. The maximum potential working life of an individual is therefore of 10 periods, that is from 15 years old until 64 years old, as the legal retirement age is set at 65. Finally the maximum potential life in retirement (for individuals retiring at 65) is of 7 periods.
Individuals difer not only by age, but also by gender, skill (or educational attainment) and by country of origin. More precisely, the individual heterogeneity is characterized as follow:
• by nationality (country of origin) : n for ‘natives’ and m for ‘immigrants’
• by gender : m for ‘males’ and f for ‘females’
• by educational level : d for ‘high school dropout ’ (primary education), h for ‘high school’ (secondary education) and c for ‘college graduate’ (tertiary education).
• by age for individuals between 15 and 19 years of age, and so on until for individuals between 95 and 99 years of age.
We have 12 diferent groups of individuals, each one of which is, in turn, subdivided in 17 groups according to their age.
2.1 Demographic Scenario
In less than two decades, Spain has become the country in Europe with the largest inflow of foreign immigrants. After 2000, the inflow has reached an average of 600, 000 new arrivals per year and the number of immigrants has increased from 0.9 million (2.2 percent of the population) in year 2000 to 4.7 millions (10.5 percent of the total population) in year 2007. This five-fold increase in the space of seven years has no parallel in any other of OECD country during the recent decades. In fact, 10 percent of all the immigrants in OECD countries during the period 2000 − 2005 have come to Spain. By far, the most important group of immigrants comes from Latin America, followed by other EU members and Northern Africa. This large and relatively sudden influx of immigrants has, in turn, meant that the population growth rate of Spain has been higher than at any point in time during the last hundred years (around 1.8% per year). The Spanish population increased more in the period 2000 − 2007 (by 4.6 million) than in the previous two decades (3.4 million).
The immigration flow has rejuvenated the Spanish population: in 2007 more than 86% of immigrants were between 16 and 64 years of age, compared to 66% in the native stock. Absent immigration, the number of individuals aged between 16 and 24 would have decreased by as much as 1.5 million in the last seven years. In terms of median age, immigration has decreased it by two years from 40 to the current 38 years. In 1996, most international agencies were forecasting a bleak demographic outlook for Spain. The United Nations projected a population of 30 million people in Spain in 2050. The current projections from the INE (Spain’s National Statistics Institute), which are subject to considerable uncertainty because of the new demographic situation, speak of a population of 53 million in 2050.
Figure 1: Net immigrant flows in Spain 1960-2007 Source: Own elaboration with FBBVA data (thousands)

In this section we describe the efect of immigration on the Spanish demographic scenario. More specifically, taking the demographic situation of 2006 as our starting point1 we try forecasting its evolution until 2050. The methodology used is the Cohort Component Population Projection Method. The cohort component technique uses the components of demographic change to project population growth. The methodology takes each age-group of the population and projects it forward using estimated models of mortality, fertility and migration. To project the total population and the number of males and females by age group, we use the following identity
\[P o p _ {t + n} = s u r v i v i n g p o p u l a t i o n + b i r t h s + n e t m i g r a n t s\tag{1}\]
1We pick the year 2006 as the starting point of our exercise to be consistent with the last available wave of the MCVL data.
The total population of Spain in period t is decomposed as follows
\[P o p _ {t} = \sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} P o p _ {t} (j, g, e, c)\tag{2}\]
where is the number of individuals with age , gender education level and nationality c living in Spain in period t. A few definitions will be useful in what follows.
• The probability of surviving from age to age is (one minus the mortality rate). We treat males and females diferently, but not natives and immigrants.
• The (females) probability of reproduction is , which depends on age, education and country of origin.
• Net migration is ; where is the net inflow of immigrants with age , gender and education level e in period t.
The law of motion of the population is:
\[\begin{array}{l} P o p _ {t + 1} = M _ {t + 1} + \sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} \psi_ {t} (j, g) P o p _ {t} (j, g, e, c) + \\ \sum_ {j = 1} ^ {1 7} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} P o p _ {t} (j, f, e, c) k _ {t} (j, e, c) \end{array}\tag{3}\]
The benchmark demographic scenario is calibrated to match the ‘long term scenario No 1’ of INE. We adopted it this as our benchmark because it has been used in most of the papers analyzing the Spanish social security system. This requires taking directly from INE the survival probabilities, the total number of births and the average net immigrant flow, which we have done.
The main assumptions for our baseline scenario, therefore, are:
• Births: the total number of births (from INE scenario 1) is allocated: i) by gender (males 51% and females 49%); ii) by nationality, in proportion to the number of women between the age of 16 and 49. In accordance with the law, we treat as immigrants the children of an immigrant female, even though they were born in Spain.
• Net immigrant flow: INE’s forecast is allocated: i) by gender (males 51% and females 49%); ii) by age: between 0 and 40, using the proportions observed during the last two years, which are reported in Figure 2.
Figure 2: Net immigrant arrival 2005-2007 Source: Labor Force Survey (EPA)

Figure 3, shows the two demographic pyramids - the one for natives and the one for immigrants - in year 2007. Notice that the largest cohorts are the same in the two groups.
Figure 3: Population pyramid 2007 Source: Labor Force Survey (EPA)

In table 1, we report, for our benchmark scenario, the projected Spanish population, the old age dependency ratio ( population older than 64 divided by population between 16 and 64), and the working age population (between 16 and 64), with and without immigrants. If there is no legal assimilation, the share of immigrants in the total population will increase from 12.3% to 40.1% in 2050. The old-age dependency ratio would be 35% higher, without immigration, and the potential labor force 45% smaller.
Table 1: Baseline Scenario
| year | Total pop | Natives | Immigrants | |
| 2008 | 45,476,172 | 39,881,691 | 5,594,481 | (12.3) |
| 2010 | 46,371,684 | 39,975,928 | 6,395,755 | (13.8) |
| 2020 | 50,559,876 | 39,910,397 | 10,649,479 | (21.1) |
| 2030 | 53,609,035 | 38,773,867 | 14,835,169 | (27.7) |
| 2040 | 56,286,736 | 37,240,222 | 19,046,514 | (33.8) |
| 2050 | 58,463,150 | 35,027,510 | 23,435,640 | (40.1) |
Old age projections
| year | Population 16-64 | Dependency rate | Population 30-45 |
| 2008 | 30,789,296 | 24.3 | 12,337,980 |
| 2010 | 31,121,765 | 24.8 | 12,744,263 |
| 2020 | 32,586,236 | 27.8 | 12,409,768 |
| 2030 | 33,830,687 | 33.0 | 10,422,681 |
| 2040 | 33,830,041 | 41.2 | 10,910,023 |
| 2050 | 32,956,125 | 48.7 | 12,222,221 |
Finally, figure 4 reproduce the predicted evolution of the demographic pyramids for natives and immigrants. In spite of the large immigration flow, the aging process of the Spanish population is predicted to continue.
2.2 Immigration and the Labor Market Scenario
We examine next the direct impact of immigration on the labor market. On the one hand, the participation rate of immigrants is much higher than that of natives, in all age groups. On the other hand, the unemployment rate is also higher among immigrants. As a result, the employment rate for immigrants is lower than that of natives for certain age groups. In spite of this, almost 50% of all the new jobs created during the period 2000-2007 have been taken by immigrants.
The arrival of a large number of immigrants has been accompanied, in the Spanish labor market, by two other major changes: a reduction in the unemployment rate of the natives, and a dramatic increase in the activity rate of women. Figures 5 and 6 report the distribution of the Spanish labor force in year 2007 according to education, age, sex, nationality and (educational) skills.
Because the educational attainment of Spanish natives and immigrants have changed dramatically during the two last decade, we need to make some assumption about how they will evolve in the future. This is obviously arbitrary, as neither theory nor data can tell us much. Nevertheless, because something must be assumed, we assume that all the new cohorts will reach the same educational levels of the most educated cohort so far, which corresponds to the one born in 1975, i.e. to people that were 32 years old in 2007.The dynamic implications of this assumption are in Figure 7: the share of college educated people in the labor force moves from 26.5% to 39.5%, while the high school dropouts shrink to 33.5%, from the current level 49.2%.
Figure 4: Population pyramid 2050 own projections




Figure 5: Educational levels natives 2007


Figure 6: Educational levels immigrants 2007


Figure 7: Evolution of the educational levels distribution Educational evolution (Total Population)

We begin with describing the evolution, along the individuals’ life cycle, of their labor market condition. We use information from EPA to condition for individual heterogeneity. Between the ages 15 and 64 an individual can be employed (E), unemployed (U) or out of the labor force (I). The employed can be either selfemployed (denoted by or employees (denoted by . Those out of the labor force are either students (denoted by e), retired and receiving either an old age or a disability pension or inactive (denoted by d and i, respectively). Unemployed individuals are just unemployed, without further distinction. Between the ages of 65 and 99, individuals are assumed to be out of the labor force and either receiving or not receiving a pension, according to the rules described below.
We denote with the percentage of employees in the group with characteristics . Similarly, is the percentage of self-employed, the percentage of unemployed, dt the percentage of those with a permanent disability pension, and the residual percentage of inactive people. Figure 8 shows the vast heterogeneity of conditions among the various groups. Among native residents, the inactivity rate is higher among females but the diference shrinks for younger age groups, while the activity rate increases with educational level, as to be expected. Among immigrants (see Figure A.1 in the Appendix) the activity rate is higher than among natives for all the relevant age groups.
Figure 8: Life cycle Natives Males - High school

Next, using the data from EPA, we estimate the transition probabilities among the five groups u and i) at diferent stages of the life cycle. The estimated process follows a finite state Markov chain that is, for a set of individual characteristics , homogeneous across workers and whose conditional transition probability matrix is:
\[p _ {s s ^ {\prime}} = \operatorname * {P r} (s _ {t + 1} = s ^ {\prime} s _ {t} = s \mid j, g, e, c) \text {for all} s \text {and} s ^ {\prime} \in \{o _ {c a}, o _ {c p}, u, d, i \}\tag{4}\]
The transition probabilities so obtained (see figure 9) are consistent with the observed snapshot for year 2006, reported in Figure 8. Further, the estimated transition probabilities incorporate an aggregate evolution of the average employment rate from the 65.6% of 2006 to the 72.8% of 2050. Finally, we should stress that the lack of any reliable data about immigrants has forced us to an unpleasant choice in the estimation of the transition probabilities: we are assigning to immigrants the same transition probability matrix estimated for natives.
Transition probabilities unemp → em Transition probabilities unemp → inact Figure 9: Main transition probabilities a. Employment - unemployment and employment - inactivity


b. Unemployment - employment and unemployment - inactivity


c. Inactivity - employment and inactivity - unemployment


2.3 The Spanish Social Security System
The Spanish Social Security System is composed by two major schemes – the general regime - RG- (Régimen General de la Seguridad Social), covering most private employees, and the special regimes (Regímenes Especiales de la Seguridad Social), covering mainly self-employed - RETA (Regimen Especial de Trabajadores Autonomos) - and workers in the agricultural, fishing and mining sectors. At 31st of December 2007, 76.7% of the workers in the private sector were enrolled in the Régimen General, 16.5% in the RETA and 6.8% in the other special regimes. Furthermore, some public employees were covered by the Régimen de Clases Pasivas that, in 2007, paid out almost of all pension benefits, financed by general revenues rather than by standard social security contributions.
The public schemes provide four types of benefits: old-age pensions, disability pensions, survivors’ pensions and family benefits. In 2006, old-age pensions amounted to almost 58.8% of the total number of pensions, but to almost 64.6% of total pension expenditure, followed by survivors’ pensions, which amounted to 26.9% of total number of pensions and 19.4% of the expenditure. Finally, disability pensions represent 10.7% of total pensions and 11.8% of the expenditure.
The Spanish Social Security System is a Defined Benefit Pay-as-you-Go System where the pension level depends only on the labor history of the worker and not on the economic, demographic and financial conditions at the time of retirement. Eligibility depends on the number of years of contribution and on the retirement age. Pensions have been awarded to individuals who had contributed for at least 15 years, two of which in the last fifteen years prior to retirement, who had reached 65 years of age and had retired from the active labor force. Early retirement pensions are however available to 61 years old individuals; they are indeed quite common in spite of an 8% actuarial reduction per each year of retirement prior to 65. To eligible individuals, the Spanish system provides an old age pension benefit equal to:
\[p _ {t} = \alpha \theta \widetilde {w}\tag{5}\]
where is the reference wage (Base Reguladora), θ is the replacement rate (% of the Base Reguladora) and α is the penalty for early retirement. The reference wage represents the weighted average of the base for social security contributions over the 15 years prior to retirement, with all wages, but those in the two years priors to retirement, indexed to inflation2. This reference wage needs not to coincide with
\[\widetilde {w} = \frac {\left(\sum_ {i = 1} ^ {2 4} b _ {t - i} + \sum_ {i = 2 5} ^ {1 8 0} b _ {t - i} \frac {I P C _ {t - 2 5}}{I P C _ {t - i}}\right)}{2 1 0}\tag{6}\]
where is the contribution base at time t and represents the consumer price index at time the actual wage, due to the existence of a floor and a ceiling in the contribution base. This detail should be kept in mind because, as our simulations show, the width and evolution over time of the floor-ceiling interval is a crucial determinant of social security contributions and expenditure. The replacement rate depends on the number of years of contributions. For the first 25 years of contributions, each year adds 3% to the replacement rate; this drops to 2% between 26 and 35 years of contributions. At 35 years of contributions, the replacement rate is thus already equal to 100%, and further years of contribution have no marginal value for the workers3. Finally, the coeficient relates the pension benefits to the retirement age, according to the following formula:
bt
2Concretely
\[\alpha = \left\{ \begin{array}{c c c} 0 & \text {for} & R < 6 1 \\ 1 - \gamma (6 5 - R) & \text {for} & 6 1 \leq R < 6 5 \\ 1 & \text {for} & R = 6 5 \end{array} \right.\tag{8}\]
where R represents the retirement age. The discount parameter is equal to 8% for individuals with less than 30 years of contributions, and between 7% and 6% for the rest, depending on the number of years of contribution. This discounting formula plays a crucial role in the Spanish system, as most workers have so far been retiring before the normal retirement age. Since 1986, all pension benefits have been indexed to an inflation rate predetermined by the government, while they were previously linked to the nominal growth rate of the average wage.
Financing for the Spanish social security system comes from the contributions paid by employers and employees. A proportional contribution rate is imposed on all labor earnings between a floor and a ceiling, with the exception of over time pay. Both the contribution base and the contribution rate are established annually by the government. In 2002, the social security contribution rate was equal to 28.3%, of which 4.7% paid by the employee and the remaining 23.6% by the employer.
The Spanish social security system features also a minimum and a maximum pension . The minimum pension is provided to those individuals who are eligible for an old age pension, but whose pension benefits would be below a certain threshold. Unlike all other pensions, the minimum pension has often been raised by more than the inflation rate. The maximum pension, instead, aims at limiting the pension benefits of high-income individuals, by establishing a cap on the pension benefits awarded to a retiree. The maximum pension has been kept constant in real terms during the last two decades, by indexing it to the inflation rate. Therefore the old age pension that an individual receives is:
\[\alpha = \left\{ \begin{array}{c c c} 0 & \text { for } & N < 1 5 \\ 0. 5 + 0. 0 3 (N - 1 5) & \text { for } & 1 5 \leq N \leq 2 5 \\ 0. 8 + 0. 0 2 (N - 2 5) & \text { for } & 2 5 < N < 3 5 \\ 1 & \text { for } & N \geq 3 5 \end{array} \right.\tag{7}\]
3That is:
where N represents years of contribution.
\[P = \left\{ \begin{array}{c c c} p _ {\min} & \text {for} & p < p _ {\min} \\ p & \text {for} & p _ {\min} \leq p \leq p _ {\max} \\ p _ {\max} & \text {for} & p \geq p _ {\max} \end{array} \right.\tag{9}\]
where defined above. Employees and employers contribute to the social security system a fraction of the worker’s labor earnings between a floor, , and a ceiling, . The contribution base is related to the wage, ω, according to:
\[b _ {t} = \left\{ \begin{array}{c c c} b _ {\mathrm{min}} & \mathrm{for} & \omega_ {t} < b _ {\mathrm{min}} \\ \omega_ {t} & \mathrm{for} & b _ {\mathrm{min}} \leq \omega_ {t} \leq b _ {\mathrm{max}} \\ b _ {\mathrm{max}} & \mathrm{for} & \omega > b _ {\mathrm{max}} \end{array} \right.\tag{10}\]
The combination of the minimum and the maximum pension, and of the minimum and maximum contribution base, introduces a crucial element of intragenerational redistribution in the Spanish system.This has been the object of much academic attention, hence we will not belabor on it (see, e.g., Boldrin et al. (2000)Boldrin et al. (2000), Jimeno (2002), Alonso and Herce (2002) and Conde-Ruiz and Alonso (2004), Galasso (2006). Figure 10 reports the evolution over time of such floors and ceilings. A few remarks, which are relevant for our simulations: i) the threshold level for maximum pension has increased with inflation but has not kept up with real earnings; ii) the maximum contribution base has increased in real terms; iii) the threshold level for the minimum pension and contribution base have increased with the growth rate of the economy; iv) in, for example, year 2007 the maximum pension is 8.9% lower than the maximum contribution base, while the minimum pension is 6.8% higher than the minimum contribution base.
Figure 10: Minimum and maximum contribution base and pensions (1982-2007) (real terms 2000)

It should be clear, even from this short discussion, that the interplay of minimum and maximum pension/contribution is a key factor determining the future evolution of the Spanish pension system. These are, obviosuly, political decisions and there is no way in which our forecast exercise, no matter how sophisticated a model we use or the statistical techniques we bring to bear on these issues, will be able to exactly capture how those decisions will evolve over the next 40 years or so. All we can do is to set up some scenarios, make them as credible as possible and see what they imply, which is what we are going to do in our simulations. Hence, the reader should keep this aspect of the problem in his/her mind and condition all our predictions upon it, as it may be one of the few really important aspects to consider.
Apart for the old age pensions, we are also taking into account disability pensions and widowers’ rights. In what follows we study how the labor history of an individual afect his/her pension’s entitlements, focusing on the crucial determinants: years of contribution, contributive base and retirement age. To do this we use the information contained in the MCVL (Muestra Continua de Vidas Laborales) in year 2006. Notice first that, while the rules of the Regimen General (RG) are essentially the same as those of the Regimen Especial de Trabajadores Autonomos (RETA) there are two important diferences: i) workers contributing to RETA can select almost freely their contribution base, and, ii) there is no possibility of early retirement for people afiliated to RETA.
Contribution Bases. In figure 11, we see that those of the RG are, for each skill, sex and country of origin, concave respect to the age of the worker; further, those of women are uniformly lower than those of men. Also, for immigrants the skill premium attributable to secondary education relative to primary education is very low, which may signal either an underutilization of these workers (to be corrected in the future) or the fact that there is really no diference in skills between primary and secondary education immigrants. This is an open issue that available data do not allow us to resolve.
Figure 11: RG Mean contribution bases a. Natives


b. Immigrants


Figures 12 and 13 (for native and immigrant workers respectivel) show the distribution of contribution bases in the RG. They make clear the crucial role played by educational level in determining the contributive group someone belongs to, hence the need to forecast future educational levels in order to properly assess future contributions. Again, there is no way in which one can properly predict how school attendance in Spain will evolve during the next 40 years, hence we will once again have to resort to "scenarios" built by ourselves, under the constraints that common sense imposes.
Figure 12: RG Histogram contribution bases - natives




Figure 13: RG Histogram contribution bases - immigrants




Figure 14 reports the same information for people contributing to RETA. This confirms, once again, that self-employed workers use strategically their freedom in electing the contribution base: they tend to contribute the minimum amount possible until age 50 and then increase it, during the last 15 years that are those determining we in the pension formula, in order to maximize their individual payof. Again, this is a dimension that is open to politica interventions, which could greatly alter the pattern of contributions and pensions for self-employed workers between now and 2050.
Figure 14: RETA Mean contribution bases a. RETA natives vs immigrants


b. RETA natives females vs males


Retirement Age. Figure 15 shows a very well know pattern: workers retire either at 60 years of age, or at 65. As abundant literature has argued (Boldrin et al. (2004), among other) this is hard to reconcile with specific economic incentives and it seems to be determined more by social norms, habits and or family arrangements that are hard to model. Recent legislation has moved the earlier retirement age to 61, which should be taken into account and signals that, in the future, new increases in the minimum retirement age are certainly possible, if not likely. Furthermore, the data in the MCVL show that there is little diference between the behavior of highly educated versus lowly educated workers4.
Figure 15: Retirement age


3 Projections of Revenues and Expenditures
3.1 Macroeconomic Scenario
We need to establish an overall macroeconomic scenario for our benchmark simulation. This involves forecasting labor force participation, employment levels, labor productivity and wages, depending on the heterogeneity factors. Our baseline assumption is that the relevant legislation will not change, hence contribution bases will grow in parallel to wages, which in turn will grow at the same rate at which labor productivity grows. In this sense we are just adopting the "oficial" position, by replicating the macroeconomic scenarios that INE adopts, (see Table A.1 in the Appendix).
3.2 Simulation Strategy
Our goal is to simulate contributions and pensions under well defined scenarios, using the situation in 2006-2007 as our starting point. We use the information provided by the EPA to estimate transition probabilities during the working life, cohort by cohort. These will be used to project their future labor market conditions, wages, contributions and retirement decisions, again cohort by cohort and according to the sources of heterogeneity listed in the previous section. Because our sources of information about workers’ behavior are MCVL and EPA, our estimated transition probabilities are purely a reflection of the past and of its trends. We increased, by forcing it into the simulation, the average employment to make it compatible with the INE’s demographic scenario. Everything else is based on the assumption that the Spaniard of the future will be, as far as the labor market is concerned, identical to the Spaniards of the past, and that only their composition (in terms of age, education, sex, nationality) will change.
4In doing this we have not used any specific evidence about the retirement patterns of immigrants, as the data available are quantitatively irrelevant.
Summing up: we have 120 groups of individuals for which we have a ”real working history in the past”, up to 2006, computed on MCVL data, and for which we simulate a "virtual labor history in the future” using the transition matrices also estimated using EPA and MCVL. By joining the two we obtain the full labor histories of the Spanish workers (native and immigrant as well) all the way to 2050. The rules of RG and RETA are then applied to such labor histories, to obtain predictions about revenues and expenditures of the Spanish Social Security System.
3.3 Revenues
To compute revenues we use the data from MCVL to estimate the period by period growth rate of the average contribution base according to age, sex, and nationality, incorporating in them the assumed growth rate of the wages (which corresponds to the growth rate of productivity). We make the assumption that within each group (of which we have 12) contributions are uniform and equal to the estimated groupaverage. We make two exceptions for the high school dropouts and those with a college degree contributing to RG. For the dropouts we assume they contribute according to the minimum or the average base. For those with college, we assume they contribute either for the maximum or, again, the average base.
This gives us and in each period, where is RETA and ca is RG. For unemployed workers we feed in the unemployment compensation rules, which implies among other things that contributions should be computed on the wages earned when last employed. Total revenues are then equal to the sum of the contributions of the employed workers and of those of the unemployed
\[T E _ {t} = \frac {\sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m , f \}} \sum_ {e \in \{c , h , d \}} \sum_ {c \in \{n , m \}} (o _ {c p} (j , g , e , c) + o _ {c a} (j , g , e , c)) P o p _ {t} (j , g , e , c)}{P o p _ {t}}\tag{11}\]
5The employment rate is defined as:
Table 2: Revenues evolution (% GDP)
| TOTAL REVENUES | NATIVES | IMMIGRANTS | |||||||
| RG | RETA | UNEMP | TOTAL | RG | RETA | UNEMP | TOTAL | ||
| 2006 | 8.86 | 6.88 | 0.94 | 0.29 | 8.10 | 0.61 | 0.06 | 0.38 | 0.75 |
| 2011 | 9.17 | 6.83 | 0.92 | 0.28 | 8.03 | 0.93 | 0.10 | 0.39 | 1.14 |
| 2016 | 9.21 | 6.72 | 0.90 | 0.22 | 7.84 | 1.13 | 0.13 | 0.33 | 1.37 |
| 2021 | 9.15 | 6.50 | 0.88 | 0.18 | 7.55 | 1.32 | 0.16 | 0.29 | 1.60 |
| 2026 | 9.04 | 6.21 | 0.83 | 0.16 | 7.20 | 1.51 | 0.19 | 0.29 | 1.83 |
| 2031 | 8.86 | 5.87 | 0.78 | 0.15 | 6.80 | 1.69 | 0.22 | 0.29 | 2.05 |
| 2036 | 8.65 | 5.51 | 0.73 | 0.14 | 6.38 | 1.86 | 0.25 | 0.29 | 2.27 |
| 2041 | 8.45 | 5.19 | 0.68 | 0.13 | 6.00 | 2.01 | 0.28 | 0.29 | 2.45 |
| 2046 | 8.30 | 4.92 | 0.64 | 0.12 | 5.68 | 2.16 | 0.29 | 0.29 | 2.62 |
| 2051 | 8.18 | 4.69 | 0.61 | 0.11 | 5.41 | 2.29 | 0.31 | 0.29 | 2.77 |
(IP Dt). That is to say:
\[\begin{array}{l} I C S _ {t} = \\ \sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} \overline {{b}} _ {t} ^ {c p} (j, e, g, c) o _ {c p} (j, g, e, c) P o p _ {t} (j, g, e, c) \tau + \\ \sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} \overline {{b}} _ {t} ^ {c a} (j, e, g, c) o _ {c a} (j, g, e, c) P o p _ {t} (j, g, e, c) \tau \end{array}\]
and
\[I P D _ {t} = \sum_ {j = 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} \left[ (0, 6 5) \bar {b} _ {t} ^ {c p} (j, e, g, c) o _ {c p} (j, g, e, c) \right] P o p _ {t} (j, g, e, c) \tau\tag{12}\]
where τ is the contribution rate. We use as an anchor the actual revenues in the base year (2006), which are matched exactly by adjusting, using EPA’s information, the fraction of workers that are employed part-time, according to skills, sex, nationality and age (Tables A.2 and A.3.)
The following table summarizes our predictions for the baseline case: as a percentage of GDP they grow until 2025, after which they begin decreasing. The keys to understand these two facts are simple: the continuing immigration flow, together with productivity growth, drives the growth phase; the forward projection of the historically observed pattern (according to which the maximum contributive base grows less than productivity) explains the eventual decrease. After a couple of decades the number of workers that are constrained above has become very large, and the total revenues decrease.
Figure 16: Revenues evolution by regime

Interestingly, (Figure 16) while the contributions of immigrants (as a percentage of GDP) grow from 0.75% in 2006 to 2.77% in 2050, they remain relatively small compared to their weight in the labor force. This is obviosuly due to the projection forward of the relatively low wages they have experienced during the last decade.

3.4 Expenditures
To compute expenditures we need, for each individual, i) number of years of contribution, ii) wage earned; iii) retirement age. We make the assumption that within each group (of which we have 12) contributions are uniform and equal to the estimated group-average. We make two exceptions for the high school dropouts and those with a college degree contributing to RG. For the dropouts we assume they contribute according to the minimum or the average base. For those with college, we assume they contribute either for the maximum or, again, the average base. This allows us to compute the average pensions, for each group, at all points in time, . We also assume:
, implying that mortality rates do not change according to pension levels.
- For all let be the percentage of people in that group that, at that time, has the right to receive a contributive pension. We assume , implying that the mortality rate is the same for all retired people, independently of their matured right to receive a contributive pension.
Expenditure due to contributive retirement pensions can then be written as:
\[P J _ {t} = \sum_ {j = 1 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} p \overline {{p}} _ {t} (j, c, g, e) \phi_ {t} (j, g, e, c) P o p _ {t} (j, g, e, c)\tag{13}\]
From these, we compute the expenditure due to survivor’s pensions:
\[\begin{array}{l l} P V _ {t} = \\ & \sum_ {j = 1 1} ^ {1 7} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} [ \beta \overline {{p}} _ {t} (j, e, g, c) ] \phi_ {t - 1} (j, g, e, c) (1 - \psi_ {t - 1} (j, g)) P o p _ {t - 1} (j, g, e, c) \end{array}\tag{14}\]
Here the parameter is the ratio between the survivor’s pension and the original one, whereas is the percentage in each group that is either married or has a legally recognized partner. The values for are from Ahn and Felgueroso (2007) (see Table A.4).
Next, we assume that a pension for permanent disability can be obtained only at the age of 50, or later. This hypothesis, together with the current legislation, allow us to compute this segment of the total expenditure, which is
\[P I _ {t} = \sum_ {j = 1} ^ {1 0} \sum_ {g \in \{m, f \}} \sum_ {e \in \{c, h, d \}} \sum_ {c \in \{n, m \}} \overline {{p d}} _ {t} (j, e, g, c) d _ {t} (j, g, e, c) P o p _ {t} (j, g, e, c)\tag{15}\]
where is the average disability pension for that group. Recall that all the disability pensions turn into retirement pensions at the age of 65, hence in the formula above we replace the disability pension with the retirement pension after the third period.
The total is:
\[G T _ {t} = P J _ {t} + P V _ {t} + P I _ {t}\tag{16}\]
Total expenditure, as it is clear from the figures below, grows over time but accelerates sharply between 2026 and 2046, 3. As figure 17 suggests, this is due to the entrance of immigrants into the retirement stage of their lifecycle, which increases their weight until, in 2050, the pensions paid to immigrants are equal to 3.5% of GNP. The impact of aging is also clear, as the generations that retire around 2040 have a much longer expected life in retirement, thereby increasing the expenditure burden.
Table 3: Expenditure evolution (% GDP)
| TOTAL EXPEND | NATIVES | IMMIGRANTS | |||||||
| RET | WIDOW | DISAB | TOTAL | RET | WIDOW | DISAB | TOTAL | ||
| 2006 | 5.84 | 3.84 | 1.07 | 0.86 | 5.78 | 0.00 | 0.01 | 0.05 | 0.06 |
| 2011 | 6.46 | 4.26 | 1.15 | 0.93 | 6.33 | 0.04 | 0.02 | 0.07 | 0.13 |
| 2016 | 6.77 | 4.68 | 0.96 | 0.93 | 6.58 | 0.10 | 0.03 | 0.07 | 0.19 |
| 2021 | 7.35 | 5.32 | 0.87 | 0.90 | 7.09 | 0.10 | 0.03 | 0.13 | 0.26 |
| 2026 | 7.74 | 5.53 | 0.90 | 0.92 | 7.34 | 0.27 | 0.00 | 0.13 | 0.40 |
| 2031 | 9.33 | 6.91 | 0.88 | 0.80 | 8.59 | 0.48 | 0.01 | 0.26 | 0.75 |
| 2036 | 11.21 | 8.51 | 0.74 | 0.78 | 10.03 | 0.85 | 0.07 | 0.26 | 1.18 |
| 2041 | 13.57 | 10.09 | 0.80 | 0.65 | 11.55 | 1.53 | 0.12 | 0.37 | 2.02 |
| 2046 | 15.30 | 11.07 | 0.74 | 0.61 | 12.41 | 2.38 | 0.16 | 0.34 | 2.89 |
| 2051 | 15.95 | 11.20 | 0.67 | 0.52 | 12.39 | 3.01 | 0.18 | 0.37 | 3.56 |
Figure 17: Expenditure evolution by nationality

3.5 Projection Results
Figure 18 summarizes our baseline projections for the overall system. The bottomline result is simply stated: relative to the situation pre-immigration shock, the arrival of a large number of foreign workers is ofering the Spanish Social Security System, roughly, seven years of additional time to correct its underlying inbalances. After that period, though, the structural problems will resurface and may even be magnified by the presence of an additional number of retired immigrants. Hence, the long due reform is only postponed but cannot be avoided.
Figure 18: Revenues and expenditures projections

4 Alternative Scenarios
• Alternative 1: we assume that early retirement is forbidden, hence all workers must retire at the age of 65, not earlier.
• Alternative 2: we assume that the oficial retirement age is pushed to 70 years, but we allow for early retirement starting at 66 years or age. This amounts to shifting the current retirement patterns, uniformly, by 5 years.
• Alternative 3: we assume that within a period of 15 years from the starting date (2006) all immigrants are assimiliated, in a linear fashion, to the native workers. This means that immigrants workers will have the same employment rate, wages (contributive base) and skill distribution as the native ones.
An obvious limitation of our approach is that we do not model the endogenous behavioral reactions of workers to changes in the rules of the system. In other words, our simulations are subject to the "Lucas critique", this is the big price, we pay, for trying to carry out the computational exercise at as disaggregated a level as available data make possible. The tradeof is clear, and should be evaluated: while we gain in the microeconomic precision and data reliability of our simulations, we loose in not using economic theory to try capturing the behavioral response of rational individuals to the evolution of the economic and legal environment in which they act. This is left for future work and, possibly, for future researchers more capable than we are.
5 Conclusion and Policy Recommendations
[To be added]
References
- Ahn, N. and F. Felgueroso (2007). Adecuación de la pensión de viudedad ante el cambio demográfico y socio-económico. Mimeo.
- Boldrin, M, J.J. Dolado, J.F. Jimeno and F. Perachi (1999). The Future of Pension Systems in Europe. A Reappraisal. Economic Policy, 29.
- Boldrin, M., S. Jimenez and F. Peracchi (2000). Sistema de pensiones y mercado de trabajo en España. Fundacion BBVA, Madrid.
- Boldrin, M., S. Jimenez and F. Peracchi (2004). Social Security Programs and Retirement Around the World, J. GRUBER and D.A. WISE, chap. Micro-modelling of retirement behavior in Spain.
- Conde-Ruiz, J.I. and J. Alonso (2004). El Futuro de las Pensiones en España: Perspectivas y Lecciones. Revista ICE.
- Conde-Ruiz, J.I. and J.J. Jimeno (2004). ¿Suben las Pensiones? Fedea Brief.
- Diaz-Gimenez, J. and J. Diaz-Saavedra (2008). Delaying Retirement in Spain. Review of Economic Dynamics, Forthcoming.
- Galasso, V. (2006). The Political Future of Social Security in Aging Societies. The MIT Press.
- Herce, J.A. and J. Alonso (2000a). La reforma de las pensiones ante la revisión del Pacto de Toledo. Colección del Servicio de Estudios de "la Caixa".
- Herce, J.A. and J. Alonso (2000b). Los efectos económicos de la Ley de Consolidación de la Seguridad Social. Hacienda Pública Española, 152.
- Jimenez-Martin, S. and A. Sanchez-Martin (2007). An evaluation on the life cycle efects of minimum pensions on retirement behavior. Journal of Applied Econometrics, 22.
- Jimeno, J.F. (2002). Incentivos y desigualdad en el sistema español de pensiones contributivas de jubilación. Documento de Trabajo FEDEA, 13.
- Sanchez, V. and A. Sanchez-Martin (2006). Can social security be welfare improving when there is demographic uncertainty? Journal of Economic Dynamics and Control, 30.
employed self employed other emp unemployed inactive
A Appendix

Figure A.1: Life cycle Immigrants Males - High school

employed self employed other emp unemployed inactive Females - High school



employed self employed other emp unemployed inactive employed self employed other emp unemployed inactive

employed self employed other emp unemployed inactive
Table A.1: Macroeconomic Scenario
| 2007 | 2011 | 2021 | 2031 | 2041 | 2051 | |
| Real GDP (growth rate) | 3.7 | 3.0 | 3.1 | 1.7 | 0.9 | 1.1 |
| Labour productivity (growth rate, per hour) | 1.0 | 1.0 | 2.7 | 1.9 | 1.7 | 1.7 |
| Participation rate (15-64) | 71.6 | 73.8 | 75.7 | 76.5 | 77.2 | 77.6 |
| Employment rate (15-64) | 65.6 | 67.5 | 71.0 | 71.8 | 72.4 | 72.8 |
| Unemployment rate (15-64) | 8.3 | 8.5 | 6.2 | 6.2 | 6.2 | 6.2 |
Table A.2: Part-time and Temporary rates for Natives PART-TIME TEMPORARY
| age | FEMALE | MALE | FEMALE | MALE | ||||||||
| d | h | c | d | h | c | d | h | c | d | h | c | |
| 15-19 | 4.8 | 10.7 | 0.0 | 1.6 | 8.6 | 0.0 | 45.9 | 30.6 | 59.9 | 67.5 | 55.6 | 41.4 |
| 20-24 | 5.7 | 10.4 | 5.2 | 1.0 | 5.0 | 3.1 | 41.8 | 34.6 | 49.3 | 53.4 | 39.4 | 47.9 |
| 25-29 | 10.4 | 9.6 | 5.6 | 0.6 | 2.6 | 2.2 | 32.4 | 26.6 | 36.8 | 42.7 | 31.3 | 35.9 |
| 30-34 | 14.4 | 13.1 | 9.0 | 0.8 | 1.1 | 1.3 | 24.1 | 18.6 | 23.1 | 35.3 | 22.4 | 21.1 |
| 35-39 | 17.5 | 19.2 | 10.6 | 0.6 | 0.7 | 0.8 | 24.9 | 13.1 | 20.1 | 30.8 | 16.4 | 14.6 |
| 40-44 | 18.0 | 11.1 | 8.2 | 0.7 | 0.8 | 0.8 | 22.5 | 14.9 | 13.4 | 28.5 | 11.9 | 8.7 |
| 45-49 | 19.8 | 12.3 | 5.8 | 0.6 | 0.2 | 1.0 | 18.4 | 12.6 | 10.9 | 22.7 | 7.7 | 3.9 |
| 50-54 | 19.2 | 7.3 | 4.5 | 0.8 | 0.1 | 0.8 | 14.4 | 10.3 | 6.7 | 18.3 | 6.4 | 4.4 |
| 55-59 | 21.8 | 8.3 | 2.6 | 1.4 | 1.0 | 2.5 | 12.7 | 4.5 | 3.5 | 16.5 | 7.0 | 4.5 |
| 60-64 | 26.3 | 6.3 | 15.7 | 3.7 | 1.9 | 9.4 | 8.5 | 10.7 | 3.2 | 15.7 | 4.1 | 3.2 |
Source: Labor Force Survey (EPA-INE)
Table A.3: Part-time and Temporary rates for Immigrants
| age | PART-TIME | TEMPORARY | ||||||||||
| FEMALE | MALE | FEMALE | MALE | |||||||||
| d | h | c | d | h | c | d | h | c | d | h | c | |
| 15-19 | 1.1 | 0.0 | 0.0 | 1.8 | 0.0 | 0.0 | 43.1 | 28.5 | 0.0 | 66.6 | 78.1 | 0.0 |
| 20-24 | 7.3 | 10.3 | 9.5 | 1.4 | 5.8 | 0.0 | 44.5 | 39.3 | 54.9 | 59.5 | 76.6 | 66.7 |
| 25-29 | 9.4 | 7.7 | 6.1 | 0.0 | 1.8 | 0.0 | 40.2 | 46.6 | 31.6 | 68.9 | 53.0 | 57.1 |
| 30-34 | 14.2 | 13.5 | 7.7 | 0.3 | 0.3 | 3.4 | 35.4 | 34.2 | 52.0 | 66.9 | 61.1 | 44.8 |
| 35-39 | 6.5 | 7.9 | 17.2 | 0.0 | 0.0 | 2.8 | 54.8 | 39.2 | 26.2 | 64.2 | 64.9 | 51.6 |
| 40-44 | 7.8 | 6.7 | 11.6 | 1.4 | 0.3 | 0.0 | 27.5 | 32.1 | 26.9 | 70.5 | 52.4 | 32.4 |
| 45-49 | 11.7 | 15.7 | 6.5 | 1.3 | 3.7 | 5.8 | 22.7 | 22.6 | 17.8 | 52.9 | 34.7 | 39.3 |
| 50-54 | 5.8 | 20.9 | 5.9 | 1.9 | 0.0 | 12.3 | 30.2 | 32.7 | 26.4 | 63.7 | 54.7 | 20.5 |
| 55-59 | 10.5 | 0.0 | 22.4 | 0.0 | 0.0 | 0.0 | 21.7 | 26.3 | 22.6 | 56.3 | 50.0 | 21.0 |
| 60-64 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 18.4 | 54.9 | 0.0 | 0.0 | 100.0 | 22.0 |
Table A.4: Marriage rate
| male | female | ||||
| drop out | high | college | drop out | high | college |
| 86.0 | 87.0 | 88.6 | 89.0 | 87.7 | 83.1 |
Source: Ahn and Felgueroso (2007)
References
- 2008-36: “Immigration and Social Security in Spain”, Clara Isabel González, J. Ignacio Conde-Ruiz y Michele Boldrin.
References
- 2008-35: “Complements or Substitutes? Immigrant and Native Task Specialization in Spain”, Catalina Amuedo-Dorantes y Sara de la Rica.
References
- 2008-34: “Immigration and Crime in Spain, 1999-2006”, Cesar Alonso, Nuno Garoupa, Marcelo Perera y Pablo Vazquez.
References
- 2008-33: “A Social Network Approach to Spanish Immigration: An Analysis of Immigration into Spain 1998- 2006”, Rickard Sandell.
References
- 2008-32: “The Consequences on Job Satisfaction of Job-Worker Educational and Skill Mismatches in the Spanish Labour Market: a Panel Analysis”, Lourdes Badillo Amador, Ángel López Nicolás y Luis E. Vila.
References
- 2008-31: “Students’assessment of higher education in Spain”, César Alonso-Borrego”, Antonio Romero-Medina.
References
- 2008-30: “Body Image and Food Disorders: Evidence from a Sample of European Women”, Joan Costa-Font y Mireia Jofre-Bonet.
References
- 2008-29: “Aggregation and Dissemination of Information in Experimental Asset Markets in the Presence of a Manipulator”, HelenaVeiga y Marc Vorsatz.
References
- 2008-28: “The Measurement of Consensus: An Axiomatic Analysis”, Jorge Alcalde-Unzu and Marc Vorsatz.
References
- 2008-27: “Macroeconomic Consequences of International Commodity Price Shocks”, Claudia S. Gómez-López y Luis A. Puch.
References
- 2008-26: “The Effect of Short–Selling on the Aggregation of Information in an Experimental Asset Market”, Helena Veiga y Marc Vorsatz.
References
- 2008-25: “Adult height and childhood disease”, Carlos Bozzoli, Angus Deaton y Climent Quintana-Domeque.
References
- 2008-24: “On Gender Gaps and Self-Fulfilling Expectations: Theory, Policies and Some Empirical Evidence” Sara de la Rica, Juan J. Dolado y Cecilia García-Peñalosa.
References
- 2008-23: “Fuel Consumption, Economic Determinants and Policy Implications for Road Transport in Spain”, Rosa M. González-Marrero, Rosa M. Lorenzo-Alegría y Gustavo A. Marrero.
References
- 2008-22: “Trade-off Between Formal and Informal care in Spain”, Sergi Jiménez-Martín y Cristina Vilaplana Prieto.
References
- 2008-21: “The Rise in Obesity Across the Atlantic: An Economic Perspective”, Giorgio Brunello, Pierre-Carl Michaud y Anna Sanz-de-Galdeano.
References
- 2008-20: “Multimarket Contact in Pharmaceutical Markets”, Javier Coronado, Sergi Jiménez-Martín y Pedro L. Marín.
References
- 2008-19: “Financial Analysts impact on Stock Volatility. A Study on the Pharmaceutical Sector”, Clara I. Gonzalez y Ricardo Gimeno.
References
- 2007-18: “The Determinants of Pricing in Pharmaceuticals: are U.S. prices really so high?”, Antonio Cabrales y Sergi Jiménez-Martín.
References
- 2008-17: “Does Immigration Raise Natives’ Income? National and Regional Evidence from Spain”, Catalina Amuedo-Dorantes y Sara de la Rica.
References
- 2008-16: “Assessing the Argument for Specialized Courts: Evidence from Family Courts in Spain”, Nuno Garoupa, Natalia Jorgensen y Pablo Vázquez.
References
- 2008-15: “Do Men and Women-Economists Choose the Same Research Fields?: Evidence from Top-50 Departments”, Juan J. Dolado, Florentino Felgueroso y Miguel Almunia.
References
- 2008-14: “Demographic Change, Pension Reform and Redistribution in Spain”, Alfonso R. Sánchez Martín y Virginia Sánchez Marcos.
References
- 2008-13: “Exploring the Pathways of Inequality in Health, Access and Financing in Decentralised Spain”, Joan Costa-Font y Joan Gil.
References
- 2008-12: “Hybrid Consumption Paths in the Attribute Space: A Model and Application with Scanner Data”, Sergi Jiménez Martín y Antonio Ladron-de-Guevara Martinez.
References
- 2008-11: “Decomposing Body Mass Index Gaps Between Mediterranean Countries: A Counterfactual Quantile Regression Analysis”, Joan Costa-Font, Daniele Fabbri y Joan Gil.
References
- 2008-10: “How Well do Individuals Predicttheir Impact on Regional Employment How Well do Individuals Predict”, Hugo Benítez-Silva, Selcuk Eren, Frank Heiland y Sergi Jiménez-Martín.
References
- 2008-09: “From Income to Consumption: Measuring Households Partial Insurance”, José María Casado García.