Full text
Idiosyncratic Volatility Shocks and Aggregate Fluctuations: An Appraisal of the Spanish Case ‡ Omar Blanco Arroyo† Simone Alfarano Bachelor’s Degree in Economics 2015/2016 Abstract The aim of this work is to find empirical evidence, in case it exists, about the granularity of the Spanish economy. The Granular Hypothesis (Gabaix 2011) has been tested for Spain between the years 1990 and 2014. For this purpose I have used a sample made up 31477 firms, for which I have taken three variables for each company. These are: sales, number of employees and the SIC code. First, I show that the firm’s size distribution is fat tailed. This fact is essential in order to show that the idiosyncratic shocks do not cancel out. Therefore, the Law of Large Numbers does not apply in this case. Second, I calculate the granular residual in the sense of Gabaix (2011). The main result obtained is that the top 100 largest firms in Spain account for one third of the aggregate output variability, in line with the original result or Gabaix for american firms. Keywords: granularity, Granular Residual, idiosyncratic shocks, aggregate uctuations, business cycle, power-laws. JEL Codes: E32, C16. ‡I would like to thank Simone Alfarano for his implication and help from the first steps of this project. Moreover, I would like to mention the help provided by Marko Petrovic, who has given me the database employed and has explained me the most complex part of the code. Finally, to acknowledge to David Vidal for his comments to improve this work. †[email protected]; Group C
Contents 1 Introduction 1 2 Related literature 3 3 Data set 5 3.1 Descriptivestatistics............................... 11 3.2 Empirical distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 Power law 16 4.1 Empirical specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2 Evidenceofpowerlaw.............................. 19 5 Idiosyncratic shocks with power law rms 23 5.1 The model and its calibration . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Testing the diversification argument . . . . . . . . . . . . . . . . . . . . . . . 25 5.3 Approximation to the granular effects . . . . . . . . . . . . . . . . . . . . . . 26 6 Granular Residual 27 6.1 Definitions and methodology . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.2 Empirical Granular Residual . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.3 Robustness.................................... 31 7 Conclusion 32 8 References 33 A R codes 36 A.1 PowerlawRcode ................................ 36 A.2 GranularRcode ................................. 38 B Granular Residual Graphs 40 I
List of Figures 1 Sum of the sales of the top 50 and 100 firms in SABI . . . . . . . . . . . . . 2 2 Hodrick-Prescott cyclical component of the real GDP . . . . . . . . . . . . . 6 3 Total Factor Productivity in Spain . . . . . . . . . . . . . . . . . . . . . . . . 7 4 Spanish production network . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5 Descriptive statistics for the variable Sales . . . . . . . . . . . . . . . . . . . 12 6 Descriptive statistics for the variable Employees . . . . . . . . . . . . . . . . 13 7 Firmsizedistribution............................... 14 8 Zipf’splot ..................................... 17 9 Powerlawplot .................................. 22 10 Scaling parameter comparison . . . . . . . . . . . . . . . . . . . . . . . . . 23 11 Granular Residual graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 List of Tables 1 Sector definitions and number of firms in each sector . . . . . . . . . . . . . 9 2 Skewness and kurtosis of ln(sales) by year . . . . . . . . . . . . . . . . . . 15 3 ResultsfromOLSmethod............................ 20 4 ResultsfromMLEmethod............................ 21 5 Granular Residual Coefficients OLS Regression . . . . . . . . . . . . . . . 30 6 Granular Residual with industry demeaning coefficients OLS regression . . 30 7 Robustness coefficients OLS regression . . . . . . . . . . . . . . . . . . . . 31 Listings 1 log-logRegression................................ 36 2 poweRlaw package for MLE estimation . . . . . . . . . . . . . . . . . . . . . 37 3 InputGranularResidual ............................. 38 4 GranularResidual ................................ 38 5 Granular Residual Industry Demeaning . . . . . . . . . . . . . . . . . . . . 39 II
Idiosyncratic Volatility Shocks and Aggregate Fluctuations: An Appraisal of the Spanish Case Omar Blanco Arroyo 1 Introduction THIS WORK AIMS at replicating the analysis proposed by Gabaix (2011) for the Spanish economy. This author shows that aggregate uctuations can be attributed to the largest firms. Gabaix interprets that the economy is composed by grains, which are the firms. Due to firms are heterogeneous, its impact on the economy is also heterogenous. Based on this approach the author constructs what he calls the granular residual, which is an aggregate measure of the idiosyncratic shocks (see equation 6.1). In his work he constructs this Granular Residual using the 100 largest firms in United Estates. In order to test if the Granular Hypothesis is significative he employs the OLS regression. In particular he regresses the GDP per capita on the granular. The resulting R2is the measured used to show if the impact of the largest firms is large enough. This type of analysis based on the Granular Hypothesis takes as backing the existence of very large firms that account for a significant fraction of the Gross Domestic Product (GDP). Therefore, it seems possible that shocks in one of these large firms could account for aggregate uctuations. Figure 1 is shown as an illustrative example to quantify the fraction accounted by the largest firms, in the sample, of Spanish GDP. As one can see, the top 100 firms in the sample account for 32% of Spanish GDP, from 1999 to 2014, and the top 50 firms is 26%. 1
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Fig. 1: Sum of the sales of the top 50 and 100 firms in SABI, as a fraction of GDP. Source: own elaboration from SABI database. The Granular Hypothesis has been employed in several empirical works in order to study the volatility in the economic activity. Blank et al. (2009), using an early approach of the granular residual (Gabaix 2009), show that fat-tailed distribution in the German banking sector affects its own stability. On their behalf, Wagner (2012) test Granular Hypothesis on the manufacturer industry in Germany. They found that the Granular Residual is able to explain a significant amount of the sales growth in this industry, the R2is 45% approximately. Yet other works have focused on studying variations in exports through the granular approach. This is the case of Di Giovanni & Levchenko (2012) and del Rosal (2013). The first authors showed that trade openness can increase the explanatory power of the granular on the aggregate volatility, whereas the second author reaches the conclusion that the granular behaviour can be present in the exports of all UE countries, causing significant impact on the aggregate output. The results of this work are, in some sense, in line with the ones introduced by Gabaix (2011), in so far as regressing the GDP growth on granular residual yields 36%. Furthermore, if the industry is taken into account (industry demeaning), this yields to an increase of R2of 56%. But, even though this results can be encouraging, there is a significant amount of disparities. First, and most important, when I regress Total Factor productivity on granular, the coefficients are all negative. Besides that, there is a lose of explanatory power when the industry demeaning is done, decreasing from R2equal to 30% to 7.5%. 2
BACHELOR’S DEGREE IN ECONOMICS Second, the last lag has a negative coefficient when I regress GDP growth on granular. And, finally, there is an enormous difference between R2and R2adj., in both granular residual OLS regression and granular residual industry demeaning OLS regression. The estructure of this work is as follows. In section 2 a brief review of the literature related to the analysis of aggregate uctuations based on idiosyncratic shocks is done. In section 3, I analyse in detail the data used to perform further analysis and put in context the time period in which the analysis is applied. Section 4 is dedicated to show that firm’s size distribution is fat-tailed. Section 5 tries to explain the approach outlined by Gabaix (2011), both for an economy without linkages and with them. In section 6 I construct the granular residual and regress the GDP per capita on it with the aim of quantifying its explanatory power. Finally, Section 7 presents the conclusions I have reached, and I also expose some lines of future work. 2 Related literature Idiosyncratic shocks, either sector level or firm level, as a source of aggregate uctuations were not considered for the aggregate uctuations. Conventional wisdom argued that idiosyncratic shocks cancel out, hence their impact on the aggregate cannot be an explanation. This argument was built taking into account the Law of Large Numbers, which holds that when the number of independent random variables tends to infinity, the average of the random variables converge to the average population (Wooldridge 2015).1 This argument, known as “diversification argument" (Acemoglu et al. 2012), is exposed clearly by Lucas (1977), who argues that: A new technology, reducing costs of producing an old good or making possible the production of a new one, will draw resources into the good which benefits, and away from the production of other goods. [. . .] in a complex modern economy, there will be a large number of such shifts in any given period, each small in importance relative to the total output. There will be much “averaging out" of such effects across markets. 1Mathematically the Law of Large Numbers for a number of independent random variables, Y1, Y2, . . . , Yn, would be plim Yn=µ where Ynis the average of the variables and µis the population average. 3
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Lucas (1977) also mentions that all business cycle are similar, since they are not restricted to a particular type of countries or a certain period of time. Based on these statements Long Jr & Plosser (1983) decide to develop one of the first business cycle models based on multiple sectors.2Specifically, the model consists of six perfectly competitive sectors that have links to each other through the intermediate input and no correlation in the aggregate shocks. The authors are able to show how sectors that are suppliers of many other sectors, i.e. have direct links, if they are hit by a shock this is not quickly diluted, as they have the incentive to transmit the benefit of shock, and thus these shocks can become aggregate uctuations, namely, there comovement in the output of the sectors.3However, although they were able to generate comovement in the sectors’ output, and thus make the shocks more lasting, this occurs when there was a low level of disaggregation. For high levels of disaggregation such shocks succumbed to law of large numbers. Durlauf (1993) also exposes a sectoral model with linkages between local companies, and argues that complementarities between the companies over time can affect the aggregate behaviour. Moreover, Bak et al. (1993) argue that idiosyncratic shocks are not canceled due to the nonlinearity of interactions. They use a multi-sector and multi-stage model in the production process in which there are intermediate linkages, but only with neighboring companies. Following the line of works that focus on the propagation of shocks to industry level through the input-output matrix, the work of done by Horvath (1998) showed that in order to idiosyncratic shocks not disappear in the aggregate, i.e. Law of Large Numbers does not apply, it is necessary that (1) sectors (key sectors) which serve as input to many others were few, and (2) there were a lack of substitutability between the intermediate inputs of the sectors. In this way supply sectors must react to shocks the same way as the key sector, which provides them intermediate input. Therefore, Horvath argues that the ratio to which is applied the law of large numbers is not proportional to the number of sectors but the number key sectors. Subsequently, Horvath (2000), based on the approach already exposed, shows that the results are generalizable. To this end he develops a multi-sector general equilibrium model, which is able to explain persistents business cycles and sectoral comovement. The alternative view to Horvath (1998, 2000) comes from Dupor (1999), who shows, 2Kydland & Prescott (1982) also try to give explanation to the business cycle through technology aggregate shocks, receiving criticism that such technological shocks should be much higher than observed to produce the effects they exposed (Summers 1986). 3Long Jr & Plosser (1983) define comovement as cross-sectoral correlation. 4
BACHELOR’S DEGREE IN ECONOMICS from a set conditions, that the way in which sectors are related is not relevant to the behavior of the aggregate volatility generated by idiosyncratic shocks, since as sectors are more disaggregated, aggregate volatility converges to zero at the ratio predicted by the law of large numbers, 1/√N. More recently, taking the input-output matrix as a medium of propagation of shocks, Acemoglu et al. (2012) claims that depending on the structure of the interconnections that exist in the network, which is a representation of the input-output matrix, idiosyncratic shocks can not stay where they were originated, but spread across the economy, thus affecting the output of other sectors.4Thereby the ratio at which aggregate volatility decays depends on the network structure. This approach is empirically demonstrated by Acemoglu et al. (2015), who, through the study of four different types of shocks, conclude, inter alia, that the shocks propagated through the network are significant quantitatively, and more important than the direct effect of shock, up to five times more important. So far all cited authors place their approach in a closed economy, that is why di Giovanni et al. (2014) studied whether large enterprises imported in cross-border comovement, since “the ow of international trade is dominated by only a handful of large companies". That is, the authors, with this approach, intended to study whether shocks are transferred between countries via trade of large enterprises. The result of their study is that large French companies, which have direct trade linkages, are important in the aggregate comovement. Specifically, the large companies in the sample account for 20% of aggregate volatility. Finally, I include the recent work done by Carvalho & Grassi (2015), that based on existing evidence on the importance of large companies on the aggregate outcome (Gabaix 2011, di Giovanni et al. 2014), decide to develop a framework to assess the linkages between micro decisions and volatility of macro-level products. The conclusion reached by the authors is that a large fraction of the aggregate dynamics can be rationalized by the dynamics of large companies. 3 Data set The data for this study are taken from Sistemas de Balances Ibéricos (SABI), a database of Bureau Van Dijk. The period under study is from 1999 to 2014, which is a lapse of time of 16 years. To analyze the characteristics of the economic cycle in this period 4Acemoglu et al. (2013) also show that the structure of the network, along with the nature of the idiosyncratic shocks, can have a significant effect on the frequency and depth of recessions. 5
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Fig. 5: Descriptive statistics for the variable Sales. Top left panel shows the firms ranked between 1 and 100 with more sales and top right panel shows firms between 100 and 500. At the middle, the left panel shows firms between 500 and 1000, and right panel between 1000 and 5000. Bottom right panel are firms between 5000 and 10000, and bottom left panel shows firms between 10000 and the end of the sample. Source: own elaboration from SABI database. 12
BACHELOR’S DEGREE IN ECONOMICS Fig. 6: Descriptive statistics for the variable Employees. The panels have been built following the same criteria than the ones showed in the figure 5. Source: own elaboration from SABI database. 13
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS 3.2 Empirical distributions To carry out the graphical representation of the distribution of company size, measured by sales volume, I have resorted to the kernel density estimation, a nonparametric method of estimating the probability density function. The kernel density estimator is defined as b fh(x)=(nh)−1 n X i=1 Kx−xi h where K(·)is a kernel function and his a smoothing parameter which must be greater than zero. For the representation of the distribution I have chosen a bandwidth equal to 0.5, following the analysis of Segarra & Teruel (2012). The resulting estimated density is presented in Figure 7 along with normal density.11 As one can see, for both 2007 and 2014, the tails are wider at the estimated density than the normal one.12 Fig. 7: Firm size distribution of ln Sales in 2007 in the left panel, and ln Sales in 2014 in the right panel. The curves are obtained using a normal kernel density smoother with a bandwidth of 0.5. Source: own elaboration. With the aim to extend the analysis to all periods of the sample I made the normality 11In this case, I consider a log-normal distribution for sales variable, i.e ln S∼ N(µ, σ2). 12The analysis could be made for any of the years under study, but I think that these years may be especially important, as they represent one the last year the growth cycle and another the last year of the sample, which seems to have a glimmer of recovery after the recession. 14
BACHELOR’S DEGREE IN ECONOMICS test based on the Jarque-Bera (JB) statistic. This test checks whether the skewness and kurtosis of the sample coincide with the normal distribution. The statistical JB is defined as JB =n 6S2+(K−3)2 4 where nis the sample size, Sis the skewness coefficient y Kkurtosis coefficient.13 The results are presented in Table 2, in which one can see how in the majority of the years under study there is a positive skewness and kurtosis are greater than three, which is the value of a normal distribution. The value of kurtosis is greater than three, this indicates that the distribution is leptokurtic, i.e. the distribution is fat-tailed. Finally, the test of normality is done. For this test, I specified the null hypothesis as existence of lognormality distribution. As it is shown in Table 2, there is significance, i.e. we can reject the null hypothesis of lognomality. In all the years under study a 1% significance level. This find is in line with some studies, such as Ganugi et al. (2005) and Reichstein & Jensen (2005), who have have concluded that they can reject the lognormal hypothesis in firm’s size distributions, measuring the size as the amount of sales. Table 2: Skewness and kurtosis of ln(sales) by year. * Significant at 1%. Sources: own elaboration from SABI database. Year N Skewness Kurtosis JB statistic 1999 16602 1.039 5.242 6461.8* 2000 18291 1.007 5.214 6829.2* 2001 19509 1.069 5.490 8754* 2002 20585 1.077 5.559 9596.8* 2003 21214 1.075 5.572 9938.7* 2004 21756 1.103 5.707 11051* 2005 22080 1.141 5.790 11953* 2006 22467 1.129 5.820 12217* 2007 21750 1.123 5.813 11747* 2008 20679 1.139 5.805 11254* 2009 20696 1.139 5.722 10865* 2010 20292 1.114 5.667 10211* 2011 19429 1.029 5.438 8242.4* 2012 18589 0.998 5.275 7093.9* 2013 17423 0.961 5.165 6086.3* 2014 11960 0.987 5.364 4727.7* 13Pearson’s skewness coefficient used is defined as S={1 nPn i=1(xi−x)3}/n[1 nPn i=1(xi−x)2]3/2o. And Pearson’s kurtosis coefficient used is defined as K={1 nPn i=1(xi−x)4}/n[1 nPn i=1(xi−x)2]2o 15
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS 4 Power law Axtell (2001) found evidence that the distribution of company size, measured in sales, can be adjusted by Zipf’s law (Zipf 1949), which is within the category of power law distributions. Therefore, based in the existing literature and evidence presented so far, I have decided to analyze the existence of a power law distribution to explain the firm’s size distribution. This is important to quantify the level of heterogeneity in the size of firms, which is crucial for the granular effect. 4.1 Empirical specication According to Gabaix (2008), a Xvariable describes a power law if its Complemetary Cumulative Distribution Function (CCDF), or P(X≥x),14 satisfies, at least in the upper tail, the following expression: P(X≥x)≃kx−ζ(4.1) where ζ≥1. This distribution is also known as Pareto distribution, since Pareto (1896) found that the upper tail of the distribution of a number of people with an income Sgreater than a large amount xis proportional to 1/xζ, for ζ > 0, i.e. P(S≥x) = k xζ(4.2) where kis a constant. A special case of Pareto’s distribution is when the exponent is close to one. This case is known as Zipf’s law. With ζ≃1the firm’s size is inversely proportional to the firm’s rank (Segarra & Teruel 2012). This means that if we order from largest to smallest size a sample made up Nobservations for a variable x,x1≥. . . ≥xN, the size of this variable is equal to 1/rank times the size of the greatest firm. Therefore, a Zipf’s distribution can be expressed as:15 rank =N·P(X≥x) = Nk xζ(4.3) 14Following Clauset (2011), a CCDF is defined as 1−P(X < x), where P(X < x)is the Cumulative Distribution Function (CDF), which it is defined as the density function that falls within a certain value x. 15The same approach is exposed by Stanley et al. (1995) in order to explain Zipf’s plot. 16
BACHELOR’S DEGREE IN ECONOMICS Taking logarithms on both sides of the equation 4.3, the following expression is straightforward: ln rank =K−ζ ln x (4.4) where Kis a constant. Figure 8 shows in the left panel the CCDF, and the right panel the CCDF in logarithmic terms. As one can see, the CCDF has a characteristic shape, in “L". This indicates that a very small number of companies account for a large volume of sales, and a very large number of companies account for a very small volume of sales. Figure 8 shows the result of applying the Zipf’s law, or “rank-size rule" as it is also known. In the left pane is depicted empirical the CCDF, where “L" shape can be seen, which is characteristic of the "rank-size rule". Fig. 8: Rank-Sales plot in the left panel and the same plot but in log-log scale, also known as Zipf’s plot, in the right panel. Year 2007. Source: own elaboration. In the equation 4.4., the exponent could be estimated using Ordinary Least Squares (OLS). However, Gabaix & Ioannides (2004) found that the exponent ζestimated by OLS is biased. So I modify the equation 4.4 using the proposal made by Gabaix & Ibragimov (2011), which makes it possible to estimate by OLS, and results not only an unbiased but optimum coefficient. Such modification is as follows: ln rank −1 2=K−ζ ln(x) + ε(4.5) 17
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS for which the authors propose a standard error associated to b ζequal to b ζ(2/n)1/2. Nevertheless, Clauset et al. (2009) claims that there are problems in using OLS to estimate the exponent of a power law distribution. In their work, these authors suggest that there are problems in using OLS in order to estimate the probability density function p(x)∼cx−α, from the logarithmic transformation ln p(x) = c−αln x. Such probability density can be estimated by constructing a histogram of the data, and the resulting function can be adjusted by OLS. Specifically, these authors maintain that there are the following problems:16 1. Errors of OLS regression (εin the equation 4.5) are difficult to estimate because they are based on assumptions that do not apply in this case. 2. An adjustment of a power-law function may represent a large fraction of the variance, and hence high R2cannot be taken as a evidence in favor of power law. 3. Settings obtained by regression methods usually do not meet basic requirements on probability distributions, such as normality. Thus, Clauset et al. (2009), as well as Newman (2005) previously, suggest finding the estimator using Maximum Likelihood Estimation (MLE), both are based on the original work of Hill et al. (1975). In the case of continuous data, one begins with a probability density as specified in the following equation: p(x)dx =P(x≤X < x +dx) = C x−αdx (4.6) where Xis the observed value, Ces a constant, and 2< α < 3. This equation needs a minimum in order to be able to specify whether it has a power law behaviour, since the density diverges when x→0, then the power law does not hold for all x≥0. Introducing that α≥1they reach the following equation: p(x) = α−1 xmin x xmin −α (4.7) And it is from this which is calculated bαusing MLE, which is presented in this equation bα= 1 + n"n X i=1 ln xi xmin #−1 (4.8) 16For more detail on the drawbacks see the Appendix A of Clauset et al. (2009). 18
BACHELOR’S DEGREE IN ECONOMICS for this estimator, the authors propose a standard error associated equal to (bα−1)/√n. Having exposed theoretically two alternatives to estimate the existence of power law, in the next section proceeds to present the results obtained. 4.2 Evidence of power law The results obtained by applying the method proposed by Gabaix & Ibragimov (2011) are shown in Table 3. This exponents have been estimated for different sample sizes (N). The results show that as Nincreases the value of the exponent is smaller. Even for the total sample the exponent is less than 1 for all years. This does not imply the absence of power law, what happens is that this usually requires a minimum from which such behavior in the distribution can be seen (power law behaviour works usually asymptotically). This was mentioned earlier, when I discussed the criticisms made by Clauset et al. (2009) to using OLS for estimating the behavior of the power law distribution. The problem that arises here is that when trying to estimate ζusing OLS there is no optimal procedure to establish the lower bound from which there may be a power law behaviour. A guide may be graphical representation, such as Zipf’s plot, as discussed above in Figure 8, right panel. In this case one can see how from a certain volume of sales there is a truncation point in the distribution. From this point you could set the cutting to calculate regression. However, despite the above mentioned results indicate the existence of power law, since all coefficients are statistically significant at 1%, and are above 1 for limits below one hundred thousand observations. The alternative process proposed by Clauset et al. (2009) is more sophisticated than the previous one, and it provides a greater degree of accuracy. Following the work of these authors it has been calculated an optimal minimum (xmin) from which one can observe a power law behaviour in the distribution.17 That threshold means, for each year, a significant reduction in the number of companies used. The year with which employs the greater number of observations is 1999, with 31%, while 2011 is the year with less observations employed, 11%. As it is shown, bαis closer to a value of two, and it is between two and three, which is the usual range for the power law. 17The results shown in Table 4 were calculated using the package developed for RStudio by Gillespie (2014), who follows the specifications of Clauset et al. (2009). The R code used is shown in Appendix A.2, code 2. 19
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Table 3: Results from Ordinary Least Squares (OLS) method. N refers to the threshold selected, b ζis the scaling parameter estimated by OLS, Se(b ζ)is the standard error associated to the estimated scaling parameter and R2refers to the coefficient of determination. * Significant at 1%. Sources: own elaboration from SABI database. NParameters\Year 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 100 b ζ1.306* 1.292* 1.355* 1.369* 1.387* 1.321* 1.366* 1.393* 1.441* 1.589* 1.560* 1.528* 1.463* 1.470* 1.402* 1.300* Se(b ζ)0.185 0.183 0.192 0.194 0.196 0.187 0.193 0.197 0.204 0.225 0.221 0.216 0.207 0.208 0.198 0.184 R20.954 0.952 0.936 0.936 0.937 0.929 0.938 0.942 0.942 0.970 0.976 0.972 0.967 0.975 0.967 0.966 500 b ζ1.236* 1.268* 1.224* 1.249* 1.267* 1.237* 1.257* 1.278* 1.294* 1.302* 1.259* 1.258* 1.236* 1.232* 1.240* 1.148* Se(b ζ)0.078 0.080 0.077 0.079 0.080 0.078 0.080 0.081 0.082 0.082 0.080 0.080 0.078 0.078 0.078 0.073 R20.990 0.990 0.985 0.985 0.986 0.984 0.986 0.987 0.986 0.986 0.986 0.985 0.986 0.986 0.988 0.988 1000 b ζ1.217* 1.234* 1.191* 1.200* 1.209* 1.200* 1.205* 1.224* 1.229* 1.217* 1.196* 1.188* 1.188* 1.185* 1.178* 1.106* Se(b ζ)0.054 0.055 0.053 0.054 0.054 0.054 0.054 0.055 0.055 0.054 0.053 0.053 0.053 0.053 0.053 0.049 R20.995 0.995 0.992 0.991 0.991 0.991 0.991 0.992 0.991 0.989 0.991 0.990 0.992 0.992 0.992 0.993 10000 b ζ1.089* 1.107* 1.115* 1.134* 1.139* 1.142* 1.146* 1.148* 1.141* 1.106* 1.100* 1.093* 1.087* 1.072* 1.062* 0.995* Se(b ζ)0.015 0.016 0.016 0.016 0.016 0.016 0.016 0.016 0.016 0.016 0.016 0.015 0.015 0.015 0.015 0.014 R20.997 0.997 0.998 0.998 0.998 0.998 0.998 0.998 0.998 0.998 0.998 0.998 0.997 0.997 0.997 0.993 Total b ζ0.903* 0.904* 0.920* 0.935* 0.939* 0.947* 0.957* 0.960* 0.957* 0.938* 0.929* 0.920* 0.898* 0.879* 0.866* 0.858* Se(b ζ)0.010 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.011 R20.949 0.945 0.949 0.949 0.948 0.950 0.954 0.952 0.951 0.952 0.953 0.951 0.944 0.942 0.939 0.940 20
BACHELOR’S DEGREE IN ECONOMICS Furthermore, to ensure that the distribution is power law and not lognormal, a comparison was made between the two distributions. The hypotheses proposed for contrast are as follows: H0: power-law distribution H1: lognormal distribution The p-value presented in the Table 4 shows that the null hypothesis cannot be rejected for any of the time periods considered. Hence we can say that there is a power law behavior in the distributions of each year, with a low probability of error. As an example, Figure 9 shows how power law distribution is adjusted by the process discussed above. One can see how the adjustment is made from the optimum minimum, this is why in most cases it is said that there is a power law behaviour in the upper tail of the distribution. Table 4: Results from Maximum Likelihood Estimation (MLE) method. N indicates the total number of observations, n refers to the number of firms above the threshold, bαis the scaling parameter estimated by MLE, and Se(bα)is the standard error associated to the estimated scaling parameter. The threshold is in E+07. Sources: own elaboration from SABI database. Year N n Threshold bα Se(bα)p-value 1999 16602 5249 1,49 2,102 0,0152 0,32 2000 18291 5579 1,69 2,111 0,0149 0,13 2001 19509 5136 2,03 2,130 0,0158 0,55 2002 20585 5175 2,18 2,141 0,0159 0,21 2003 21214 5048 2,42 2,158 0,0163 0,87 2004 21756 4289 3,03 2,166 0,0178 0,87 2005 22080 4495 3,13 2,166 0,0174 0,92 2006 22467 5070 3,09 2,161 0,0163 0,86 2007 21750 5539 3,05 2,158 0,0156 0,89 2008 20679 5536 2,79 2,108 0,0149 0,80 2009 20696 2625 4,77 2,122 0,0219 0,92 2010 20292 2777 4,65 2,121 0,0213 0,99 2011 19429 2141 5,96 2,141 0,0247 0,86 2012 18589 2793 4,47 2,122 0,0212 0,36 2013 17423 2474 4,81 2,112 0,0224 0,30 2014 11960 3242 2,72 2,076 0,0189 0,41 21
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Gabaix (2011). 6.1 Denitions and methodology Based on equation 5.9 Gabaix defines its granular residual as: Γt= K X i=1 Si,t−1 Yt−1 (gi,t −gt)(6.1) where Kwill be the top 100 companies in Spain. The shock is defined as the difference between gi,t and gt, being gt=Q−1PQ i=1 gi,t and Q=K.19 Finally, gi,t is the productivity growth rate, which is defined as the difference between ln (Si,t/Ei,t)and ln (Si,t−1/Ei,t−1). Where Si,t It represents the amount of sales of the company ien el period of time t, and Ei,t is the number of employees in the company ien el period of time t. Then, gi,t −gtis the estimation of the idiosyncratic shock of firm i. And Γtis a sort of weighted sum of this idiosyncratic shocks. The process for calculating the granular is based on obtaining the amount of sales and number of employees for the top 100 companies for the year t−1, and this has to be subtracted from the companies that were in the top 100 in the year t. Following this procedure, some observations have been lost in some years, since there are companies in the top 100 that do not repeat position from one year to another. Despite this, the number of missing observations is not significant for any of the years under study. In addition, to avoid possible distortions arising from excessively high productivity shocks I have made the winsorizing done by Gabaix (2011). This involves replacing the shocks higher than 20%, whether they are positive or negative. In mathematical terms it would be exposed as T(bεit) = bεit if |bεit| ≤ 20%, and T(bεit) = sign(bεit)·20% if |bεit| ≥ 20%, where bεit =gi,t −gt. In addition, to control shocks by industry I have also calculated the granular residual with industry demeaning, which instead of deducting the average productivity shock of the entire sample, as presented in equation 6.1, only takes into account the industry average productivity shocks. Gabaix shows that this method is a better estimation procedure for idiosyncratic shocks. This is reected in Equation 6.2 through gIit, where Iirefers to the company ibelonging to the industry I. In this work I consider the industry as the sector 19In this case the number of companies used to calculate the average (Q) is the same as the number of companies that are in the top (K). But this does not have to be like this. I have done so to adjust the analysis to the one done by Gabaix. 28
BACHELOR’S DEGREE IN ECONOMICS associated with the SIC code which the company ibelongs to. Γt= K X i=1 Si,t−1 Yt−1gi,t −gIit(6.2) The mean industry shock has been calculated as the average of shocks that companies belonging to a determined sector and inside the top 100 have had. This procedure has been done to avoid distortions, because if all firms belonging to the same sector (in the whole sample) were considered, then there would be distorted results. 6.2 Empirical Granular Residual In order to quantify the granular residual explanatory power I have regressed GDP per capita growth on the granular residual and its lags.20 Moreover, I have regressed TFP growth time serie on the granular residual and its lags.21 ∆GDPt+1 GDPt =β0+β1Γt+β2Γt−1+β2Γt−2+εt+1 (6.3) where β0is a constant and εthe error term.22 ∆TFPt+1 TFPt =γ0+γ1Γt+γ2Γt−1+γ2Γt−2+εt+1 (6.4) where γ0is a constant and εthe error term. The results presented in Table 5 show how the explanatory power of granular residual on GDP growth is 36% taking into account the two lags, and 10% with a single lag. However, considering the adjusted coefficient of determination, which penalizes the inclusion of additional variables, the explanatory power is considerably reduced. As regard to TFP growth regressed on the granular residual, R2is equal to 30%, regardless of whether the regression includes one or two lags. This leads to the conclusion that the inclusion of the second lag is unnecessary, since it does not improve the explanatory power. Moreover, in this regression is important to point out the negative coefficients. 20GDP growth time serie has been obtained from Eurostat database. 21TFP time serie has been obtained from Banco de España web page. 22The number of lags that I have chosen is the same as Gabaix uses. He does not specify at any time the criteria by which he chooses this amount of lags. In this case, the results do not change if one includes more lags. Regression does not increase the explanatory power, and the coefficients do not increase their significance. 29
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Table 5: Granular Residual Coefficients OLS Regression. Standard errors are given in parentheses. Significancy levels are indicated as: *Significant at 10%,**Significant at 5%,***Significant at 1%. Sources: own elaboration from SABI database. GDP GrowthtTFP Growtht (Intercept) 0.0270* 0.0147 0.0006 0.0017 (0,0146) (0,01242) (0,0015) (0,0021) Γt1.0567 2.2675** -0.2464* -0.3204 (1.1780) (0.7413) (0.1137) (0.1776) Γt−1-1.4912* 0.1546 -0.1820* -0.1678* (0.8100) (0.6402) (0.0872) (0.0879) Γt−2-1.6782* -0.1111 (0.8653) (0.1148) N14 13 14 13 R20.1060 0.3636 0.3002 0.3000 R2adj -0.0565 0.1514 0.1730 0.0662 If industry demeaning is applied, results improve in terms of explanatory power, this can be seen in Table 6. Regressing GDP growth on granular residual one can obtain that R2adjusted is greater than in Table 5. Particularly, twice times with the inclusion of one lag and a 20% greater with two lags. Nevertheless, regressing TFP growth on granular residual the explanatory power drops, it is reduced by half in the case of one lag and 7.5% for two lags. Table 6: Granular Residual with industry demeaning coefficients OLS regression. Standard errors are given in parentheses. Sources: own elaboration from SABI database. GDP GrowthtTFP Growtht (Intercept) 0.0232* 0.0126 -0.0009 -0.0011 (0.1153) (0.0092) (0.0015) (0.0019) Γt2.6277 4.7397*** -0.1572 -0.0725 (1.9663) (1.0964) (0.1647) (0.2274) Γt−1-3.3398*** -1.0461 -0.1413 -0.2333 (1.013) (0.0884) (0.3083) (0.2288) Γt−2-2.6055*** 0.1021 (0.5819) (0.2055) N14 13 14 13 R20.2069 0.5633 0.1227 0.075 R2adj 0.0627 0.4178 -0.0368 -0.2333 One possible explanation for the results of the TFP, so different to those presented by Gabaix (2011), is that the structural characteristics of the Spanish economy are quite peculiar. As shown in Section 3, during the period of expansion of the Spanish economy, the TFP decreased while the GDP increased. Indeed, the correlation coefficient between the GDP cycle, Figure 2, and TFP growth, Figure 3, is the -43%. This event is explained by the housing bubble during the expansion phase of the cycle that affected the main 30
BACHELOR’S DEGREE IN ECONOMICS sector of the Spanish economy, construction sector. Besides this, the five most important sectors of the economy, shown in Figure 4, are characterized by low productivity. 6.3 Robustness To conclude this section, I intend to establish a comparison between granular residual explanatory power, oil shocks explanatory power and spread explanatory power. This latter calculated as the difference between 3 month Letras del Tesoro and 10 years Bond.23 Table 7: Granular Residual with industry demeaning, oil shock and spread between short and long term debt coefficients OLS regression. Endogenous variable: GDP Growtht. Standard errors are given in parentheses. Sources: own elaboration from SABI database. 12 3 4 5 6 (Intercept) 0.0232* 0.0126 0.0312* 0.0307* 0.0552*** 0.05208*** (0.1153) (0.0092) (0.0152) (0.0152) (0.0157) (0.0147) Γt2.6277 4.7393*** (1.9663) (-1.964) Γt−1-3.3398*** -1.0461 (1.013) (0.0884) Γt−2-2.6055*** (0.5819) Oilt7.5127e-05 0.0001** (7.5221e-05) (4.6755e-05) Oilt−13.2128e-05 3.0502e-05 (6.3580e-05) (7.8359e-05) Oilt−26.8006e-05 (5.8565e-05) Spreadt-0.0233*** -0.0233*** (0.0055) (0.0047) Spreadt−10.0101 0.0139* (0.0073) (0.0069) Spreadt−2-0.0039 (0.0047) N14 13 14 13 14 13 R20.2069 0.5633 0.1001 0.2285 0.5816 0.5830 R2adj 0.0627 0.4178 -0.0628 -0.0287 0.5055 0.4441 I used the way suggested by Hamilton (2003) to measure oil shocks. This form is based on, from the quarterly series, find the amount that the current oil price exceeds the maximum price reached last year. Then the sum of shocks within each year is done in order to find the annual shock. As shown in Table 7, the granular residual in the Spanish case has a greater explanatory power than oil shocks, and it almost has the same explanatory power than the spread 23Data on short and long term debt come from OCDE database. While data used for calculating oil shocks come from Federal Reserve St. Louis. Furthermore, as prices are in dollars I have switched them to euros, exchange rate has also been obtained from Federal Reserve St. Louis. 31
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS between short and long term debt. Therefore we can say, based on a fairly large sample of firms, that there is sufficient evidence to indicate that the Spanish economy is granular. Finally, note that this analysis could not be performed by gathering all the variables and their lags in the same equation due to the insufficient number of available years. So in principle we do not know how much additional explanatory power we have with the granular residual. 7 Conclusion This work has analyzed how the Spanish economy is granular in the sense of Gabaix (2011), i.e. large Spanish companies, in particular the 100 largest, represent a large GDP fraction and therefore the shocks that may have these companies can be trasnlated to the aggregate. The explanation of why the idiosyncratic shocks do not cancel out in the aggregate, as was stated in the diversification argument, is because the firm’s size distribution does not have thin tails, but fat tails, which makes the law of large numbers does not apply. This leads shocks to decay at the rate ln N, instead of √N, which is the rate resulting from the application of the Central Limit Theorem. Therefore shocks does not disappear so quickly when there is a power-law distribution (fat tails). Using the granular residual as a tool to measure shocks, and regressing GDP on it, it has been found that the explanatory power is high, around 36% and 56%, considering the sector each company belongs to. This explanatory power is near, or it is even superior, to traditional measures of aggregate output variability. However, with regard to the explanatory power of granular on TFP, I have shown that the results are antagonistic to those presented by Gabaix (2011). As I mentioned, the cause of these results can be based on the bubble that suffered the main sector of the Spanish economy during the expansion phase of the cycle, which increased GDP but not the productivity of the Spanish economy. This fact in part explains the limitations of this work, which is conditioned by a fairly limited period of time, where Spain has suffered a phase of large growth and then the worst recession in recent history. But despite the limitations of the work, the granular residual has proved to be a useful tool, and should be considered in subsequent analyses. And therefore it can serve to draw some interesting implications, as most prominent example, this work shows that systemic risk is not an exclusive problem of the financial sector but it can also be present in other sectors as well. As we have seen, a negative shock in a big firm, such as 32
BACHELOR’S DEGREE IN ECONOMICS Mercadona, could significantly affect the Spanish economy. Finally, I would like to suggest a line of future research. This could be based on the simulation of the behavior of the Spanish economy as a whole in the presence of granularity, and how it changes in the aggregate when there are potential idiosyncratic shocks. References Acemoglu, D., Akcigit, U. & Kerr, W. (2015), Networks and the macroeconomy: An empirical exploration, Technical report, National Bureau of Economic Research. Acemoglu, D., Carvalho, V. M., Ozdaglar, A. & Tahbaz-Salehi, A. (2012), `The network origins of aggregate uctuations’, Econometrica 80(5), 1977–2016. Acemoglu, D., Ozdaglar, A. & Tahbaz-Salehi, A. (2013), The network origins of large economic downturns, Technical report, National Bureau of Economic Research. Adamic, L. A. (2000), `Zipf, power-laws, and pareto-a ranking tutorial’, Xerox Palo Alto Research Center, Palo Alto, CA, http://ginger. hpl. hp. com/shl/papers/ranking/ranking. html . Axtell, R. L. (2001), `Zipf distribution of us firm sizes’, Science 293(5536), 1818–1820. Bak, P., Chen, K., Scheinkman, J. & Woodford, M. (1993), `Aggregate uctuations from independent sectoral shocks: self-organized criticality in a model of production and inventory dynamics’, Ricerche Economiche 47(1), 3–30. Blank, S., Buch, C. M. & Neugebauer, K. (2009), `Shocks at large banks and banking sector distress: The banking granular residual’, Journal of Financial Stability 5(4), 353– 373. Carvalho, V. M. & Grassi, B. (2015), Large firm dynamics and the business cycle, Technical report, CEPR Discussion Paper No. DP10587. Clauset, A. (2011), `A brief primer on probability distributions’, Santa Fe Institute. http://tuvalu. santafe. edu/˜ aaronc/courses/7000/csci7000-001_2011_L0. pdf . Clauset, A., Shalizi, C. R. & Newman, M. E. (2009), `Power-law distributions in empirical data’, SIAM review 51(4), 661–703. 33
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS del Rosal, I. (2013), `The granular hypothesis in eu country exports’, Economics Letters 120(3), 433–436. Di Giovanni, J. & Levchenko, A. A. (2012), `Country size, international trade, and aggregate uctuations in granular economies’, Journal of Political Economy 120(6), 1083– 1132. di Giovanni, J., Levchenko, A. A. & Mejean, I. (2014), Granular comovement, Technical report, Centre for Economic Policy Research. Dupor, B. (1999), `Aggregation and irrelevance in multi-sector models’, Journal of Monetary Economics 43(2), 391–409. Durlauf, S. N. (1993), `Nonergodic economic growth’, The Review of Economic Studies 60(2), 349–366. Fernandez-Villaverde, J., Garicano, L. & Santos, T. (2013), Political credit cycles: The case of the euro zone, Technical report, National Bureau of Economic Research. Gabaix, X. (2008), Power laws in economics and finance, Technical report, National Bureau of Economic Research. Gabaix, X. (2009), The granular origins of aggregate uctuations, Technical report, National Bureau of Economic Research. Gabaix, X. (2011), `The granular origins of aggregate uctuations’, Econometrica 79, 733–772. Gabaix, X. & Ibragimov, R. (2011), `Rank- 1/2: a simple way to improve the ols estimation of tail exponents’, Journal of Business & Economic Statistics 29(1), 24–39. Gabaix, X. & Ioannides, Y. M. (2004), `The evolution of city size distributions’, Handbook of regional and urban economics 4, 2341–2378. Ganugi, P., Grossi, L. & Gozzi, G. (2005), `Testing gibrat’s law in italian macro-regions: analysis on a panel of mechanical companies’, Statistical Methods and Applications 14(1), 101–126. Gillespie, C. S. (2014), `Fitting heavy tailed distributions: the powerlaw package’, arXiv preprint arXiv:1407.3492 . Hamilton, J. D. (2003), `What is an oil shock?’, Journal of econometrics 113(2), 363–398. 34
BACHELOR’S DEGREE IN ECONOMICS Hill, B. M. et al. (1975), `A simple general approach to inference about the tail of a distribution’, The annals of statistics 3(5), 1163–1174. Hodrick, R. J. & Prescott, E. C. (1997), `Postwar us business cycles: an empirical investigation’, Journal of Money, credit, and Banking pp. 1–16. Horvath, M. (1998), `Cyclicality and sectoral linkages: Aggregate uctuations from independent sectoral shocks’, Review of Economic Dynamics 1(4), 781–808. Horvath, M. (2000), `Sectoral shocks and aggregate uctuations’, Journal of Monetary Economics 45(1), 69–106. Hospido, L. & Moreno-Galbis, E. (2015), The spanish productivity puzzle in the great recession, Technical report, Banco de España Working Paper. Hulten, C. R. (1978), `Growth accounting with intermediate inputs’, The Review of Economic Studies 45(3), 511–518. Kydland, F. E. & Prescott, E. C. (1982), `Time to build and aggregate uctuations’, Econometrica: Journal of the Econometric Society pp. 1345–1370. Long Jr, J. B. & Plosser, C. I. (1983), `Real business cycles’, The Journal of Political Economy pp. 39–69. Lucas, R. E. (1977), Understanding business cycles, in `Carnegie-Rochester conference series on public policy’, Vol. 5, North-Holland, pp. 7–29. Newman, M. E. (2005), `Power laws, pareto distributions and zipf’s law’, Contemporary physics 46(5), 323–351. Pareto, V. (1896), `Cours d” economie politique reprinted as a volume of oeuvres compl `etes’, Droz, Geneva 1965. Reichstein, T. & Jensen, M. B. (2005), `Firm size and firm growth rate distributions—the case of denmark’, Industrial and Corporate Change 14(6), 1145–1166. Segarra, A. & Teruel, M. (2012), `An appraisal of firm size distribution: Does sample size matter?’, Journal of Economic Behavior & Organization 82(1), 314–328. Stanley, M. H., Buldyrev, S. V., Havlin, S., Mantegna, R. N., Salinger, M. A. & Stanley, H. E. (1995), `Zipf plots and the size distribution of firms’, Economics letters 49(4), 453– 457. 35
IDIOSYNCRATIC VOLATILITY SHOCKS AND AGGREGATE FLUCTUATIONS Summers, L. H. (1986), `Some skeptical observations on real business cycle theory’, Quarterly Review (Fall), 23–27. Wagner, J. (2012), `The german manufacturing sector is a granular economy’, Applied Economics Letters 19(17), 1663–1665. Wooldridge, J. (2015), Introductory econometrics: A modern approach, Nelson Education. Zipf, G. K. (1949), Human behavior and the principle of least effort., Technical report, addison-wesley press. A R codes In this work we have used the R Studio software for calculating all results presented.24 I have chosen this software because it is a open software, allowing access to more tools. In addition, the lower complexity of the code and its intuitive interface make data manipulation and calculation faster and easier. A.1 Power law R code To show evidence that firm’s size distribution is a power law, I have used two approaches, the log-log regression and MLE estimation. The first, log-log regression, is quite simple in terms of code. As one can see in code 1, I have selected a year, in this case, as an example, it is 2007. Then I have ordered all the companies by their volume of sales, in decreasing order. After that I have assigned a number to each firm, this is the new rank variable. Then, as I am following the approach of Gabaix & Ibragimov (2011), to the rank variable I have subtracted 1/2. And finally, with regard to data manipulation, I have selected the variables that will be part of the regression. To make Table 3 I have used different sample sizes, for that it has been necessary to establish a cut off, the purpose of this line 5, which takes the nvariable as cutting. And finally line 7 is the regression. Code 1: log-log Regression 1regresion = spanish_Data %>% filter(year==2007) %>% arrange(desc(Sales)) 24The only exception is Figure 7, where the size distribution of the company is represented. This was made with Stata14. 36
BACHELOR’S DEGREE IN ECONOMICS 2regresion = spanish_Data %>% mutate(Rank=seq(from=1, to=nrow(xj))) %>% mutate(Rank_0=Rank-0.5) %>% select(Name,Sales,Rank) 3 4n=10001 # For instance 5regresion = regresion %>% filter(Rank < n) 6 7lm(log(xj$rank)~log(xj$Operating.revenue)) #log-log Regression MLE estimation is far more complicated, and it requires a package called powerRlaw. Code 2 is used to calculate the results presented in Table 4 and represent Figure 9. I will not comment on the functioning of each line that makes up the function “MLE_estimation", because the creator of this package has many articles where it is explained. What I think is worth to point out is that input function must be a vector, in this case sales in a given year. Code 2: poweRlaw package for MLE estimation 1library(poweRlaw) 2 3MLE_estimation <- function(x,xlabel,ylabel,print=TRUE){ 4m_bl = conpl$new(x) 5est = estimate_xmin(m_bl) 6m_bl$setXmin(est) 7p.plot <- plot(m_bl,main="",ylab="",xlab="",pch=16,col="grey") 8mtext(ylabel, side=2, line=2.4, cex=1.2) 9mtext(xlabel, side=1, line=3.3, cex=1.2) 10 p.plot <- lines(m_bl, col="black", lwd=2) 11 max=max(x) 12 cutoff=round(est$xmin,digit=2) 13 lmd=round(est$pars,digit=2) 14 total=length(x) 15 n=sum(x>=cutoff) 16 print(p.plot) 17 return(p.plot)# Function is configured to show the plot 18 } 19 20 MLE_estimation(Vector,"Sales","P(x)") 37